1UA2NC(1) UNIDATA DECODERS UA2NC(1)
2
3
4
6 ua2nc - decodes Upper Air reports and stores the reports in NetCDF for‐
7 mat.
8
9
11 ua2nc [-v] raob.cdl [datadir] [yyyymm]
12
14 This perl script processes input from STDIN in the WMO format for Upper
15 Air raw data files. The output are files in the yyyymmddhh_perl_ua.nc
16 file format that are bins on a 3 hour interval. The table below desig‐
17 nates the bins:
18
19
20 hours bin hour
21
22 23 0 1 0 Note: hour 23 is put into the next day 0 hour
23
24 2 3 4 3
25
26 5 6 7 6
27
28 8 9 10 9
29
30 11 12 13 12
31
32 14 15 16 15
33
34 17 18 19 18
35
36 20 21 22 21
37
39 0) perl5 Installed on the system.
40
41 1) Latest version of netcdf-perl package is installed.
42
43 2) Requires file raob.cdl for the netcdf utility 'ncgen' to create
44 template NetCDF file.
45
46 3) The ncgen utility is needed, paths are util/ncgen,
47 /usr/local/ldm/util/ncgen or ./ncgen
48
49 4) The station data file snworld.tbl, in etc/snworld.tbl or
50 ./snworld.tbl directory
51
52
54 -v ie 'ua2nc -v raob.cdl' will output the reports in plain text in
55 the uaLog.ddhhmm.nc log file in the datadir, very verbose.
56
57
58 datadir
59 The directory where the decoded files are stored, including the
60 log files and list of current processed reports. The default is
61 the current directory ".".
62
63
64 yyyymm This is the year and month of the reports, the default is the
65 current yyyymm.
66
67
69 Command line:
70 % ua2nc raob.cdl < 96040100_upa.wmo
71
72
73 pqact.conf:
74
75 # upper air perl decoder
76
77 DDS|IDS ^U[ABDEFGHIJKLMPQRSTXZ].... .... ([0-3][0-9])
78 PIPE /usr/local/ldm/decoders/ua2nc
79 etc/raob.cdl
80 data/decoded
81 (1:yyyy)(1:mm)
82
83
85 If you have problems with this program, then you should first examine
86 the decoders email archive for similar problems and how they were
87 solved. The email archive is available via the following World Wide
88 Web URL:
89
90 http://www.unidata.ucar.edu/packages/decoders
91
92 If this does not suffice and your site is a member of the Unidata pro‐
93 gram, then send an inquiry via email -- together will all relevant in‐
94 formation -- to
95
96 support@unidata.ucar.edu
97
98
99
100Printed: 119.6.22 $Date: 2000/07/14 21:48:03 $ UA2NC(1)