<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This is a known bug. You have to use the open command and a full descriptor file. Please see a thread in the archives that ended with this message:&nbsp;<a href="http://gradsusr.org/pipermail/gradsusr/2011-February/012513.html">http://gradsusr.org/pipermail/gradsusr/2011-February/012513.html</a><div>--Jennifer</div><div><br><div><br></div><div><br><div><div><br><div><div>On Aug 31, 2011, at 1:33 PM, Sara A. Rauscher wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi-<br>I am having trouble getting grads to read output from CAM. I am using <br>grads version 2 -<br>Config: v2.0.a9 little-endian readline printim grib2 netcdf hdf4-sds <br>hdf5 opendap-grids,stn geotiff shapefile<br><br>When I open the file with sdfopen, it will not read the variable name. <br>When I do "q file", grads doesn't read the variable name:<br>ga-&gt; q file<br>File 1 :<br> &nbsp;&nbsp;Descriptor: test.nc<br> &nbsp;&nbsp;Binary: test.nc<br> &nbsp;&nbsp;Type = Gridded<br> &nbsp;&nbsp;Xsize = 144 &nbsp;Ysize = 96 &nbsp;Zsize = 1 &nbsp;Tsize = 1 &nbsp;Esize = 1<br> &nbsp;&nbsp;Number of Variables = 1<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 &nbsp;t,y,x &nbsp;Sea level pressure<br><br>I've tried creating DDFs to use xdfopen but this doesn't work either. &nbsp;<br>This is a really simple file (see ncdump below) and I can read it with <br>ncview, NCL, etc.<br>thanks<br>sara<br><br><br>The ncdump of the netcdf file ("test.nc") looks like this<br>netcdf test {<br>dimensions:<br> &nbsp;&nbsp;&nbsp;&nbsp;lat = 96 ;<br> &nbsp;&nbsp;&nbsp;&nbsp;lon = 144 ;<br> &nbsp;&nbsp;&nbsp;&nbsp;time = UNLIMITED ; // (1 currently)<br>variables:<br> &nbsp;&nbsp;&nbsp;&nbsp;double lat(lat) ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lat:long_name = "latitude" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lat:units = "degrees_north" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;double lon(lon) ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lon:long_name = "longitude" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lon:units = "degrees_east" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;double time(time) ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;time:long_name = "time" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;time:units = "days since 0001-07-01 00:00:00" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;time:calendar = "leap" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;time:bounds = "time_bnds" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;float PSL(time, lat, lon) ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PSL:units = "Pa" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PSL:long_name = "Sea level pressure" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PSL:cell_methods = "time: mean" ;<br><br>// global attributes:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:Conventions = "CF-1.0" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:source = "CAM" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:case = "test1" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:title = &nbsp;;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:logname = "rauscher" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:host = "nid04099" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:Version = "$Name$" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:revision_Id = "$Id$" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:initial_file = "/global/homes/r/rauscher/cam_mpas/fv/test.nc" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:topography_file = "bnd_topo" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:history = "Wed Aug 31 10:28:36 2011: ncatted -a <br>calendar,time,o,c,leap test.nc\n",<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Wed Aug 31 10:28:17 2011: ncra -v PSL <br>test1.cam2.h0.0002-01.nc test1.cam2.h0.0002-02.nc <br>test1.cam2.h0.0002-03.nc test1.cam2.h0.0002-04.nc <br>test1.cam2.h0.0002-05.nc test1.cam2.h0.0002-06.nc <br>test1.cam2.h0.0002-07.nc test1.cam2.h0.0002-08.nc <br>test1.cam2.h0.0002-09.nc test1.cam2.h0.0002-10.nc <br>test1.cam2.h0.0002-11.nc test1.cam2.h0.0002-12.nc <br>test1.cam2.h0.0003-01.nc test1.cam2.h0.0003-02.nc <br>test1.cam2.h0.0003-03.nc test1.cam2.h0.0003-04.nc <br>test1.cam2.h0.0003-05.nc test1.cam2.h0.0003-06.nc <br>test1.cam2.h0.0003-07.nc test1.cam2.h0.0003-08.nc <br>test1.cam2.h0.0003-09.nc test1.cam2.h0.0003-10.nc <br>test1.cam2.h0.0003-11.nc test1.cam2.h0.0003-12.nc <br>test1.cam2.h0.0004-01.nc test1.cam2.h0.0004-02.nc <br>test1.cam2.h0.0004-03.nc test1.cam2.h0.0004-04.nc <br>test1.cam2.h0.0004-05.nc test1.cam2.h0.0004-06.nc <br>test1.cam2.h0.0004-07.nc test1.cam2.h0.0004-08.nc <br>test1.cam2.h0.0004-09.nc test1.cam2.h0.0004-10.nc <br>test1.cam2.h0.0004-11.nc test1.cam2.h0.0004-12.nc <br>test1.cam2.h0.0005-01.nc test1.cam2.h0.0005-02.nc <br>test1.cam2.h0.0005-03.nc test1.cam2.h0.0005-04.nc <br>test1.cam2.h0.0005-05.nc test1.cam2.h0.0005-06.nc <br>test1.cam2.h0.0005-07.nc test1.cam2.h0.0005-08.nc <br>test1.cam2.h0.0005-09.nc test1.cam2.h0.0005-10.nc <br>test1.cam2.h0.0005-11.nc test1.cam2.h0.0005-12.nc test.nc" ;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:nco_openmp_thread_number = 1 ;<br>}<br><br><br>-- <br>Sara A. Rauscher<br>(505) 606-0512<br>T-3 Fluid Dynamics<br>MS B216<br>Los Alamos National Lab<br>Los Alamos, NM 87545 USA<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"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><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>jma@cola.iges.org</div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div> </div><br></div></div></div></div></body></html>