<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks, Jim.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I probably will need more details.&nbsp; But, first I&#8217;ll take a stab at a GrADS-like CTL file.&nbsp; I presume xdfopen would be the GrADS command.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Herb
<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"> gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org]
<b>On Behalf Of </b>James T. Potemra<br>
<b>Sent:</b> Tuesday, September 16, 2014 3:45 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] cannot load CO-OPS Great Lake NetCDF datasets<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hi Herb,<br>
<br>
You'll need to generate a data descriptor file for this.&nbsp; Note that this model output<br>
is on a rectilinear grid (lat/lon) and sigma-coordinate (vertical), so even with a
<br>
descriptor file you will need to make some approximations.&nbsp; On the plus side you<br>
should be able to use the template option to get time-series if needed.<br>
<br>
Jim<br>
<br>
Let me know if you need more details.<o:p></o:p></p>
<div>
<p class="MsoNormal">On 9/16/14 9:27 AM, Philbrick, Herb wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">I would like to access CO-OPS Great Lakes Operational Forecast System, GLOFS, datasets using GrADS.<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">I have never worked with netcdf files.&nbsp; <o:p></o:p></p>
<p class="MsoNormal">Nor have I worked with a THREDDS server.<o:p></o:p></p>
<p class="MsoNormal">I often access NOMADS through its OpenDAP server using GrADS on my PC.&nbsp; The GrADS command is like<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">
Sdfopen <a href="http://nomads.ncep.noaa.gov:9090/dods/rap/rap20140915/rap_00z">http://nomads.ncep.noaa.gov:9090/dods/rap/rap20140915/rap_00z</a></span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">I have tried the following in GrADS (grads.exe &#8211; opendap enabled (see the PS))<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sdfopen
<a href="http://opendap.co-ops.nos.noaa.gov/thredds/wms/NOAA/LMOFS/MODELS/201409/glofs.lmofs.fields.nowcast.20140915.t19z.nc">
http://opendap.co-ops.nos.noaa.gov/thredds/wms/NOAA/LMOFS/MODELS/201409/glofs.lmofs.fields.nowcast.20140915.t19z.nc</a></span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">GrADS returns the following message in the GrADS console:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">Scanning self-describing file:&nbsp;
<a href="http://opendap.co-ops.nos.noaa.gov/thredds/dodsC">http://opendap.co-ops.nos.noaa.gov/thredds/dodsC</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">/NOAA/LMOFS/MODELS/201409/glofs.lmofs.fields.nowcast.20140915.t20z.nc</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">nc_open failure:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">No such file or directory</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;"><a href="http://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/LMOFS/MODELS/201409/glofs.lmofs.fields.nowcast.20140915.t19z.nc">http://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/LMOFS/MODELS/201409/glofs.lmofs.fields.nowcast.20140915.t19z.nc</a>
 does not exist or is not a netCDF file.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">Couldn't ingest SDF metadata.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">If this was an HDF-SDS file, try gradshdf.</span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">I downloaded the nc file to my PC c:\grads19\win32\ sub-directory.
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">ga-&gt; sdfopen glofs.lmofs.fields.nowcast.20140915.t19z.nc</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">Scanning self-describing file:&nbsp; glofs.lmofs.fields.nowcast.20140915.t19z.nc</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">SDF file has no discernable X coordinate.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">ga-&gt;</span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">ncdump on the <u>downloaded</u> file DID obtain sensible information for header, variables values, etc.<o:p></o:p></p>
<p class="MsoNormal">The <u>downloaded</u> file can be loaded into Excel using the NetCDF add-in.<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hence, the downloaded file sure seems to be good.<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">The folks at CO-OPS do not use GrADS and could not furnish advice.<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">Can you give me the proper command or settings to use to access LMOFS datasets?<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Thanks in advance,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Herb Philbrick
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">PS
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">I am using Grads19 because, ultimately, I output grib-1 files.&nbsp;
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">ga-&gt; q config</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">Config: v1.9.0-rc1 32-bit little-endian readline sdf/xdf netcdf dap dap-stn lats</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">athena printim</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">Grid Analysis and Display System (GrADS) Version 1.9.0-rc1</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">Copyright (c) 1988-2005 by Brian Doty and IGES</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">Center for Ocean-Land-Atmosphere Studies (COLA)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">Institute for Global Environment and Society (IGES)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">This program is distributed WITHOUT ANY WARRANTY</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">See file COPYRIGHT for more information.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">Built Fri Jan 25 02:30:31 EST 2008 for i686-pc-cygwin</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">This version of GrADS has been configured with the following options:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp; o This is a 32-bit LITTLE ENDIAN machine version.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp; o Command line editing (readline) ENABLED.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp; o CIRES/CDC (<a href="http://www.cdc.noaa.gov">http://www.cdc.noaa.gov</a>) SDF/XDF interface ENABLED.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; Use sdfopen/xdfopen to read NetCDF files.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp; o DTYPE netcdf is ENABLED; DTYPE hdfsds is DISABLED.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp; o OPeNDAP (a.k.a. DODS) gridded data interface ENABLED. (<a href="http://opendap.org">http://opendap.org</a>)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; This version is configured to access gridded data on OPeNDAP servers</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; via the sdfopen or xdfopen commands, or using DTYPE netcdf.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp; o OPeNDAP (a.k.a. DODS) station data interface (gadap) ENABLED.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; This version is configured to access station data on OPeNDAP servers</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; via the open command.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp; o PCMDI (<a href="http://www-pcmdi.llnl.gov">http://www-pcmdi.llnl.gov</a>) LATS interface ENABLED.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; This version is configured to write GRIB and NetCDF files.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp; o DAO (<a href="http://dao.gsfc.nasa.gov">http://dao.gsfc.nasa.gov</a>) Athena Widget GUI ENABLED.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp; o NRL/DAO/PCMDI XA or ImageMagick Image Output DISABLED.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp; o printim command for direct png/gif output ENABLED.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; (via the GD Library --
<a href="http://www.boutell.com/gd">http://www.boutell.com/gd</a>)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">For additional information please consult
<a href="http://grads.iges.org/grads/">http://grads.iges.org/grads/</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">ga-&gt;</span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>gradsusr mailing list<o:p></o:p></pre>
<pre><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><o:p></o:p></pre>
<pre><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>