<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Exactly! With <span style="font-family:arial,sans-serif;font-size:13px">wgrib -V </span>I get this:</div><div class="gmail_default" style="font-family:verdana,sans-serif">
<br></div><div class="gmail_default"><div class="gmail_default"><font face="verdana, sans-serif">Undefined parameter table (center 100-2 table 128), using NCEP-opn</font></div><div class="gmail_default"><font face="verdana, sans-serif">rec 1:0:date 1976010100 TMP kpds5=11 kpds6=100 kpds7=1000 levels=(3,232) grid=255 1000 mb 0-1yr ave: bitmap: 5500 undef</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> TMP=Temp. [K]</font></div><div class="gmail_default"><font face="verdana, sans-serif"> timerange 3 P1 0 P2 1 TimeU 4 nx 110 ny 50 GDS grid 0 num_in_ave 0 missing 0</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> center 100 subcenter 2 process 13 Table 128</font></div><div class="gmail_default"><font face="verdana, sans-serif"> latlon: lat 7.000000 to 11.900000 by 0.100000 nxny 5500</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> long -89.000000 to -78.099000 by 0.100000, (110 x 50) scan 2 mode 128 bdsgrid 1</font></div><div class="gmail_default"><font face="verdana, sans-serif"> min/max data 3.40282e+38 -3.40282e+38 num bits 16 BDS_Ref 3.40282e+38 DecScale 0 BinScale -32766</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">rec 2:778:date 1976010100 TMP kpds5=11 kpds6=100 kpds7=925 levels=(3,157) grid=255 925 mb 0-1yr ave: bitmap: 5500 undef</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> TMP=Temp. [K]</font></div><div class="gmail_default"><font face="verdana, sans-serif"> timerange 3 P1 0 P2 1 TimeU 4 nx 110 ny 50 GDS grid 0 num_in_ave 0 missing 0</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> center 100 subcenter 2 process 13 Table 128</font></div><div class="gmail_default"><font face="verdana, sans-serif"> latlon: lat 7.000000 to 11.900000 by 0.100000 nxny 5500</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> long -89.000000 to -78.099000 by 0.100000, (110 x 50) scan 2 mode 128 bdsgrid 1</font></div><div class="gmail_default"><font face="verdana, sans-serif"> min/max data 3.40282e+38 -3.40282e+38 num bits 16 BDS_Ref 3.40282e+38 DecScale 0 BinScale -32766</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">rec 3:1556:date 1976010100 TMP kpds5=11 kpds6=100 kpds7=850 levels=(3,82) grid=255 850 mb 0-1yr ave: bitmap: 5500 undef</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> TMP=Temp. [K]</font></div><div class="gmail_default"><font face="verdana, sans-serif"> timerange 3 P1 0 P2 1 TimeU 4 nx 110 ny 50 GDS grid 0 num_in_ave 0 missing 0</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> center 100 subcenter 2 process 13 Table 128</font></div><div class="gmail_default"><font face="verdana, sans-serif"> latlon: lat 7.000000 to 11.900000 by 0.100000 nxny 5500</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> long -89.000000 to -78.099000 by 0.100000, (110 x 50) scan 2 mode 128 bdsgrid 1</font></div><div class="gmail_default"><font face="verdana, sans-serif"> min/max data 3.40282e+38 -3.40282e+38 num bits 16 BDS_Ref 3.40282e+38 DecScale 0 BinScale -32766</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">rec 4:2334:date 1976010100 TMP kpds5=11 kpds6=100 kpds7=500 levels=(1,244) grid=255 500 mb 0-1yr ave: bitmap: 5500 undef</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> TMP=Temp. [K]</font></div><div class="gmail_default"><font face="verdana, sans-serif"> timerange 3 P1 0 P2 1 TimeU 4 nx 110 ny 50 GDS grid 0 num_in_ave 0 missing 0</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> center 100 subcenter 2 process 13 Table 128</font></div><div class="gmail_default"><font face="verdana, sans-serif"> latlon: lat 7.000000 to 11.900000 by 0.100000 nxny 5500</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> long -89.000000 to -78.099000 by 0.100000, (110 x 50) scan 2 mode 128 bdsgrid 1</font></div><div class="gmail_default"><font face="verdana, sans-serif"> min/max data 3.40282e+38 -3.40282e+38 num bits 16 BDS_Ref 3.40282e+38 DecScale 0 BinScale -32766</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">rec 5:3112:date 1976010100 TMP kpds5=11 kpds6=100 kpds7=250 levels=(0,250) grid=255 250 mb 0-1yr ave: bitmap: 5500 undef</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> TMP=Temp. [K]</font></div><div class="gmail_default"><font face="verdana, sans-serif"> timerange 3 P1 0 P2 1 TimeU 4 nx 110 ny 50 GDS grid 0 num_in_ave 0 missing 0</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> center 100 subcenter 2 process 13 Table 128</font></div><div class="gmail_default"><font face="verdana, sans-serif"> latlon: lat 7.000000 to 11.900000 by 0.100000 nxny 5500</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> long -89.000000 to -78.099000 by 0.100000, (110 x 50) scan 2 mode 128 bdsgrid 1</font></div><div class="gmail_default"><font face="verdana, sans-serif"> min/max data 3.40282e+38 -3.40282e+38 num bits 16 BDS_Ref 3.40282e+38 DecScale 0 BinScale -32766</font></div>
<div style="font-family:verdana,sans-serif"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/17 Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>So you're doing this then?<br><br></div>'open (control_file).ctl'<br></div>'d temp'<br>
<br></div>And you get the error?<br><br>If so, then there could be an error in the way lats4d wrote the data to the grib file you are using. I've never used lats4d, but I have noticed sometimes with GRIB files if you don't specify the dimensions correctly you can get these problems. What happens if you just do a wgrib -V on the data file?<span class="HOEnZb"><font color="#888888"><br>
<br>Jeff <br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 17, 2013 at 11:44 AM, Estefanía Jiménez <span dir="ltr"><<a href="mailto:estefaniajimenez.r@gmail.com" target="_blank">estefaniajimenez.r@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:verdana,sans-serif">No, I think I don't need a <span style="font-family:arial,sans-serif;font-size:13px">PDEF </span>entry. This is what I get when I open the file:</div>
<div style="font-family:verdana,sans-serif"><br></div><div><div><font face="verdana, sans-serif">LON set to -89 -78.1 </font></div><div>
<font face="verdana, sans-serif">LAT set to 7 11.9 </font></div><div><font face="verdana, sans-serif">LEV set to 1000 1000 </font></div><div><font face="verdana, sans-serif">Time values set: 1976:1:1:0 1976:1:1:0 </font></div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/17 Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>What is the Grads dimension environment when you try to display temp? Also, do you need a PDEF entry in that control file?<span><font color="#888888"><br><br></font></span></div><span><font color="#888888">Jeff<br>
</font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, May 17, 2013 at 11:23 AM, Estefanía Jiménez <span dir="ltr"><<a href="mailto:estefaniajimenez.r@gmail.com" target="_blank">estefaniajimenez.r@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div style="font-family:verdana,sans-serif">Sure! Thanks for answering... here is the .ctl file: </div><div style="font-family:verdana,sans-serif"><br></div><div>
<div><font face="verdana, sans-serif">dset ^media_clima.grb</font></div><div><font face="verdana, sans-serif">title file created by grads using lats4d available from <a href="http://dao.gsfc.nasa.gov/software/grads/lats4d/" target="_blank">http://dao.gsfc.nasa.gov/software/grads/lats4d/</a></font></div>
<div><font face="verdana, sans-serif">undef 1e+20</font></div><div><font face="verdana, sans-serif">dtype grib</font></div><div><font face="verdana, sans-serif">index ^media_clima.gmp</font></div>
<div><font face="verdana, sans-serif">xdef 110 linear -89.000000 0.100000</font></div><div><font face="verdana, sans-serif">ydef 50 linear 7.000000 0.100000</font></div><div>
<font face="verdana, sans-serif">zdef 5 levels</font></div><div><font face="verdana, sans-serif">1000 925 850 500 250</font></div><div><font face="verdana, sans-serif">tdef 1 linear 0Z1jan1976 1yr</font></div>
<div><font face="verdana, sans-serif">vars 1</font></div><div><font face="verdana, sans-serif">temp 5 11,100 ABSOLUTE TEMPERATURE [K]</font></div><div>
<font face="verdana, sans-serif">endvars</font></div><div style="font-family:verdana,sans-serif"><br></div></div><div class="gmail_extra"><div>It is just one value was in the file 'cause is an average. </div>
<div><div>
<br><br><div class="gmail_quote">2013/5/17 Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Generally that means you tried to display a variable that is not defined at a given vertical level or time slice. Did you try to plot a surface variable when your dimension environment is not lev 1000 or z 1? Was this a defined variable?<br>
</div>Give more information.<br><br>Jeff Duda<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Fri, May 17, 2013 at 11:00 AM, Estefanía Jiménez <span dir="ltr"><<a href="mailto:estefaniajimenez.r@gmail.com" target="_blank">estefaniajimenez.r@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div style="font-family:verdana,sans-serif">Hi everyone! I'm getting this when I'm trying to display the temperature: <b><i>Cannot contour grid - all undefined values</i></b>. Does anyone know what the problem is??</div>
<div style="font-family:verdana,sans-serif"><br></div><div style="font-family:verdana,sans-serif">Thank u!</div><span><font color="#888888"><div><br></div>-- <br>
<div dir="ltr"><div>
Met27</div><br></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
</font></span></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><br></div>
</div></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
</div>
</div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><br></div>
</div></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
</div>
</div></div><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>
<br></blockquote></div><br><br clear="all"><div><br></div><br>
</div></div>