[gradsusr] Parsing Out 3-hour APCP from New FV3-GFS

Thomas Robinson ter at hawaii.edu
Fri Jul 5 11:42:19 EDT 2019


Aaron,

I went to
https://nomads.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.20190704/00/ and
searched for gfs.t00z.pgrb2.0p25.grib2, but it did not exist.  Are you sure
you are using the right file name?  There is a gfs.t00z.pgrb2.0p25.anl
<https://nomads.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.20190704/00/gfs.t00z.pgrb2.0p25.anl>
.

-Tom

On Wed, Jul 3, 2019 at 6:42 AM Perry, Aaron (Alumni) <
axp09171 at alumni.northernvermont.edu> wrote:

> I am trying to parse out 3-hour APCP from the new FV3-GFS GRIB2 files from
> https://nomads.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.20190625/00/.
> I am using a bash script to attempt this using the wgrib2 tool.
>
>
> *My Efforts:*
>
>
> ta=0
> count=80
>
> while [ ${ta} -le 240 ]
> do
>
> tb=`expr ${ta} + 3`
>
> wgrib2 gfs.t00z.pgrb2.0p25.grib2 | grep ":APCP:surface:" | grep
> ":${ta}-${tb} hour acc fcst" | wgrib2 -i gfs.t00z.pgrb2.0p25.grib2 -grib
> gfs_apcp_${count}.grib2
>
> count=`expr ${count} + 1`
> ta=`expr ${ta} + 3`
>
> done
>
> cat gfs_apcp_*.grib2 >> gfs_apcp_3hr.grib2
>
> When this code is run, it is as if no parsing out has been done, because
> the new accumulating APCP parameters remain.
>
> Is there something obvious that I'm doing wrong here?
>
> Thank you,
>
>
> *Aaron Perry*
> Meteorologist
> Class of '16
> Northern Vermont University-Lyndon
> (formerly Lyndon State College)
> Boston, Mass.
> Twitter: @AaronPerryWx <https://twitter.com/AaronPerryWx>
> <https://twitter.com/arnpry> <https://twitter.com/AaronPerryWx>
> Email: Aaron.Perry at lyndonstate.edu
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>


-- 
Tom Robinson
 Department of Atmospheric Science Alumnus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190705/88746c7c/attachment.html>


More information about the gradsusr mailing list