<html tabindex="-1" style="-ms-scrollbar-base-color: rgb(0, 0, 0); -ms-scrollbar-face-color: rgb(240, 240, 240); -ms-scrollbar-3dlight-color: rgb(227, 227, 227); -ms-scrollbar-shadow-color: rgb(160, 160, 160); -ms-scrollbar-highlight-color: rgb(255, 255, 255); -ms-scrollbar-darkshadow-color: rgb(105, 105, 105); -ms-scrollbar-arrow-color: rgb(0, 0, 0);">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta http-equiv="X-UA-Compatible" content="IE=10">
<meta name="GENERATOR" content="MSHTML 10.00.9200.16660">
<style id="owaParaStyle" style="display: none;">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body tabindex="0" style="" dir="ltr" aria-label="Message body" fPStyle="1">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: 'Times New Roman', Times, serif; font-size: 12pt; color: #000000; margin: 0">
<p class="owaPara">Thanks Jim....That did work, but I find it odd that on my local system it would not work unless I included the :EOSGRID......</p>
<p class="owaP"></p>
<div style="color: rgb(40, 40, 40);">
<hr tabindex="-1" style="width: 98%; display: inline-block;">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size: 11pt;"><b>From:</b> gradsusr-bounces@gradsusr.org <gradsusr-bounces@gradsusr.org> on behalf of James T. Potemra <jimp@hawaii.edu><br>
<b>Sent:</b> Saturday, August 24, 2013 1:04 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] Issue creating an opendap xdf control file that works for 3-hour MERRA MAI3CPASM.5.2.0</font>
<div> </div>
</div>
<div>Hi Ned:<br>
<br>
It seems like the time variable defined in the file is "TIME" and not "TIME:EOSGRID". I think if<br>
you change the TDEF line to <br>
TDEF TIME 248 linear 00Z01JAN1979 3hr<br>
it should work.<br>
<br>
Jim<br>
<br>
<div class="moz-cite-prefix">On 8/23/13 5:16 AM, Vizy, Edward K wrote:<br>
</div>
<blockquote type="cite"><style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal"><span>Hi All,</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>I’m trying to open the MERRA 3-hourly MAI3CPASM.5.2.0 data using GrADS opendap. I want to open multiple days at once to generate time averages, hence I need to create and use a control file I create to open all of the hdf files in
the MERRA collection that I am interested in using xdfopen.</span></p>
<p class="MsoNormal"><span>I have created the following control file:</span></p>
<p class="MsoNormal"><span>_______________________________________________</span></p>
<p class="MsoNormal"><b><span>dset <a class="moz-txt-link-freetext" href="http://goldsmr3.sci.gsfc.nasa.gov/opendap/MERRA/MAI3CPASM.5.2.0/%y4/%m2/MERRA100.prod.assim.inst3_3d_asm_Cp.%y4%m2%d2.hdf">
http://goldsmr3.sci.gsfc.nasa.gov/opendap/MERRA/MAI3CPASM.5.2.0/%y4/%m2/MERRA100.prod.assim.inst3_3d_asm_Cp.%y4%m2%d2.hdf</a></span></b></p>
<p class="MsoNormal"><b><span>options template</span></b></p>
<p class="MsoNormal"><b><span>TDEF TIME:EOSGRID 248 linear 00Z01JAN1979 3hr</span></b></p>
<p class="MsoNormal"><b><span>_______________________________________________</span></b></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>but when I go to execute it in GrADS I get the following error message:</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><b><span>[MAI3CPASM.5.2.0]$ grads</span></b></p>
<p class="MsoNormal"><b><span> </span></b></p>
<p class="MsoNormal"><b><span>Grid Analysis and Display System (GrADS) Version 2.0.2</span></b></p>
<p class="MsoNormal"><b><span>Copyright (c) 1988-2011 by Brian Doty and the</span></b></p>
<p class="MsoNormal"><b><span>Institute for Global Environment and Society (IGES)</span></b></p>
<p class="MsoNormal"><b><span>GrADS comes with ABSOLUTELY NO WARRANTY</span></b></p>
<p class="MsoNormal"><b><span>See file COPYRIGHT for more information</span></b></p>
<p class="MsoNormal"><b><span> </span></b></p>
<p class="MsoNormal"><b><span>Config: v2.0.2 little-endian readline printim grib2 netcdf hdf4-sds hdf5 opendap-grids,stn geotiff shapefile</span></b></p>
<p class="MsoNormal"><b><span>Issue 'q config' command for more detailed configuration information</span></b></p>
<p class="MsoNormal"><b><span>Landscape mode? ('n' for portrait): y</span></b></p>
<p class="MsoNormal"><b><span>GX Package Initialization: Size = 11 8.5 </span></b></p>
<p class="MsoNormal"><b><span>ga-> xdfopen test.opendap.ctl</span></b></p>
<p class="MsoNormal"><b><span>Scanning Descriptor File: test.opendap.ctl</span></b></p>
<p class="MsoNormal"><b><span>gadsdf: Time dimension TIME:EOSGRID is not an SDF dimension.</span></b></p>
<p class="MsoNormal"><b><span>SDF Descriptor file test.opendap.ctl was not successfully opened & parsed.</span></b><span></span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Having this failure I backtracked and downloaded the MERRA data via FTP to my local machine and created a similar xdf control file to access the data on the local system:</span></p>
<p class="MsoNormal"><b><span>______________________________________________________</span></b></p>
<p class="MsoNormal"><b><span> </span></b></p>
<p class="MsoNormal"><b><span>dset ^./%y4/%m2/MERRA100.prod.assim.inst3_3d_asm_Cp.%y4%m2%d2.hdf</span></b></p>
<p class="MsoNormal"><b><span>options template</span></b></p>
<p class="MsoNormal"><b><span>TDEF TIME:EOSGRID 248 linear 00Z01JAN1979 3hr</span></b></p>
<p class="MsoNormal"><b><span>______________________________________________________</span></b></p>
<p class="MsoNormal"><b><span> </span></b></p>
<p class="MsoNormal"><span>When I run this in GrADS everything works as it should and I can access all the MERRA data. Am I missing something for opendap that I need to include in the xdf control file? Alternatively, has anyone been able to successfully create
a xdf control file to read the 3-hourly data from MERRA via opendap?</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Here is my GrADS build info:</span></p>
<p class="MsoNormal"><span>Config: v2.0.2 little-endian readline printim grib2 netcdf hdf4-sds hdf5 opendap-grids,stn geotiff shapefile</span></p>
<p class="MsoNormal"><span>Grid Analysis and Display System (GrADS) Version 2.0.2</span></p>
<p class="MsoNormal"><span>Copyright (c) 1988-2011 by Brian Doty and the</span></p>
<p class="MsoNormal"><span>Institute for Global Environment and Society (IGES) </span>
</p>
<p class="MsoNormal"><span>This program is distributed WITHOUT ANY WARRANTY </span>
</p>
<p class="MsoNormal"><span>See file COPYRIGHT for more information. </span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Built Thu Nov 8 13:55:26 EST 2012 for x86_64-unknown-linux-gnu</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>This version of GrADS has been configured with the following options:</span></p>
<p class="MsoNormal"><span> o Built on a LITTLE ENDIAN machine</span></p>
<p class="MsoNormal"><span> o Athena Widget GUI DISABLED</span></p>
<p class="MsoNormal"><span> o Command line editing ENABLED </span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://tiswww.case.edu/php/chet/readline/rltop.html">http://tiswww.case.edu/php/chet/readline/rltop.html</a>
</span></p>
<p class="MsoNormal"><span> o printim command for image output ENABLED </span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://www.zlib.net">http://www.zlib.net</a>
</span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a>
</span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://www.libgd.org/Main_Page">http://www.libgd.org/Main_Page</a>
</span></p>
<p class="MsoNormal"><span> o GRIB2 interface ENABLED </span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://www.ijg.org">http://www.ijg.org</a>
</span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://www.ece.uvic.ca/~mdadams/jasper">http://www.ece.uvic.ca/~mdadams/jasper</a>
</span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2">http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2</a>
</span></p>
<p class="MsoNormal"><span> g2clib-1.4.0 </span></p>
<p class="MsoNormal"><span> o NetCDF interface ENABLED </span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://www.unidata.ucar.edu/software/netcdf">http://www.unidata.ucar.edu/software/netcdf</a>
</span></p>
<p class="MsoNormal"><span> netcdf 4.1.2 of Oct 5 2011 11:54:30 $ </span></p>
<p class="MsoNormal"><span> o OPeNDAP gridded data interface ENABLED</span></p>
<p class="MsoNormal"><span> o OPeNDAP station data interface ENABLED</span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://iges.org/grads/gadoc/supplibs.html">
http://iges.org/grads/gadoc/supplibs.html</a> </span></p>
<p class="MsoNormal"><span> libgadap 2.0 </span></p>
<p class="MsoNormal"><span> o HDF4 and HDF5 interfaces ENABLED </span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://hdfgroup.org">http://hdfgroup.org</a>
</span></p>
<p class="MsoNormal"><span> HDF 4.2r3 </span></p>
<p class="MsoNormal"><span> HDF5 1.8.7 </span></p>
<p class="MsoNormal"><span> o GeoTIFF and KML/TIFF output ENABLED</span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://www.libtiff.org">
http://www.libtiff.org</a> </span></p>
<p class="MsoNormal"><span> <a class="moz-txt-link-freetext" href="http://geotiff.osgeo.org">http://geotiff.osgeo.org</a>
</span></p>
<p class="MsoNormal"><span> o KML contour output ENABLED</span></p>
<p class="MsoNormal"><span> o Shapefile interface ENABLED</span></p>
<p class="MsoNormal"><span> <a href="http://shapelib.maptools.org">http://shapelib.maptools.org</a></span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Many thanks,</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Ned </span></p>
<p class="MsoNormal"> </p>
<div style="border-width: medium medium 1.5pt; border-style: none none solid; border-color: currentColor currentColor windowtext; padding: 0in 0in 1pt;">
<p class="MsoNormal" style="padding: 0in; border: currentColor;"><span> </span></p>
</div>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Dr. Edward “Ned” Vizy</span></p>
<p class="MsoNormal"><span>Research Engineer/Scientist Associate V</span></p>
<p class="MsoNormal"><span>Jackson School of Geosciences</span></p>
<p class="MsoNormal"><span>Department of Geological Sciences</span></p>
<p class="MsoNormal"><span>The University of Texas at Austin</span></p>
<p class="MsoNormal"><span>1 University Station C1100</span></p>
<p class="MsoNormal"><span>Austin, Texas 78712</span></p>
<p class="MsoNormal"><span>e-mail: <a href="mailto:ned@jsg.utexas.edu">ned@jsg.utexas.edu</a></span></p>
<p class="MsoNormal"><span>phone: 512-585-1937</span></p>
<div style="border-width: medium medium 1.5pt; border-style: none none solid; border-color: currentColor currentColor windowtext; padding: 0in 0in 1pt;">
<p class="MsoNormal" style="padding: 0in; border: currentColor;"><span> </span></p>
</div>
<p class="MsoNormal"> </p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>