[gradsusr] help with g2grb, please.
Becker, Bernd
bernd.becker at metoffice.gov.uk
Thu Mar 10 04:37:45 EST 2011
Hi,
Ineed some hep with g2grb.
t is a single layer/time/surface/global field.
To writing it to pop.grb, the following error messages occur
and I don't know where tweak next.
ga-> g2grb t pop.grb d=2011030300
dlon=0.75 nx = 481 lon0 = 0
Y is varying Lat = -90 to 90 Y = 1 to 241
dlat=0.75 ny = 241 lat0 = -90
new grads found undef=-999000000.000000
making template file
! wgrib2 $GADDIR/template.grb2 -d 1 -lola 0:481:0.75 -90:241:0.75
pop.grb.template grib
1:0:d=2009080100:var discipline=0 center=255 local_table=1 parmcat=255
parm=255:no_level:-1 missing fcst:
opening fwrite pop.grb.tmp
going to display t
result is Wrote 115921 of 115921 elements to pop.grb.tmp as Sequential
Big_Endian
metadata = 1:0:d=2011030300:
! wgrib2 pop.grb.template -import_ieee pop.grb.tmp -set_metadata
pop.grb.inv -undefine_val -999000000.000000 -grib_out pop.grb
*** FATAL ERROR: set_metadata: bad input 1:0:d=2011030300:
***
1:0
!rm pop.grb.tmp pop.grb.inv pop.grb.template
ga->
Do I need to shave of the "1:0:" from bad input?
Do I need to specify more metadata?
What is the minimum set?
Many thanks,
Bernd.
--
Bernd Becker Climate Impacts Product Development
Met Office Hadley Centre FitzRoy Road Exeter Devon EX1 3PB United
Kingdom
Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
E-mail:bernd.becker at metoffice.gov.uk -
http://www.metoffice.gov.uk/research/our-scientists/seasonal-to-decadal/
bernd-becker
More information about the gradsusr
mailing list