g2ctl fatal error

Pierre Cassar cassar at PILOTBOOK.EU
Fri Jan 2 13:05:24 EST 2009


Hi All and Happy New Year.

I was trying to use gens grib2 data available at:
ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/gens/prod

geavg.t12z.pgrb2af06
geavg.t12z.pgrb2af12
geavg.t12z.pgrb2af18
...

Time ago those file were in grib1 format and I had no problem to deal with them using Grads 1.8:

e.g.
perl grib2ctl.pl geavg.t12z.pgrbaf06 geavg.t12z.pgrbaf06.idx >geavg.t12z.pgrbaf06.ctl
gribmap -i geavg.t12z.pgrbaf06.ctl
etc...

Now if I issue (Windows XP, Vista, Freebsd 6.3, Freebsd 7.0):
perl g2ctl.pl geavg.t12z.pgrbaf06 geavg.t12z.pgrbaf06.idx >geavg.t12z.pgrbaf06.ctl

I only obtain:

*** FATAL ERROR: unknown option -ctl_ens ***

Big problem:
  either geavg.t12z.pgrbaf06 is missing or not a grib file
  or wgrib2 is not on your path or wgrib2 is too old
  or can not write to C:\Users\Cassar\AppData\Local\Temp\g7224.tmp (full disk or permissions).

(On Freebsd only changes the location of tmp dir)

I have these versions:

g2ctl.pl 0.0.4k
wgrib2 v0.1.7.2.oga.1 (on windows)
wgrib2 v0.1.7.1.oga.3 (on freebsd)

and wgrib2 is in my path.

Any ideas, suggestions?

Thank you.

Pierre Cassar.



More information about the gradsusr mailing list