<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Please look at the documentation <a href="http://iges.org/grads/gadoc/SDFdescriptorfile.html">http://iges.org/grads/gadoc/SDFdescriptorfile.html</a>. <div><br><div>1. Your variable declaration should have "vars 2" instead of "vars 1"</div><div>2. Your alias cannot contain any upper case letters (it should be: intTime=>inttime)</div><div><br></div><div>From the ncdump output, the variable Pressure has five coordinate dimensions: </div><div> float Pressure(time, ens, fhour, lat, lon) ;</div><div><br></div><div>This is a bit strange, so try the following full descriptor file (use 'open' instead of 'xdfopen'):</div><div><br></div><div><div>DSET ^pres_msl_latlon_all_20120101_20120101_justm8Dgdh.nc </div><div>dtype netcdf</div><div>TITLE This is a sample USL grid box for Central California</div><div>UNDEF -9.99e8 _FillValue</div><div>XDEF 63 LINEAR 233.0 1.0</div><div>YDEF 29 LINEAR 23.0 1.0</div><div>zdef 1 linear 1 1</div><div>tdef 5 linear 1jan2012 3hr</div><div>edef 11 names 0 1 2 3 4 5 6 7 8 9 10</div><div>VARS 1</div><div>Pressure=>prs 0 0,e,t,y,x Pressure</div><div>ENDVARS</div></div><div><br></div><div>--Jennifer</div><div><br></div><div><br><div><div>On Nov 19, 2012, at 11:17 AM, Justin Arnott - NOAA Federal wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Good Morning,<br><br>I am trying to use GrADS make use of some GEFS re-forecast data that is available in netCDF4 format (attached is one example, which can be accessed from: <a href="http://esrl.noaa.gov/psd/forecasts/reforecast2/download.html">http://esrl.noaa.gov/psd/forecasts/reforecast2/download.html</a>).<br>
<br>Using "sdfopen" I am successfully able to open the file.<br><br>However, only one variable is listed as available in GrADS (called "<b>inttime</b>" see below), even though ncdump indicates there is an additional variable (Pressure), which is what I originally requested from the site. <br>
<br>From GrADS:<br><br><span style="font-family:courier new,monospace">descriptor: pres_msl_latlon_all_20120101_20120101_justm8Dgdh.nc<br> Binary: pres_msl_latlon_all_20120101_20120101_justm8Dgdh.nc<br> Type = Gridded<br>
Xsize = 63 Ysize = 29 Zsize = 1 Tsize = 1 Esize = 11<br> Number of Variables = 1<br> inttime 0 t time as an integer (YYYYMMDDHH)</span><br><br>I have tried to create a data descriptor file and use xdfopen (see below)...but I can't seem to get past the 'inttime' variable. This file works if I remove the Pressure line, but again limits me to viewing the inttime variable...which is simply the date stored as an integer (2012010100). <br>
<br><span style="font-family:courier new,monospace">DSET pres_msl_latlon_all_20120301_20120301_justt-Hd8C.nc<br>TITLE This is a sample USL grid box for Central California<br>UNDEF -9999<br>XDEF lon 63 LINEAR 233.0 1.0<br>
YDEF lat 29 LINEAR 23.0 1.0<br>VARS 1<br>intTime=>intTime 1 99 Pressure<br>Pressure=>Pressure 1 99 Pressure<br>ENDVARS</span><br><br>Does anyone have suggestions on how I might go about getting to the pressure data?<br>
<br>Thanks in advance,<br><br>Justin <br><br>-- <br>Justin Arnott<div>Science and Operations Officer</div><div>National Weather Service</div><div>Gaylord, Michigan <br>---<br><a href="mailto:justin.arnott@noaa.gov" target="_blank">justin.arnott@noaa.gov</a><br>
989-731-3384 x766<br></div><br>
<span><pres_msl_latlon_all_20120101_20120101_justm8Dgdh.nc></span>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="font-size: 12px; "><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>
</div>
<br></div></div></body></html>