<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The variable in the netcdf file is "T" so your variable declaration in t.ddf should be<div>T=&gt;t&nbsp;</div><div>instead of&nbsp;</div><div>t=&gt;t</div><div><br></div><div>--Jennifer</div><div>&nbsp;</div><div><br></div><div><br><div><div>On Feb 8, 2011, at 10:42 AM, Ghan, Steven J wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I am using Grads version 2.0.a7.1 to open a netcdf file with xdfopen:<br><br>ga-&gt; xdfopen t.ddf<br>Scanning Descriptor File: &nbsp;t.ddf<br>gadsdf: SDF file does not have any non-coordinate variables.<br>SDF Descriptor file t.ddf was not successfully opened &amp; parsed.<br><br>Where<br>t.ddf =<br>dset ^mam3_aerocom2.cam2.h0.0001-0005.avg.nc<br>TITLE AeroCom Present Day<br>UNDEF 1.e36<br>OPTIONS 365_day_calendar<br>tdef time 1 linear jan2000 1mo<br>VARS 1<br>t=&gt;t 30 99<br>ENDVARS<br><br>According to ncdump,<br><br>netcdf mam3_aerocom2.cam2.h0.0001-0005.avg {<br>dimensions:<br> &nbsp;&nbsp;&nbsp;lat = 96 ;<br> &nbsp;&nbsp;&nbsp;lon = 144 ;<br> &nbsp;&nbsp;&nbsp;lev = 30 ;<br> &nbsp;&nbsp;&nbsp;time = UNLIMITED ; // (1 currently)<br> &nbsp;&nbsp;&nbsp;double lat(lat) ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lat:long_name = "latitude" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lat:units = "degrees_north" ;<br> &nbsp;&nbsp;&nbsp;double lon(lon) ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lon:long_name = "longitude" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lon:units = "degrees_east" ;<br> &nbsp;&nbsp;&nbsp;double lev(lev) ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lev:long_name = "hybrid level at midpoints (1000*(A+B))" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lev:units = "level" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lev:positive = "down" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lev:standard_name = "atmosphere_hybrid_sigma_pressure_coordinate" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lev:formula_terms = "a: hyam b: hybm p0: P0 ps: PS" ;<br> &nbsp;&nbsp;&nbsp;double time(time) ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;time:long_name = "time" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;time:units = "days since 0000-01-01 00:00:00" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;time:calendar = "noleap" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;time:bounds = "time_bnds" ;<br> &nbsp;&nbsp;&nbsp;float T(time, lev, lat, lon) ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;T:units = "K" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;T:long_name = "Temperature" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;T:cell_methods = "time: mean" ;<br>// global attributes:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:Conventions = "CF-1.0" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:source = "CAM" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:case = "mam3_aerocom2" ;<br>}<br>Interestingly, if I remove the<br>VARS 1<br>t=&gt;t 30 99<br>ENDVARS<br>from t.ddf, I can open the netcdf file, but query tells me<br>ga-&gt; q file<br>File 1 : AeroCom Present Day<br> &nbsp;Descriptor: t.ddf<br> &nbsp;Binary: mam3_aerocom2.cam2.h0.0001-0005.avg.nc<br> &nbsp;Type = Gridded<br> &nbsp;Xsize = 144 &nbsp;Ysize = 96 &nbsp;Zsize = 30 &nbsp;Tsize = 1 &nbsp;Esize = 1<br> &nbsp;Number of Variables = 1<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;30 &nbsp;t,z,y,x &nbsp;Temperature<br><br>The variable name is missing! So grads is unable to get the variable name. And of course I have no way of identifying the variable.<br><br>The curious thing is that I was not having any such trouble until I produced a new batch of model history. &nbsp;I compared the ncdumps from the history that I could read with history that I could not, and found only trivial differences unrelated to variable names.<br><br>Any suggestions out there regarding this puzzler?<br><br>-Steve Ghan<br><br>_________________________________<br>Steven Ghan, PhD.<br>FUNDAMENTAL &amp; COMPUTATIONAL SCIENCES DIRECTORATE<br>Atmospheric Sciences and Global Change Division<br>Pacific Northwest National Laboratory<br>902 Battelle Boulevard<br>P.O. Box 999, MSIN K9-24<br>Richland, WA 99352 USA<br>Tel: 509-372-6169<br>Fax: 509-372-6168<br><a href="mailto:steve.ghan@pnl.gov">steve.ghan@pnl.gov</a><br>http://www.pnl.gov/atmospheric/staff/staff_info.asp?staff_num=5663<br><br><br><br><br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></body></html>