If I remember correctly, there used to be a -e option to gribmap which takes care of some filler bits ECMWF tends to add to their grib records. It won't work without that option.<br><br>BTW, you did use gribmap, did you?<br>
<br>Hope this helps,<br><br> Christian.<br><br><br><br><div class="gmail_quote">On Wed, Mar 19, 2008 at 10:39 AM, Daniele Gandini <<a href="mailto:Daniele.Gandini@arpa.piemonte.it">Daniele.Gandini@arpa.piemonte.it</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Dear GrADS users,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I run GrADS 1.8sl11 on Sun Solaris Blade-1000
5.9</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Last week there was a change in ECMWF monthly
forecast files</font></div>
<div><font face="Arial" size="2">and now I get the message "Entire grid undefined"
when I try</font></div>
<div><font face="Arial" size="2">to display a variable.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Here is an example of wgrib output for an old file
which successfully works:</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">wgrib -V EMEMO1500_20080306_011_032.grb |
more<br>rec 1:0:date 2008030600 Z kpds5=129 kpds6=100 kpds7=500 levels=(1,244)
grid=255<br>500 mb ECext=23 class=operations type=Ensemble means stream=1206
Version=0001 <b>5-11d ave:<br></b> Z=Geopotential [m**2
s**-2]<br> timerange 3 P1 5 P2 11 TimeU 2 nx 62 ny 28 GDS grid 0
num_in_ave 14 missing 0<br> center 98 subcenter 0 process 130 Table 128
scan: WE:NS winds(N/S)<br> latlon: lat 70.500000 to 30.000000 by
1.500000 nxny
1736<br> long -51.000000
to 40.500000 by 1.500000, (62 x 28) scan 0 mode 128 bdsgrid 1<br> min/max
data 49641.9 56994.9 num bits 16 BDS_Ref 49641.9 DecScale 0
BinScale -3</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">And now wgrib output for new troublesome
file:</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">wgrib -V EMEMO1500_20080313_011_032.grb |
more</font></div>
<div><font face="Arial" size="2">rec 1:0:date 2008031300 Z kpds5=129 kpds6=100
kpds7=500 levels=(1,244) grid=255<br>500 mb ECext=30 class=operations
type=Ensemble means stream=ensemble forecasts Version=0001 <b>96-264hr
ave:<br></b> Z=Geopotential [m**2 s**-2]<br> timerange 3 P1 16
P2 44 TimeU 11 nx 62 ny 28 GDS grid 0 num_in_ave 14 missing 0<br>
center 98 subcenter 0 process 131 Table 128 scan: WE:NS winds(N/S)<br>
latlon: lat 70.500000 to 30.000000 by 1.500000 nxny
1736<br> long -51.000000
to 40.500000 by 1.500000, (62 x 28) scan 0 mode 128 bdsgrid 1<br> min/max
data 49871.8 56654.3 num bits 16 BDS_Ref 49871.8 DecScale 0
BinScale -3</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">As you can see, time definition is different, in
hours instead of months.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I create ctl file with grb2ctl.pl:</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">perl $HOME/bin/grib2ctl.pl -verf
EMEMO1500_20080313_011_032.grb EMEMO1500_20080313_011_032.gmp >
EMEMO1500_20080313_011_032.ctl</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">more EMEMO1500_20080313_011_032.ctl</font></div>
<div><font face="Arial" size="2"><br>dset ^EMEMO1500_20080313_011_032.grb<br>index
^EMEMO1500_20080313_011_032.gmp<br>undef 9.999E+20<br>title
EMEMO1500_20080313_011_032.grb<br>* analysis 2008031300 1stforecast 96-264
hr<br>* produced by grib2ctl v0.9.12.5p10<br>dtype grib 255<br>options
yrev<br>ydef 28 linear 30.000000 1.5<br>xdef 62 linear -51.000000
1.500000<br>tdef 4 linear 00Z24mar2008 7dy<br>zdef 2 levels 850 500<br>vars
6<br>t2m 0 167,1,0 ** 2 metre temperature K<br>mslmsl 0
151,1,0 ** Mean sea level pressure Pa<br>probprec 0 228,1,0 **
Pot. evaporation [kg/m^2]<br>probsnow 0 144,1,0 ** Volumetric soil
moisture [fraction]<br>tprs 2 130,100,0 ** Temperature K<br>zprs 2 129,100,0 **
Geopotential (at the surface = orography) m**2 s**-2<br>ENDVARS</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I run GrADS:</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">grads -cl "open
EMEMO1500_20080313_011_032.ctl"</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">ga-> d zprs<br>Cannot contour grid - all
undefined values</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">In attachment you have both files.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Thank you in advance for every
suggestions.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Daniele Gandini</font></div>
<div><font face="Arial" size="2">ARPA Piemonte</font></div>
<div><font face="Arial" size="2">Servizio Meteorologico</font></div>
<div><font face="Arial" size="2">Turin - Italy</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"> </font></div>
<div><br></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div></div>
</blockquote></div><br>