Mike,<br><br> From your ctl file,<br><br>HGT 0,100,400,0,0 0,3,5 ** 4 mb - reserved Geopotential Height [gpm]<br><br>The above line suggests that wgrib2 thinks the field is for a layer "4 mb-reserved"<br>rather than the level "4 mb". If you understand grib2, the second Code Table 4.5 should <br>
be set to 255 (missing) rather than 0 (reserved). Fix the grib files and the problem should<br>go away.<br><br> Wesley<br><br><br><div class="gmail_quote">On Thu, Jan 12, 2012 at 11:32 AM, Frost, Mr. Michael <span dir="ltr"><<a href="mailto:Michael.Frost@nrlmry.navy.mil">Michael.Frost@nrlmry.navy.mil</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi:<br>
<br>
I have a bunch of individual GRIB2 files that I cat together to make one large one. The files in question are geopotential height and different pressure levels. All files are for the same bastime/tau and are for the same domain.<br>
<br>
When I use the <a href="http://grb2ctl.pl" target="_blank">grb2ctl.pl</a> to create the control file, it lists out each of the different levels as basically different parameters. That is, it says I have many one level parameters, instead of 1 parameter with many levels.<br>
<br>
Any idea on where I screwed up?<br>
<br>
Thanks,<br>
Mike Frost<br>
<br>
===<br>
%cat geopht_pre_00*grib2 > test.grib2<br>
%<a href="http://grb2ctl.pl" target="_blank">grb2ctl.pl</a> test.grib2 > test.ctl<br>
===<br>
<br>
===<br>
%more test.ctl<br>
<br>
dset ^test.grib2<br>
index ^test.grib2.idx<br>
undef 9.999E+20<br>
title test.grib2<br>
* produced by g2ctl v0.0.8.4<br>
* command line options: test.grib2<br>
* griddef=1:0:(61 x 61):grid_template=30:winds(N/S): Lambert Conformal: (61 x 61) input WE:SN output WE:SN res 48 Lat1 34.867636 Lon1 229.943856 LoV 235.975998 LatD 60.000000 Latin1 60.000000 Latin2 30.000000 LatSP 0.000000 LonSP 235.975998 North Pol dtype grib2 pdef 61 61 lcc 34.867636 -130.056144 1 1 60.000000 30.000000 -124.024002 18000.000000 18000.000000 xdef 72 linear -131.123443 0.199441029068876 ydef 63 linear 34.867636 0.163636363636364 tdef 1 linear 12Z06jan2012 1mo zdef 1 linear 1 1 vars 30<br>
HGT 0,100,400,0,0 0,3,5 ** 4 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,500,0,0 0,3,5 ** 5 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,700,0,0 0,3,5 ** 7 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,1000,0,0 0,3,5 ** 10 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,2000,0,0 0,3,5 ** 20 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,3000,0,0 0,3,5 ** 30 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,5000,0,0 0,3,5 ** 50 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,7000,0,0 0,3,5 ** 70 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,10000,0,0 0,3,5 ** 100 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,15000,0,0 0,3,5 ** 150 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,20000,0,0 0,3,5 ** 200 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,25000,0,0 0,3,5 ** 250 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,30000,0,0 0,3,5 ** 300 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,35000,0,0 0,3,5 ** 350 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,40000,0,0 0,3,5 ** 400 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,45000,0,0 0,3,5 ** 450 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,50000,0,0 0,3,5 ** 500 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,55000,0,0 0,3,5 ** 550 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,60000,0,0 0,3,5 ** 600 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,65000,0,0 0,3,5 ** 650 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,70000,0,0 0,3,5 ** 700 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,75000,0,0 0,3,5 ** 750 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,80000,0,0 0,3,5 ** 800 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,85000,0,0 0,3,5 ** 850 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,90000,0,0 0,3,5 ** 900 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,92500,0,0 0,3,5 ** 925 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,95000,0,0 0,3,5 ** 950 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,97500,0,0 0,3,5 ** 975 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,100000,0,0 0,3,5 ** 1000 mb - reserved Geopotential Height [gpm]<br>
HGT 0,100,101300,0,0 0,3,5 ** 1013 mb - reserved Geopotential Height [gpm]<br>
ENDVARS<br>
===<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br>