Re: [gembud] Changing grid valid time from YYMMDD/HHMM to YYMMDD/HHMMF000


#! /bin/csh -f
source /home/gempak/NAWIPS/Gemenviron
rehash

cd /ramdisk/grib

foreach line ( "`cat /home/ldm/util/models/grib_files12z.txt`" )

cat $line | dcgrib2 -v 1 -d - YYMMDD/HHFFF.gem

rm -f $line

end

rm -f *.grib2

echo done


ââââââââââââââââââââââ...........

Patrick L. Francis

Director of Research & Development

Aeris Weather



http://aerisweather.com/

http://modelweather.com/





wxprofessor@xxxxxxxxx

http://facebook.com/wxprofessor/




ââââââââââââââââââââââ



..






------ Original Message ------
From: "Mullenax, Robert R. (WFF-820.0)[ORBITAL SCIENCES CORPORATION]" <robert.r.mullenax@xxxxxxxx>
To: "gembud@xxxxxxxxxxxxxxxx" <gembud@xxxxxxxxxxxxxxxx>
Sent: 3/24/2017 10:19:04 AM
Subject: [gembud] Changing grid valid time from YYMMDD/HHMM to YYMMDD/HHMMF000

Hello all,

I have a forecast grid file that has the initial hour with a time of YYMMDD/HH (e.g. 170324/0000). I would like to change that to YYMMDD/HHF000 (e.g. 170324/0000F000). What would be the easiest way to accomplish that in a script?

Thanks,
Robert Mullenax




Please note new email address: robert.r.mullenax@xxxxxxxx
Robert Mullenax
Senior Principal Meteorologist, Orbital ATK/CSBF
1510 E. FM 3224
Palestine, Texas 75802
903-723-8037
robert.r.mullenax@xxxxxxxx
_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are
recorded in the Unidata inquiry tracking system and made publicly
available through the web. Users who post to any of the lists we
maintain are reminded to remove any personal information that they
do not want to be made public.


gembud mailing list
gembud@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/