g2ctl (not making .idx file)
Rafael Mundaray
remm69 at GMAIL.COM
Mon Jun 22 09:22:04 EDT 2009
I have this to make a file named GFSall_TIMES:
fecha=""
fecha=$(date '+%Y%m%d')
pwd
cd /home/rmundaray/Escritorio/SALIDAS_MODELOS/GFS/
mkdir "$fecha"_00Z_GFS
cd "$fecha"_00Z_GFS
cp ../wgrib .
cp ../grib2ctl.pl .
cp ../gribmap .
wget ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs"$fecha"/gfs.t00z.pgrbf00
wget ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs"$fecha"/gfs.t00z.pgrbf03
wget ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs"$fecha"/gfs.t00z.pgrbf06
wget ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs"$fecha"/gfs.t00z.pgrbf09
wget ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs"$fecha"/gfs.t00z.pgrbf12
wget ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs"$fecha"/gfs.t00z.pgrbf15
wget ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs"$fecha"/gfs.t00z.pgrbf18
wget ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs"$fecha"/gfs.t00z.pgrbf21
wget ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs"$fecha"/gfs.t00z.pgrbf24
wget ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs"$fecha"/gfs.t00z.pgrbf72
(Try with this...)
*./grib2ctl.pl -verf gfs.t00z.pgrbf%f2 > GFSall_TIMES_"$fecha".ctl
./gribmap -i GFSall_TIMES_"$fecha".ctl*
--
Ing. Rafael E. Mundaray M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090623/409b4e6d/attachment.html
More information about the gradsusr
mailing list