<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18183" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Success! That was it. A simple error on
my part, of course. I used gradsdap and it worked great. Thanks so
much to Kevin and everyone else who offered useful tips.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Mark</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=klevey@CUSTOMWEATHER.COM href="mailto:klevey@CUSTOMWEATHER.COM">Kevin
M Levey</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=GRADSUSR@LIST.CINECA.IT
href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, May 06, 2009 10:32
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Using GrADS to retrieve
HYCOM data</DIV>
<DIV><BR></DIV>Hi Mark,
<DIV><BR></DIV>
<DIV>Make sure you are using GRADSDODS from the command line and NOT gradsnc
or gradsc (GRads versions < 2) or simply "grads" using version 2</DIV>
<DIV><BR></DIV>
<DIV>Version 1.91: </DIV>
<DIV><BR></DIV>
<DIV>I can open your file using gradsdods as follows:</DIV>
<DIV><BR></DIV>
<DIV>
<DIV>weather:fweather1 ~ > 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 </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): </DIV>
<DIV>GX Package Initialization: Size = 11 8.5 </DIV>
<DIV>ga-> <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-> 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: <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 </DIV>
<DIV>LAT set to -78.64 46.8781 </DIV>
<DIV>LEV set to 0 0 </DIV>
<DIV>Time values set: 2009:5:5:0 2009:5:5:0 </DIV>
<DIV>ga-> </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 > ./grads</DIV>
<DIV><BR></DIV>
<DIV> Welcome to the
OpenGrADS Bundle Distribution</DIV>
<DIV>
--------------------------------------------</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
" ...</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 </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
</usr/local/src/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/udxt>
... ok.</DIV>
<DIV>Landscape mode? ('n' for portrait): </DIV>
<DIV>GX Package Initialization: Size = 11 8.5 </DIV>
<DIV>ga-> 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: <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 </DIV>
<DIV>LAT set to -78.64 46.8781 </DIV>
<DIV>LEV set to 0 0 </DIV>
<DIV>Time values set: 2009:5:5:0 2009:5:5:0 </DIV>
<DIV>E set to 1 1 </DIV>
<DIV>ga-> </DIV>
<DIV><BR></DIV>
<DIV>As you can see, I can open your file just 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. Here's what I get:</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman"
size=3></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>ga->
sdfopen<SPAN class=Apple-converted-space> </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> </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> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Perhaps I
need to work on creating a .ctl file? Any help with that is
appreciated.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman"
size=3></FONT></FONT> </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> </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></FONT> </DIV><FONT face=Arial size=2>
<DIV><BR></DIV></FONT>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message -----</DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND-COLOR: rgb(228,228,228); -webkit-background-clip: initial; -webkit-background-origin: initial"><B>From:</B><SPAN
class=Apple-converted-space> </SPAN><A title=jimp@HAWAII.EDU
href="mailto:jimp@HAWAII.EDU">James T. Potemra</A></DIV>
<DIV style="FONT: 10pt arial"><B>To:</B><SPAN
class=Apple-converted-space> </SPAN><A title=GRADSUSR@LIST.CINECA.IT
href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</A></DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B><SPAN
class=Apple-converted-space> </SPAN>Tuesday, May 05, 2009 5:29
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B><SPAN
class=Apple-converted-space> </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. If you<BR>simply use sdfopen http://...... .nc
(truncate<BR>everythins from the ? to the end) it should work.
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>> Can anyone tell me what I
am doing wrong here? At this point I'm just<BR>> trying to get a
file off of the HYCOM server. I used the server<BR>><SPAN
class=Apple-converted-space> </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> </SPAN>to<BR>> generate the URL
string below, but am obviously missing something<BR>> quite basic (I'm
an inexperienced GrADS user and brand new to<BR>> OPeNDAP). Will I need
to create a custom .ctl file to access and<BR>> display these data or
am I simply using the sdfopen command incorrectly?<BR>><BR>> I am
running GrADS version 2.0.a3. My command and result are
below.<BR>><BR>> ga-> sdfopen<BR>><SPAN
class=Apple-converted-space> </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>><BR>>
Scanning self-describing file:<BR>><SPAN
class=Apple-converted-space> </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>>
gaopnc error: nc_open failed to open file<BR>><SPAN
class=Apple-converted-space> </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>>
read_metadata: gaopnc failed<BR>> gadsdf: Couldn't ingest SDF
metadata.<BR>> ga-><BR>>
Mark<BR>><BR>> ----- Original Message
-----<BR>> *From:* Dan Martin <<A
href="mailto:Dan_Martin@BUOYWEATHER.COM">mailto:Dan_Martin@BUOYWEATHER.COM</A>><BR>>
*To:*<SPAN class=Apple-converted-space> </SPAN><A
href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</A><SPAN
class=Apple-converted-space> </SPAN><<A
href="mailto:GRADSUSR@LIST.CINECA.IT">mailto:GRADSUSR@LIST.CINECA.IT</A>><BR>>
*Sent:* Thursday, April 30, 2009 7:40 PM<BR>>
*Subject:* Re: Using GrADS to retrieve HYCOM
data<BR>><BR>> The full HYCOM data is on a
curvilinear grid that I haven't been<BR>> able
to<BR>> make work in grads. They set up a
linear grid for grads users by<BR>>
cutting<BR>> off pre-gridded section above 48
degrees north.<BR>><BR>> <SPAN
class=Apple-converted-space> </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>><BR>>
The update schedule is a bit irregular and the server is not alway
up,<BR>> but nice data when it is
there.<BR>><BR>> If anyone has the
curvilinear grid version working in grads, any
tips<BR>> would be
nice.<BR>><BR>>
Dan<BR>><BR>> Mark Hess
wrote:<BR>> > Has anyone out there used
GrADS to retrieve and display data<BR>> from
the<BR>> > HYCOM OPeNDAP near real-time data
server<BR>> ><SPAN
class=Apple-converted-space> </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>>
><BR>> > I am hoping to use GrADS to
retrieve mixed layer depth data from<BR>>
this<BR>> > server, but not real clear on
the http/OPeNDAP string I would use to<BR>>
> download the file (whether it be ASCII or binary). If you have
done<BR>> > this and could send a sample
script or command showing the http<BR>> >
line that would be much appreciated.<BR>>
><BR>> >
Thanks,<BR>>
><BR>> >
Mark<BR>>
><BR>></BLOCKQUOTE></DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>