Adding a new GRIB2 dataset that accesses data in the MySQL
database is a multi-step process. You must first access the navigation
parameters of the GRIB2 file, then add these parameters to the ~mcidas/data/grib2NavLookup.txt file,
use the DSSERVE command to add the dataset to your RESOLV.SRV file,
and then stop and restart McIDAS-XCD for your changes to take effect.
Type: GRIB2NAV GRIB2Filename
where GRIB2Filename is the fully qualified path of a valid
GRIB2 file on your system.
Example output is:
Nav parameters for message 66, field 0 are NAM, 6, -4564482, 2089981, 20318, 950000, 250000, 250000 |
NAM-USLCAW20 | NAM | 6 | -4564482 |2089981 | 20318 | 950000 | 250000 | 250000 |
Type: DSSERVE ADD SAMPLE/NAM-USLCAW20 GRIB 1 999999 TYPE=GRID RT=Y
INFO='''DATABASE=mcrtgrib DATAFILE=DESCRIPTOR GRIBTYPE=2''' "NAM
- CONUS/LC; AWIPS 20 km
DATABASE=mcrtgrib defines the database where the meta data is stored.
DATAFILE=DESCRIPTOR indicates that this dataset will contain only the data files that match the descriptor name (in this case, NAM-USLCAW20* files). If you have a different name in column 1 of your ~mcidas/data/grib2NavLookup.txt file, then you can include that name here in place of the word DESCRIPTOR.
GRIBTYPE=2 will only search for GRIB2 data files.