NoSerC | Norwegian Service Centre for Climate Modelling -> Format Conversion Tools -> gribtocdl | |||||||||||||||||||||||
|
NAMEgribtocdl - create netCDF CDL-file from GRIB dataset SYNOPSISgribtocdl [-v] [-g tabfile] [-q qspecs] gribfiles DESCRIPTIONThis program decodes GRIB products and generates to stdout the corresponding CDL code that can be used in gribtonc(1) to convert the GRIB products to netCDF format. The default parameter translation is made according to a definition by UCAR, but the user may supply specific translations in a separate file by the -g tabfile option. OPTIONS
FORMAT OF GRIB TO NETCDF TRANSLATION TABLEThe format of the translation table is as follows: Each line contains
These are all separated by semicolon (";"). To comment a whole line, put any letter or special character (i.e. not a digit) in front of it. Trailing spaces are ignored before each semicolon, but not after. The grib number may have spaces in front. Parameters found in the separate file take presedence over the default parameter table, those not listed in the separate file are unchanged. All parameters will be named with a level suffix in addition to the name assigned in the separate file. EXAMPLEThe command
will decode the products in sst.grib and generate the corresponding CDL code into file sst.cdl. The file my.tab contains a specific conversion table to be used when naming a parameter from GRIB. Later the GRIB file may be converted to netCDF by using gribtocdl:
The file my.tab looks like this: SEE ALSOgribdump(1), gribtonc(1), netcdf(3), udunits(3) DIAGNOSTICSError messages and log messages are written to stderr. |
|||||||||||||||||||||||
Send comments to webmaster |