<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This file needs a PDEF entry, and narropen.gs will do all the work to create a working descriptor file for you. The only thing I would suggest is that you download the file and read it from your local disk instead of using a URL in your DSET entry and doing the I/O via opendap. The I/O for a pdef'd file via opendap is prohibitively slow. It is on my list of things to fix. <div>--Jennifer</div><div><br><div><br><div><div>On Jan 20, 2014, at 1:02 PM, Hoop wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Charles Vanya,<br><br>The NARR data are on a Lambert Conformal Conic grid, not a regular<br>lat-lon grid. The good news is, there's a standard script for<br>opening them. It takes the arguments you give it, writes a<br>Data Descriptor File (DDF) for the NARR data file, and then opens<br>it with the "open" command. The name of the script is "narropen",<br>and, as I said, it's part of the standard suite of scripts. It may<br>be found at:<br><br><a href="ftp://cola.gmu.edu/grads/scripts/narropen.gs">ftp://cola.gmu.edu/grads/scripts/narropen.gs</a><br><br>You can learn how to call it by running it without arguments.<br><br>-Hoop<br><br><blockquote type="cite">Date: Mon, 20 Jan 2014 03:07:34 -0800 (PST)<br></blockquote><blockquote type="cite">From: Charles Vanya <charles.vanya@yahoo.com><br></blockquote><blockquote type="cite">Subject: [gradsusr] How can we write XDEF to open *.nc files?<br></blockquote><blockquote type="cite">To: "gradsusr@gradsusr.org" <gradsusr@gradsusr.org><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Dear All,<br></blockquote><blockquote type="cite">?I am novel with GrADS and recently was doing a case study of a lightning<br></blockquote><blockquote type="cite">that killed 8 people at once and same place. As I was trying to load<br></blockquote><blockquote type="cite">cape.2013.nc and cin.2013.nc I encountered an error that I am failing to<br></blockquote><blockquote type="cite">resolve up to now. The error is shwon below:<br></blockquote><blockquote type="cite">=====================================================<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">ga-> sdfopen c:/Users/CHARLES/Downloads/cape.2013.nc<br></blockquote><blockquote type="cite">Scanning self-describing file:? c:/Users/CHARLES/Downloads/cape.2013.nc<br></blockquote><blockquote type="cite">gadsdf: SDF file has no discernable X coordinate.<br></blockquote><blockquote type="cite">? To open this file with GrADS, use a descriptor file with an XDEF entry.<br></blockquote><blockquote type="cite">? Documentation is at http://iges.org/grads/gadoc/SDFdescriptorfile.html<br></blockquote><blockquote type="cite">ga->?======================================<br></blockquote><blockquote type="cite">Now the question is how can I open such kind of data in Grads. I read<br></blockquote><blockquote type="cite">through the mentioned document but it is not helpful to me. Can any one<br></blockquote><blockquote type="cite">help me with guidance and set of commands to open and read this data?<br></blockquote><blockquote type="cite">the data is accessible from<br></blockquote><blockquote type="cite">http://www.esrl.noaa.gov/psd/thredds/fileServer/Datasets/NARR/monolevel/cin.2013.nc?<br></blockquote><blockquote type="cite">Thanks in advance<br></blockquote><blockquote type="cite">?<br></blockquote><blockquote type="cite">Charles Langton Vanya<br></blockquote><blockquote type="cite">(Principal Meteorologist)<br></blockquote><blockquote type="cite">---------------------------------------------------------------------------------<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Department of Climate Change and Meteorological Services,<br></blockquote><blockquote type="cite">Regional Government Offices-(Next to Immigration Office),<br></blockquote><blockquote type="cite">Box 1808<br></blockquote><blockquote type="cite">Blantyre,Malawi<br></blockquote><blockquote type="cite">---------------------------------------------------------------------------------<br></blockquote><blockquote type="cite">Tel:?? ??? (+ 265) 1 822 014<br></blockquote><blockquote type="cite">Cell: ??? (+265) 888 980 545 / 999 380 545<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Fax:???? (+265) 1 822 215<br></blockquote><blockquote type="cite">----------------------------------------------------------------------------------<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">"Tell me and I'll forget, show me and I may remember; involve me and I will understand"<br></blockquote>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030 <br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br></div></div></body></html>