g2ctl and windows

Burn James j.burn at GEOS.COM
Wed May 27 10:57:37 EDT 2009


Hi

I'm struggling to create a ctl file for a Grib2 file I've downloaded.
Here's part of my (I'm afraid, Windows) batch file.

rem create the inv file
wgrib2 -s H:\temp\multi_1.glo_30m.t00z.grib2 >global.t00z.grib.inv

rem create the ctl file
H:\Grads20\g2ctl.exe -verf H:\temp\multi_1.glo_30m.t00z.grib2
>global.t00z.grib.ctl

next stage is to use gribmap to create the idx file but I can't even get
past the g2ctl stage. My inv file looks fine - something like
1:0:d=2009052700:WIND Wind Speed [m/s]:surface:anl:
2:175642:d=2009052700:WDIR Wind Direction (from which blowing)
[deg]:surface:anl:
3:426839:d=2009052700:UGRD U-Component of Wind [m/s]:surface:anl:
4:600867:d=2009052700:VGRD V-Component of Wind [m/s]:surface:anl:
5:776662:d=2009052700:HTSGW Significant Height of Combined Wind Waves and
Swell [m]:surface:anl:  etc.

However, the ctl file is created as a blank file.  I'm using wgrib2
v0.1.7.8e 2/2009

Any ideas? - I thought I may need -no_profile as its a wave model but it
appears it's something different.

Thanks

James



More information about the gradsusr mailing list