<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">What is the output from 'q config' ?&nbsp;<div><br><div><div><div>On Oct 19, 2009, at 3:49 PM, Hao He wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I put this in my .ctl file as an example:<br><br>set ^MOD06_L2.A2008094.0225.005.2008096042152.hdf<br>title MODIS Level 2 cloud product<br>undef -32768<br>xdef 270 linear 112.856 0.1201260<br>ydef 406 linear 29.1195 0.0525835<br>tdef 1 linear 02:25Z03APR2008 5MN<br>zdef 1 linear 1 1<br>dtype hdfsds<br>vars 3<br>Latitude=&gt;scanlat 0 y,x Geodetic Latitude<br>Longitude=&gt;scanlon 0 y,x Geodetic Longitude<br>Surface_Pressure=&gt;sfcpres 0 y,x Surface Pressure<br>endvars<br><br>But I got this warning:<br><br>Scanning description file: &nbsp;MOD06_L2.A2008094.0225.005.2008096042152.ctl<br>Open Error: &nbsp;Data file type invalid<br> &nbsp;--&gt; The invalid description file record is:<br> &nbsp;--&gt; dtype hdfsds<br><br>I am confused about the data type. Not HDF-SDS?<br><br>Hao<br><br>| &nbsp;Hao He &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>| &nbsp;Graduate Assistant &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>| &nbsp;CSS bldg 4365 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>| &nbsp;Jull Hall lab (301)405-7625 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>| &nbsp;Cellphone &nbsp;&nbsp;&nbsp;&nbsp;(240)672-7912 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>| &nbsp;Department of Atmospheric &amp; Oceanic Science &nbsp;|<br>| &nbsp;University of Maryland &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>| &nbsp;College Park, MD 20742 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br><br>On Mon, 19 Oct 2009, Jennifer Adams wrote:<br><br><blockquote type="cite">I can't allow misinformation to go out to the list uncorrected: GrADS<br></blockquote><blockquote type="cite">can read any HDF file containing gridded fields.<br></blockquote><blockquote type="cite">This particular HDF file contains swath data. It's gridded -- there<br></blockquote><blockquote type="cite">are 406 cells in the along-swath direction, and 270 cells in the<br></blockquote><blockquote type="cite">across-swath direction. GrADS will read this data, but only onto an<br></blockquote><blockquote type="cite">abstract x,y grid. The lat/lon values of each grid point are read in<br></blockquote><blockquote type="cite">as data variables. A full 'dtype hdfsds' descriptor file would include<br></blockquote><blockquote type="cite">the following lines:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">xdef 270 linear 1 1<br></blockquote><blockquote type="cite">ydef 406 linear 1 1<br></blockquote><blockquote type="cite">tdef 1 linear ...<br></blockquote><blockquote type="cite">...<br></blockquote><blockquote type="cite">vars 4<br></blockquote><blockquote type="cite">Latitude=&gt;scanlat 0 &nbsp;y,x &nbsp;Geodetic Latitude<br></blockquote><blockquote type="cite">Longitude=&gt;scanlon 0 y,x Geodetic Longitude<br></blockquote><blockquote type="cite">Scan_Start_Time=&gt;scantime 0 y,x International Atomic Time at Start of<br></blockquote><blockquote type="cite">Scan replicated across the Swath<br></blockquote><blockquote type="cite">Surface_Temperature=&gt;tsfc 0 y,x Surface_Temperature<br></blockquote><blockquote type="cite">endvars<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">You can add more variables, including some that have a Z axis,<br></blockquote><blockquote type="cite">depending on what you'd like to look at in the file. The rest of the<br></blockquote><blockquote type="cite">required descriptor file entries are discussed in the documentation<br></blockquote><blockquote type="cite">page <a href="http://iges.org/grads/gadoc/SDFdescriptorfile.html">http://iges.org/grads/gadoc/SDFdescriptorfile.html</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--Jennifer<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Oct 19, 2009, at 10:49 AM, Yan Libin wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">a ctl is not enough<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Oct 19, 2009, at 10:49 AM, Jayakrishnan PR wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">... we cannot open them through grads by writing a ctl file.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Oct 19, 2009, at 10:26 AM, Hao He wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Hi,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I want to read MODIS HDF file by GrADS. Unfortunately both sdfopen<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">xdfopen do not work for me, so I need to write a complete .ctl file.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">But<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">I am confused after reading the MODIS data set<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(<a href="http://modis-atmos.gsfc.nasa.gov/MOD07_L2/format.html">http://modis-atmos.gsfc.nasa.gov/MOD07_L2/format.html</a>)<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">I am wondering if anyone has experience on it.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks a lot!<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hao<br></blockquote></blockquote></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></div></body></html>