[gradsusr] WPC 2.5km GRIB2 Files
Kevin Levey
klevey at customweather.com
Thu Apr 4 18:32:14 EDT 2019
Hi Aaron,
WPC changed their files recently and I ran into a similar issue with the regular QPF files.
Here is my current CTL file to read in the QPF files: (note the slight differences in the various variable settings)
weather:fweather1 /mnt/modeldata/domModel/WPC/grads_ctl > cat 2019040418_wpc_18_078_20km.ctl
dset /mnt/modeldata/domModel/WPC/18Z/201904/2019040418_wpc_20km_078.grb2
index /mnt/modeldata/domModel/WPC/grads_ctl/2019040418_wpc_18_078_20km.idx
undef 9.999E+20
title /mnt/modeldata/domModel/WPC/18Z/201904/2019040418_wpc_20km_078.grb2
* produced by g2ctl v0.1.1
* command line options: /mnt/modeldata/domModel/WPC/18Z/201904/2019040418_wpc_20km_078.grb2 /mnt/modeldata/domModel/WPC/grads_ctl/2019040418_wpc_18_078_20km.idx
* griddef=1:21:(2145 x 1597):grid_template=30:winds(grid): Lambert Conformal: (2145 x 1597) input WE:SN output WE:SN res 8 Lat1 20.191999 Lon1 238.445999 LoV 265.000000 LatD 25.000000 Latin1 25.000000 Latin2 25.000000 LatSP -90.000000 LonSP 0.000000
dtype grib2
pdef 2145 1597 lccr 20.191999 -121.554001 1 1 25.000000 25.000000 -95 2539.703000 2539.702000
xdef 2966 linear -131.995167 0.0246001009814572
ydef 1598 linear 20.196426 0.0230882
tdef 1 linear 00Z07apr2019 1mo
zdef 1 linear 1 1
vars 1
APCPl1_1 0,1,0,-1 0,1,8,1 ** surface - surface Total Precipitation [kg/m^2]
ENDVARS
Someone was gracious enough in this group to help me fix this issue for my purposes, so hopefully this resolves yours.
Regards,
Kevin M Levey, MSc in Oceans and Atmospheric Sciences (University of Cape Town)
Vice President of Operations
CustomWeather, Inc.
San Francisco, California, USA
"Taking the World by Storm!"
http://www.customweather.com
http://www.myforecast.com
http://www.1stweather.com
cell: 415-794-0411
work: 415-777-3566
email: klevey at customweather.com
> On Mar 1, 2019, at 6:42 AM, Perry, Aaron <Aaron.Perry at lsc.vsc.edu> wrote:
>
> Hi All,
>
> I am working with the WPC's 2.5km Winter Probability GRIB2 files and I'm having trouble generating index files and opening them in GrADS.
>
> Data: ftp://ftp.wpc.ncep.noaa.gov/pwpf/conus_2.5km/2.5kmpwpf_48hr/2.5kmprcntil_48hsnow_50pt_2019030100f048.grb <ftp://ftp.wpc.ncep.noaa.gov/pwpf/conus_2.5km/2.5kmpwpf_48hr/2.5kmprcntil_48hsnow_50pt_2019030100f048.grb>
>
> Control File
>
> dset /home/weather/data/wpc/2.5kmprcntil_48hsnow_50pt_2019030112f048.grb
> index /home/weather/data/wpc/2.5kmprcntil_48hsnow_50pt_2019030112f048.grb.idx
> undef 9.999E+20
> title /home/weather/data/wpc/2.5kmprcntil_48hsnow_50pt_2019030112f048.grb
> * produced by g2ctl v0.1.4
> * command line options: /home/weather/data/wpc/2.5kmprcntil_48hsnow_50pt_2019030112f048.grb
> * griddef=1:21:(2145 x 1377):grid_template=30:winds(grid): Lambert Conformal: (2145 x 1377) input WE:SN output WE:SN res 8 Lat1 20.191999 Lon1 238.445999 LoV 265.000000 LatD 25.000000 Latin1 25.000000 Latin2 25.000000 LatSP -90.000000 LonSP 0.000000
> dtype grib2
> pdef 2145 1377 lccr 20.191999 -121.554001 1 1 25.000000 25.000000 -95 2539.702000 2539.698000
> xdef 2814 linear -130.103416 0.0246000912952455
> ydef 1413 linear 20.196426 0.0230881636363636
> tdef 1 linear 12Z03mar2019 1mo
> zdef 1 linear 1 1
> vars 1
> ASNOW50PCsfc 0,1,0 a50 ** surface acc Total Snowfall [m]
> ENDVARS
>
> GrADS Error
>
> Open Error: Invalid variable record
> --> The invalid description file record is:
> --> ASNOW50PCsfc 0,1,0 a50 ** surface acc Total Snowfall [m]
> The data file was not opened.
>
> What's going on here? This should be rather cut-and-dry.
>
>
> Aaron Perry
> Class of 2016
> Lyndon State College
> Lyndonville, VT 05851
> Twitter: @AaronPerryWx <https://twitter.com/AaronPerryWx> <https://twitter.com/arnpry> <https://twitter.com/AaronPerryWx>
> Email: Aaron.Perry at lyndonstate.edu <http://Aaron.Perry@lyndonstate.edu/>_______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
> http://gradsusr.org/mailman/listinfo/gradsusr <http://gradsusr.org/mailman/listinfo/gradsusr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190404/527afacb/attachment-0001.html>
More information about the gradsusr
mailing list