<br clear="all"><div>_________________________________________________________</div><div>Midhun M E-mail : <a href="mailto:midhun@prl.res.in" target="_blank">midhun@prl.res.in </a><br>
Junior Research Fellow <a href="mailto:midhun.ndr@gmail.com" target="_blank">midhun.ndr@gmail.com</a><br>Geosciences Division Phone : +9179-26314270 <br>Physical Research Laboratory 26314263<br>
Ahmedabad - 380009 Mobile : +919662735356</div><div><font size="1"><font color="#33cc00"></font></font> </div><div><font size="1"><font color="#33cc00">SAVE PAPER -Please do not print this e-mail unless absolutely necessary.</font></font></div>
<font size="1"></font><br>
<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Midhun M</b> <span dir="ltr"><<a href="mailto:midhun.ndr@gmail.com">midhun.ndr@gmail.com</a>></span><br>
Date: 10 March 2012 14:19<br>Subject: Re: [gradsusr] how to open he5 data in grads<br>To: "James E. Johnson" <<a href="mailto:James.Johnson@nasa.gov">James.Johnson@nasa.gov</a>><br><br><br>Thank you for your help. I tried your ctl file in grads-2.0.1 and opengrads-2.0.1.oga. (I have used the executable binary files from their websites) But in both of them I got the following error<br>
<br><u><font size="1">_______________________________________</font></u>_______________________________________<br>
<br>ga-> open tesl3hdo.ctl <br>Scanning description file: tesl3hdo.ctl<br>Open Error: Invalid variable record<br> --> The invalid description file record is: <br>
--> /HDFEOS/GRIDS/NadirGrid/Data~Fields/HDO=>hdo 15 x,y,z<br> The data file was not opened.<br>__________________________________________________________________________<br><br><br>Please help me in this regard<br>
Please explain the procedure of creating ctl file from he5 files.<br><br><br>with regards,<br>midhun<br clear="all"><div>_________________________________________________________</div><div>Midhun M E-mail : <a href="mailto:midhun@prl.res.in" target="_blank">midhun@prl.res.in </a><br>
Junior Research Fellow <a href="mailto:midhun.ndr@gmail.com" target="_blank">midhun.ndr@gmail.com</a><br>Geosciences Division Phone : +9179-26314270 <br>Physical Research Laboratory 26314263<br>
Ahmedabad - 380009, India Mobile : +919662735356</div><div><font size="1"><font color="#33cc00"></font></font> </div><div><font size="1"><font color="#33cc00">SAVE PAPER -Please do not print this e-mail unless absolutely necessary.</font></font></div>
<div class="HOEnZb"><div class="h5">
<font size="1"></font><br>
<br><br><div class="gmail_quote">On 9 March 2012 20:34, James E. Johnson <span dir="ltr"><<a href="mailto:James.Johnson@nasa.gov" target="_blank">James.Johnson@nasa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>On Friday, March 09, 2012 05:25:31 am Midhun M wrote:<br>
> I need to open multiple he5 files in grads. If anybody know how to use<br>
> template option for multiple he5 file please help me.<br>
><br>
> datasets can be obtained at<br>
> <a href="ftp://l4ftl01.larc.nasa.gov/tesl1l2l3/TES/TL3HDOM.002/2004.09.03/TES-Aura_L" target="_blank">ftp://l4ftl01.larc.nasa.gov/tesl1l2l3/TES/TL3HDOM.002/2004.09.03/TES-Aura_L</a><br>
> 3-HDO-M2004m09_F01_07.he5<br>
> <a href="ftp://l4ftl01.larc.nasa.gov/tesl1l2l3/TES/TL3HDOM.002/2004.10.09/TES-Aura_" target="_blank">ftp://l4ftl01.larc.nasa.gov/tesl1l2l3/TES/TL3HDOM.002/2004.10.09/TES-Aura_</a><br>
> L3-HDO-M2004m10_F01_07.he5<br>
> <a href="ftp://l4ftl01.larc.nasa.gov/tesl1l2l3/TES/TL3HDOM.002/2004.11.04/TES-Aura_" target="_blank">ftp://l4ftl01.larc.nasa.gov/tesl1l2l3/TES/TL3HDOM.002/2004.11.04/TES-Aura_</a><br>
> L3-HDO-M2004m11_F01_07.he5<br>
><br>
> regards,<br>
<br>
</div></div>You need to write a GrADS .ctl file to read the data. Here is a .ctl that will<br>
read them:<br>
<br>
---------- tesl3hdo.ctl --------------<br>
DSET ^TES-Aura_L3-HDO-M%y4m%m2_F01_07.he5<br>
OPTIONS template<br>
DTYPE hdf5_grid<br>
TITLE TES L3 Monthly Deuterated Water (HDO) Collection 002 (F01_07)<br>
UNDEF -999.0 _FillValue<br>
XDEF 90 linear -180 4.0<br>
YDEF 83 linear -82 2.0<br>
ZDEF 15 levels 825.402, 681.291, 464.16, 316.227, 215.444, 146.779,<br>
100, 68.1295, 46.4158, 31.6229, 21.5443, 14.678, 10,<br>
6.81291, 4.6416<br>
TDEF 200 linear jul2004 1mo<br>
VARS 10<br>
/HDFEOS/GRIDS/NadirGrid/Data~Fields/HDO=>hdo 15 x,y,z<br>
HDO mixing ratio profile<br>
/HDFEOS/GRIDS/NadirGrid/Data~Fields/HDOStdDeviation=>hdosd 15 x,y,z<br>
HDO mixing ratio profile standard deviation<br>
/HDFEOS/GRIDS/NadirGrid/Data~Fields/HDOMinimum=>hdomn 15 x,y,z<br>
HDO mixing ratio profile minimum<br>
/HDFEOS/GRIDS/NadirGrid/Data~Fields/HDOMaximum=>hdomx 15 x,y,z<br>
HDO mixing ratio profile maximum<br>
/HDFEOS/GRIDS/NadirGrid/Data~Fields/HDODataCount=>hdoct 15 x,y,z<br>
HDO mixing ratio profile number<br>
/HDFEOS/GRIDS/NadirGrid/Data~Fields/TotalColumnDensity=>totden 0 x,y<br>
HDO total column density<br>
/HDFEOS/GRIDS/NadirGrid/Data~Fields/TotColDensStdDeviation=>totdensd 0 y,x<br>
HDO total column density standard deviation<br>
/HDFEOS/GRIDS/NadirGrid/Data~Fields/TotColDensMinimum=>totdenmn 0 y,x<br>
HDO total column density minimum<br>
/HDFEOS/GRIDS/NadirGrid/Data~Fields/TotColDensMaximum=>totdenmx 0 y,x<br>
HDO total column density maximum<br>
/HDFEOS/GRIDS/NadirGrid/Data~Fields/TotColDensDataCount=>totdenct 0 y,x<br>
HDO total column density number<br>
ENDVARS<br>
---------- tesl3hdo.ctl --------------<br>
<br>
start grads (make sure it is version 2.0.a7 or higher for HDF5 support)<br>
$ grads<br>
<br>
Grid Analysis and Display System (GrADS) Version 2.0.0<br>
Copyright (c) 1988-2011 by Brian Doty and the<br>
Institute for Global Environment and Society (IGES)<br>
GrADS comes with ABSOLUTELY NO WARRANTY<br>
See file COPYRIGHT for more information<br>
<br>
Config: v2.0.0 little-endian readline printim grib2 netcdf hdf4-sds hdf5<br>
opendap-grids,stn athena geotiff shapefile<br>
Issue 'q config' command for more detailed configuration information<br>
Landscape mode? ('n' for portrait):<br>
GX Package Initialization: Size = 11 8.5<br>
ga-> open tesl3hdo<br>
Scanning description file: tesl3hdo<br>
Data file TES-Aura_L3-HDO-M%y4m%m2_F01_07.he5 is open as file 1<br>
LON set to 0 360<br>
LAT set to -82 82<br>
LEV set to 825.402 825.402<br>
Time values set: 2004:7:1:0 2004:7:1:0<br>
E set to 1 1<br>
ga-> set lon -180 180<br>
LON set to -180 180<br>
ga-> set time oct2004<br>
Time values set: 2004:10:1:0 2004:10:1:0<br>
ga-> set gxout grfill<br>
ga-> set z 2<br>
LEV set to 681.291 681.291<br>
ga-> d hdo<br>
<br>
you should have a plot of HDO at 681 hPa pressure level.<br>
<br>
------------------------------------------------------------------------------<br>
| James E. Johnson | address: |<br>
| Wyle Information Systems, Inc. | NASA Goddard Space Flight Center |<br>
| e-mail: <a href="mailto:james.johnson@nasa.gov" target="_blank">james.johnson@nasa.gov</a> | Distributed Active Archive Center |<br>
| phone: 301-614-5121 | Code 610.2, Bldg 32, Room S130G |<br>
| fax: 301-614-5268 | Greenbelt, MD 20771 |<br>
------------------------------------------------------------------------------<br>
</blockquote></div><br>
</div></div></div><br>