I have this to make a file named GFSall_TIMES:<br><br>fecha=""<br>fecha=$(date '+%Y%m%d')<br>pwd<br>cd /home/rmundaray/Escritorio/SALIDAS_MODELOS/GFS/<br>mkdir "$fecha"_00Z_GFS<br>cd "$fecha"_00Z_GFS<br>
cp ../wgrib .<br>cp ../grib2ctl.pl .<br>cp ../gribmap .<br>wget <a href="ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs">ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs</a>"$fecha"/gfs.t00z.pgrbf00<br>wget <a href="ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs">ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs</a>"$fecha"/gfs.t00z.pgrbf03<br>
wget <a href="ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs">ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs</a>"$fecha"/gfs.t00z.pgrbf06<br>wget <a href="ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs">ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs</a>"$fecha"/gfs.t00z.pgrbf09<br>
wget <a href="ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs">ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs</a>"$fecha"/gfs.t00z.pgrbf12<br>wget <a href="ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs">ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs</a>"$fecha"/gfs.t00z.pgrbf15<br>
wget <a href="ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs">ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs</a>"$fecha"/gfs.t00z.pgrbf18<br>wget <a href="ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs">ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs</a>"$fecha"/gfs.t00z.pgrbf21<br>
wget <a href="ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs">ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs</a>"$fecha"/gfs.t00z.pgrbf24<br>wget <a href="ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs">ftp://nomad5.ncep.noaa.gov/pub/gfs/gfs</a>"$fecha"/gfs.t00z.pgrbf72<br>
<br>(Try with this...)<br><b>./grib2ctl.pl -verf gfs.t00z.pgrbf%f2 > GFSall_TIMES_"$fecha".ctl<br>./gribmap -i GFSall_TIMES_"$fecha".ctl</b><br>-- <br>Ing. Rafael E. Mundaray M.<br>