[gradsusr] Issue creating an opendap xdf control file that works for 3-hour MERRA MAI3CPASM.5.2.0

James T. Potemra jimp at hawaii.edu
Sat Aug 24 14:04:34 EDT 2013


Hi Ned:

It seems like the time variable defined in the file is "TIME" and not 
"TIME:EOSGRID".  I think if
you change the TDEF line to
TDEF TIME 248 linear 00Z01JAN1979 3hr
it should work.

Jim

On 8/23/13 5:16 AM, Vizy, Edward K wrote:
>
> Hi All,
>
> 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.
>
> I have created the following control file:
>
> _______________________________________________
>
> *dset 
> 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*
>
> *options template*
>
> *TDEF TIME:EOSGRID 248 linear 00Z01JAN1979 3hr*
>
> *_______________________________________________*
>
> but when I go to execute it in GrADS I get the following error message:
>
> *[MAI3CPASM.5.2.0]$ grads*
>
> **
>
> *Grid Analysis and Display System (GrADS) Version 2.0.2*
>
> *Copyright (c) 1988-2011 by Brian Doty and the*
>
> *Institute for Global Environment and Society (IGES)*
>
> *GrADS comes with ABSOLUTELY NO WARRANTY*
>
> *See file COPYRIGHT for more information*
>
> **
>
> *Config: v2.0.2 little-endian readline printim grib2 netcdf hdf4-sds 
> hdf5 opendap-grids,stn geotiff shapefile*
>
> *Issue 'q config' command for more detailed configuration information*
>
> *Landscape mode? ('n' for portrait):  y*
>
> *GX Package Initialization: Size = 11 8.5 *
>
> *ga-> xdfopen test.opendap.ctl*
>
> *Scanning Descriptor File: test.opendap.ctl*
>
> *gadsdf: Time dimension TIME:EOSGRID is not an SDF dimension.*
>
> *SDF Descriptor file test.opendap.ctl was not successfully opened & 
> parsed.*
>
> 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:
>
> *______________________________________________________*
>
> **
>
> *dset ^./%y4/%m2/MERRA100.prod.assim.inst3_3d_asm_Cp.%y4%m2%d2.hdf*
>
> *options template*
>
> *TDEF TIME:EOSGRID 248 linear 00Z01JAN1979 3hr*
>
> *______________________________________________________*
>
> **
>
> 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?
>
> Here is my GrADS build info:
>
> Config: v2.0.2 little-endian readline printim grib2 netcdf hdf4-sds 
> hdf5 opendap-grids,stn geotiff shapefile
>
> Grid Analysis and Display System (GrADS) Version 2.0.2
>
> Copyright (c) 1988-2011 by Brian Doty and the
>
> Institute for Global Environment and Society (IGES)
>
> This program is distributed WITHOUT ANY WARRANTY
>
> See file COPYRIGHT for more information.
>
> Built Thu Nov  8 13:55:26 EST 2012 for x86_64-unknown-linux-gnu
>
> This version of GrADS has been configured with the following options:
>
>   o Built on a LITTLE ENDIAN machine
>
>   o Athena Widget GUI DISABLED
>
>   o Command line editing ENABLED
>
>       http://tiswww.case.edu/php/chet/readline/rltop.html
>
>   o printim command for image output ENABLED
>
>       http://www.zlib.net
>
>       http://www.libpng.org/pub/png/libpng.html
>
>       http://www.libgd.org/Main_Page
>
>   o GRIB2 interface ENABLED
>
>       http://www.ijg.org
>
>       http://www.ece.uvic.ca/~mdadams/jasper
>
>       http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2
>
>       g2clib-1.4.0
>
>   o NetCDF interface ENABLED
>
>       http://www.unidata.ucar.edu/software/netcdf
>
>       netcdf 4.1.2 of Oct  5 2011 11:54:30 $
>
>   o OPeNDAP gridded data interface ENABLED
>
>   o OPeNDAP station data interface ENABLED
>
> http://iges.org/grads/gadoc/supplibs.html
>
>       libgadap 2.0
>
>   o HDF4 and HDF5 interfaces ENABLED
>
>       http://hdfgroup.org
>
>       HDF 4.2r3
>
>       HDF5 1.8.7
>
>   o GeoTIFF and KML/TIFF output ENABLED
>
>       http://www.libtiff.org
>
>       http://geotiff.osgeo.org
>
>   o KML contour output ENABLED
>
>   o Shapefile interface ENABLED
>
> http://shapelib.maptools.org
>
> Many thanks,
>
> Ned
>
> Dr. Edward "Ned" Vizy
>
> Research Engineer/Scientist Associate V
>
> Jackson School of Geosciences
>
> Department of Geological Sciences
>
> The University of Texas at Austin
>
> 1 University Station C1100
>
> Austin, Texas 78712
>
> e-mail: ned at jsg.utexas.edu <mailto:ned at jsg.utexas.edu>
>
> phone: 512-585-1937
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130824/e1e2101c/attachment-0003.html 


More information about the gradsusr mailing list