1SYN2NC(1)                      UNIDATA DECODERS                      SYN2NC(1)
2
3
4

NAME

6       syn2nc - decodes SYN reports and stores the reports in NetCDF format.
7
8

SYNOPSIS

10       syn2nc [-v] syn.cdl [datadir] [yyyymm]
11

DESCRIPTION

13       Translates  the Synoptic Surface Observations to the NetCDF format. The
14       syn.cdl file included in this distribution contains all the meteorolog‐
15       ical  variables  possible  in the reports.  The user has the ability to
16       request only the variables that  has  interest  by  commenting  out  or
17       deleting the others.
18
19

REQUIREMENTS

21       0) perl5 Installed on the system.
22
23       1) Latest version of netcdf-perl package is installed.
24
25       2) Requires file syn.cdl for the netcdf utility 'ncgen' to create
26                 template NetCDF file.
27
28       3) The ncgen utility is needed, paths are util/ncgen,
29                 /usr/local/ldm/util/ncgen or ./ncgen
30
31       4) The station data file systns_upc.tbl, in etc/systns_upc.tbl or
32                 ./systns_upc.tbl directory
33
34

OPTIONS

36       -v     ie  'syn2nc -v syn.cdl' will output the reports in plain text in
37              the synLog.<process Id>.nc log file in the  datadir,  very  ver‐
38              bose.
39
40
41       datadir
42              The  directory where the decoded files are stored, including the
43              log files and list of current processed reports. The default  is
44              the current directory ".".
45
46
47       yyyymm This  is  the  year and month of the reports, the default is the
48              current yyyymm.
49
50

EXAMPLES

52       Command line:
53              % syn2nc syn.cdl < 96040100_syn.wmo
54
55
56       pqact.conf:
57
58
59       #      # Synoptic reports in yyyymmddhh_syn.nc decoded into NetCDF for‐
60              mat DDS|IDS ^SM.... .... ([0-3][0-9])
61                      PIPE    /usr/local/ldm/decoders/syn2nc
62                              etc/syn.cdl
63                              data/decoded
64                              (1:yyyy)(1:mm)
65
66

SUPPORT

68       If  you  have problems with this program, then you should first examine
69       the decoders email archive for  similar  problems  and  how  they  were
70       solved.   The  email  archive is available via the following World Wide
71       Web URL:
72
73              http://www.unidata.ucar.edu/packages/decoders
74
75       If this does not suffice and your site is a member of the Unidata  pro‐
76       gram,  then send an inquiry via email -- together will all relevant in‐
77       formation -- to
78
79              support@unidata.ucar.edu
80
81
82
83Printed: 119.6.22        $Date: 1996/10/23 21:26:00 $                SYN2NC(1)
Impressum