Linking GRIB data files
The ungrib program will try to read GRIB files named GRIBFILE.AAA, GRIBFILE.AAB, …, GRIBFILE.ZZZ. In order to simplify the work of linking the GRIB files to these filenames, a shell script, link_grib.csh, is provided. The link_grib.csh script takes as a command-line argument a list of the GRIB files to be linked. This script will also delete all previously links to data files before attempting to link in any new flies.
For example, if the GRIB data were downloaded to the directory /mmmtmp/mm5rt/data/gfs, the files could be linked with link_grib.csh as in the following commands:
ls /mmmtmp/rt/data/gfs
-rw-r--r-- 1 24008620 Nov 1 08:25 gfs_060816_12_00
-rw-r--r-- 1 27106796 Nov 1 08:28 gfs_060816_12_06
link_grib.csh /mmmtmp/rt/data/gfs/gfs_061101_12
After linking the GRIB files, a listing of the WPS directory should show this files linked as follows:
lrwxrwxrwx 1 39 Nov 1 10:35 GRIBFILE.AAA -> /mmmtmp/rt/data/gfs/gfs_060816_12_00
lrwxrwxrwx 1 39 Nov 1 10:35 GRIBFILE.AAB -> /mmmtmp/rt/data/gfs/gfs_060816_12_06
 |
Do not point to a directory when linking your files. i.e.,
INCORRECT: link_grib.csh /mmmtmp/rt/data/gfs
CORRECT: link_grib.csh /mmmtmp/rt/data/gfs/gfs_06
CORRECT: link_grib.csh /mmmtmp/rt/data/gfs/gfs_060816_12 |
|