g2ctl and windows
Arlindo da Silva
arlindo.dasilva at GMAIL.COM
Wed May 27 21:58:55 EDT 2009
On Wed, May 27, 2009 at 7:57 AM, Burn James <j.burn at geos.com> wrote:
> 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.
>
Which version of grads?
>
> 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.
>
Which version of perl are you using? You stand a better chance of you
having this working by using perl that comes with cygwin. I need to
investigate a long term solution for this problem. I take it is not an
option for you to use grads v2.0, is it?
Arlindo
--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090527/b8ad32d5/attachment.html
More information about the gradsusr
mailing list