<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Mark,<div><br></div><div>Make sure you are using GRADSDODS from the command line and NOT gradsnc or gradsc (GRads versions &lt; 2) or simply "grads" using version 2</div><div><br></div><div>Version 1.91:&nbsp;</div><div><br></div><div>I can open your file using gradsdods as follows:</div><div><br></div><div><div>weather:fweather1 ~ &gt; gradsdods</div><div><br></div><div>Grid Analysis and Display System (GrADS) Version 1.9.0-rc1</div><div>Copyright (c) 1988-2007 by Brian Doty and IGES&nbsp;</div><div>Center for Ocean-Land-Atmosphere Studies (COLA)</div><div>Institute for Global Environment and Society (IGES)</div><div>GrADS comes with ABSOLUTELY NO WARRANTY</div><div>See file COPYRIGHT for more information</div><div><br></div><div>Config: v1.9.0-rc1 32-bit little-endian readline sdf/xdf netcdf dap dap-stn lats athena printim</div><div><br></div><div>Issue 'q config' command for more information.</div><div><br></div><div>Landscape mode? (no for portrait): &nbsp;</div><div>GX Package Initialization: Size = 11 8.5&nbsp;</div><div>ga-&gt; &nbsp;<a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</a></div><div>Unknown command: <a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</a></div><div>ga-&gt; sdfopen <a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</a></div><div>Scanning self-describing file: &nbsp;<a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</a></div><div>SDF file <a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</a> is open as file 1</div><div>LON set to 74.16 434.08&nbsp;</div><div>LAT set to -78.64 46.8781&nbsp;</div><div>LEV set to 0 0&nbsp;</div><div>Time values set: 2009:5:5:0 2009:5:5:0&nbsp;</div><div>ga-&gt;&nbsp;</div><div><br></div><div>Not using gradsdods is a common mistake here.</div><div><br></div><div>Using version 2.0</div><div><br></div><div><div>weather:fweather1 /usr/local/grads2/Contents &gt; ./grads</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Welcome to the OpenGrADS Bundle Distribution</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--------------------------------------------</div><div><br></div><div>For additional information enter "grads --help".</div><div><br></div><div>Starting "/usr/local/src/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads &nbsp; " ...</div><div><br></div><div><br></div><div>Grid Analysis and Display System (GrADS) Version 2.0.a5.oga.4</div><div>Copyright (c) 1988-2008 by Brian Doty and the&nbsp;</div><div>Institute for Global Environment and Society (IGES)</div><div>GrADS comes with ABSOLUTELY NO WARRANTY</div><div>See file COPYRIGHT for more information</div><div><br></div><div>Config: v2.0.a5.oga.4 little-endian readline printim grib2 netcdf hdf4-sds opendap-grids,stn athena geotiff</div><div>Issue 'q config' command for more information.</div><div>Loading User Defined Extensions table &lt;/usr/local/src/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/udxt&gt; ... ok.</div><div>Landscape mode? ('n' for portrait): &nbsp;</div><div>GX Package Initialization: Size = 11 8.5&nbsp;</div><div>ga-&gt; &nbsp;sdfopen &nbsp;<a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</a> &nbsp;&nbsp;</div><div>Scanning self-describing file: &nbsp;<a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</a></div><div>SDF file <a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</a> is open as file 1</div><div>LON set to 74.16 434.08&nbsp;</div><div>LAT set to -78.64 46.8781&nbsp;</div><div>LEV set to 0 0&nbsp;</div><div>Time values set: 2009:5:5:0 2009:5:5:0&nbsp;</div><div>E set to 1 1&nbsp;</div><div>ga-&gt;&nbsp;</div><div><br></div><div>As you can see, I can open your file&nbsp;just&nbsp;fine here too!</div></div><div><br></div><div>Cheers</div><div>Kevin</div></div><div><br><div><div>On May 6, 2009, at 05/06/09 - 8:34 AM, Mark Hess wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="color: rgb(0, 0, 0); "><div bgcolor="#ffffff"><div><font face="Arial" size="2"><font face="Times New Roman" size="3">Think I still must be doing something wrong and/or missing a few important concepts.&nbsp; Here's what I get:</font></font></div><div><font face="Arial" size="2"><font face="Times New Roman" size="3"></font></font>&nbsp;</div><div><font face="Arial" size="2"><font face="Times New Roman" size="3">ga-&gt; sdfopen<span class="Apple-converted-space">&nbsp;</span></font><a href="mhtml:{AFB7F805-B3C0-4E25-B941-0C69528BC204}mid://00009160/!x-usc:http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc"><font face="Times New Roman" size="3">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</font></a><br><font face="Times New Roman" size="3">Scanning self-describing file:<br></font><a href="mhtml:{AFB7F805-B3C0-4E25-B941-0C69528BC204}mid://00009160/!x-usc:http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc"><font face="Times New Roman" size="3">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</font></a><br><font face="Times New Roman" size="3">gaopnc error: nc_open failed to open file<br></font><a href="mhtml:{AFB7F805-B3C0-4E25-B941-0C69528BC204}mid://00009160/!x-usc:http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc"><font face="Times New Roman" size="3">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc</font></a><br><font face="Times New Roman" size="3">read_metadata: gaopnc failed<span class="Apple-converted-space">&nbsp;</span><br>gadsdf: Couldn't ingest SDF metadata.</font></font></div><div><font face="Arial" size="2"><font face="Times New Roman" size="3"></font></font>&nbsp;</div><div><font face="Arial" size="2"><font face="Times New Roman" size="3">Perhaps I need to work on creating a .ctl file?&nbsp; Any help with that is appreciated.</font></font></div><div><font face="Arial" size="2"><font face="Times New Roman" size="3"></font></font>&nbsp;</div><div><font face="Arial" size="2"><font face="Times New Roman" size="3">Thanks,</font></font></div><div><font face="Arial" size="2"><font face="Times New Roman" size="3"></font></font>&nbsp;</div><div><font face="Arial" size="2"><font face="Times New Roman" size="3">Mark</font></font></div><div><font face="Arial" size="2"><font face="Times New Roman" size="3"></font>&nbsp;</font></div><font face="Arial" size="2"><div><br></div></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left-color: rgb(0, 0, 0); border-left-width: 2px; border-left-style: solid; margin-right: 0px; "><div style="font: normal normal normal 10pt/normal arial; ">----- Original Message -----</div><div style="background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(228, 228, 228); font: normal normal normal 10pt/normal arial; background-position: initial initial; "><b>From:</b><span class="Apple-converted-space">&nbsp;</span><a title="jimp@HAWAII.EDU" href="mailto:jimp@HAWAII.EDU">James T. Potemra</a></div><div style="font: normal normal normal 10pt/normal arial; "><b>To:</b><span class="Apple-converted-space">&nbsp;</span><a title="GRADSUSR@LIST.CINECA.IT" href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a></div><div style="font: normal normal normal 10pt/normal arial; "><b>Sent:</b><span class="Apple-converted-space">&nbsp;</span>Tuesday, May 05, 2009 5:29 PM</div><div style="font: normal normal normal 10pt/normal arial; "><b>Subject:</b><span class="Apple-converted-space">&nbsp;</span>Re: Using GrADS to retrieve HYCOM data</div><div><br></div>Hi Mark:<br><br>Your variable constraints look more like Matlab syntax to me.&nbsp; If you<br>simply use sdfopen http://...... .nc (truncate<br>everythins from the ? to the end) it should work.&nbsp; You'll then have<br>access to the entire data file and can just<br>'set x 1500 2300', 'set y 1750 2169', and so on, then 'd mld'<br><br>Jim<br><br>Mark Hess wrote:<br>&gt; Can anyone tell me what I am doing wrong here?&nbsp; At this point I'm just<br>&gt; trying to get a file off of the HYCOM server.&nbsp; I used the server<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc.html">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc.html</a><span class="Apple-converted-space">&nbsp;</span>to<br>&gt; generate the URL string below, but am obviously missing something<br>&gt; quite basic (I'm an inexperienced GrADS user and brand new to<br>&gt; OPeNDAP). Will I need to create a custom .ctl file to access and<br>&gt; display these data or am I simply using the sdfopen command incorrectly?<br>&gt;<br>&gt; I am running GrADS version 2.0.a3.&nbsp; My command and result are below.<br>&gt;<br>&gt; ga-&gt; sdfopen<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc?mld[0:1:0][1750:1:2169][1500:1:2300">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc?mld[0:1:0][1750:1:2169][1500:1:2300</a>]<br>&gt;<br>&gt; Scanning self-describing file:<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc?mld[0:1:0][1750:1:2169][1500:1:2300">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc?mld[0:1:0][1750:1:2169][1500:1:2300</a>]<br>&gt; gaopnc error: nc_open failed to open file<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc?mld[0:1:0][1750:1:2169][1500:1:2300">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/2d/rarchv.2009_125_00_2d.nc?mld[0:1:0][1750:1:2169][1500:1:2300</a>]<br>&gt; read_metadata: gaopnc failed<br>&gt; gadsdf: Couldn't ingest SDF metadata.<br>&gt; ga-&gt;<br>&gt; Mark<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ----- Original Message -----<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *From:* Dan Martin &lt;<a href="mailto:Dan_Martin@BUOYWEATHER.COM">mailto:Dan_Martin@BUOYWEATHER.COM</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *To:*<span class="Apple-converted-space">&nbsp;</span><a href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a><span class="Apple-converted-space">&nbsp;</span>&lt;<a href="mailto:GRADSUSR@LIST.CINECA.IT">mailto:GRADSUSR@LIST.CINECA.IT</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *Sent:* Thursday, April 30, 2009 7:40 PM<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *Subject:* Re: Using GrADS to retrieve HYCOM data<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; The full HYCOM data is on a curvilinear grid that I haven't been<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; able to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; make work in grads. They set up a linear grid for grads users by<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; cutting<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; off pre-gridded section above 48 degrees north.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span><a href="http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/">http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/</a><br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; The update schedule is a bit irregular and the server is not alway up,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; but nice data when it is there.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; If anyone has the curvilinear grid version working in grads, any tips<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; would be nice.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Dan<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Mark Hess wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Has anyone out there used GrADS to retrieve and display data<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; from the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; HYCOM OPeNDAP near real-time data server<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://hycom.coaps.fsu.edu/thredds/dodsC/glb_nrt_analysis.html">http://hycom.coaps.fsu.edu/thredds/dodsC/glb_nrt_analysis.html</a>?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I am hoping to use GrADS to retrieve mixed layer depth data from<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; this<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; server, but not real clear on the http/OPeNDAP string I would use to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; download the file (whether it be ASCII or binary).&nbsp; If you have done<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; this and could send a sample script or command showing the http<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; line that would be much appreciated.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Thanks,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Mark<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;</blockquote></div></span></blockquote></div><br></div></body></html>