<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt">Thanks to Jennifer and Hoop for providing such kind of assistance.<br>&nbsp;I have downloaded&nbsp; the data file and I am using Grads on windows,now my next question is "How can I run this script when I am unable to open the file in Grads?". <br><div><span>I know&nbsp; how to run some *.gs scripts where the scripts bears the path to the file you want to run. In this case I have several files in the smae folder but I just want one file called cape.2013.nc. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Should I&nbsp; to put the script in the same folder as data?</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px;
 font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">I want some direction on what do I need to do say."How do I link this file and the script?"<br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Thanks all<br></span></div><div>&nbsp;</div><div><span style="font-family:garamond, new york, times, serif;"><span style="font-size:16px;"><span style="font-weight:bold;"><span style="font-family:arial, helvetica, sans-serif;"><span style="font-size:16px;">Charles Langton Vanya</span></span></span><br><span style="font-size:16px;"><span style="font-family:bookman old style, new york, times, serif;"><span style="font-style:italic;">(Principal
 Meteorologist)</span></span></span><br>---------------------------------------------------------------------------------<br></span></span></div><div style="color:rgb(0, 0, 0);background-color:transparent;font-style:normal;"><span style="font-family:tahoma, new york, times, serif;"><span style="font-size:16px;">Department of Climate Change and Meteorological Services,</span></span></div><div style="color:rgb(0, 0, 0);background-color:transparent;font-style:normal;"><span style="font-family:tahoma, new york, times, serif;"><span style="font-size:16px;">Regional Government Offices-(Next to Immigration Office),</span></span></div><div style="color:rgb(0, 0, 0);background-color:transparent;font-style:normal;"><span style="font-family:tahoma, new york, times, serif;"><span style="font-size:medium;">Box 1808</span></span></div><div style="color:rgb(0, 0, 0);background-color:transparent;font-style:normal;"><span style="font-family:tahoma, new york, times,
 serif;"><span style="font-size:medium;">Blantyre,</span></span><span style="font-family:garamond, new york, times, serif;"><span style="font-size:16px;"><span style="font-family:tahoma, new york, times, serif;"><span style="font-size:medium;"> Malawi</span></span><br></span></span><span style="background-color:rgb(255, 255, 255);"><span style="font-family:garamond, new york, times, serif;"><span style="font-size:16px;">---------------------------------------------------------------------------------</span></span></span></div><div style="color:rgb(0, 0, 0);font-style:normal;"><span style="background-color:rgb(255, 255, 255);"><span style="font-size:16px;"><span style="font-family:garamond, new york, times, serif;">Tel:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (+ 265) 1 822 014</span></span></span></div><div style="color:rgb(0, 0, 0);font-style:normal;"><span style="background-color:rgb(255, 255, 255);"><span style="font-size:medium;"><span
 style="font-family:garamond, new york, times, serif;">Cell: &nbsp;&nbsp;&nbsp; (+265) 888 980 545 / 999 380 545<br></span></span></span></div><div style="color:rgb(0, 0, 0);font-style:normal;"><span style="background-color:rgb(255, 255, 255);"><span style="font-size:medium;"><span style="font-family:garamond, new york, times, serif;">Fax:&nbsp;&nbsp;&nbsp;&nbsp; (+265) 1 822 215</span></span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:garamond, new york, times, serif;background-color:transparent;font-style:normal;"><span style="background-color:rgb(255, 255, 255);"><font size="4"><span style="font-family:garamond, new york, times, serif;"><span style="font-size:16px;">----------------------------------------------------------------------------------</span></span><font size="3"><span style="font-family:Courier New, courier, monaco, monospace, sans-serif;"><br></span></font></font></span></div><div style="color:rgb(0, 0,
 0);font-size:16px;font-family:garamond, new york, times, serif;font-style:normal;"><span style="background-color:rgb(255, 255, 255);"><span style="background-color:rgb(0, 0, 191);"><span style="color:rgb(255, 255, 255);"><font size="4"><font size="3"><span style="font-family:Courier New, courier, monaco, monospace, sans-serif;">"Tell me and I'll forget, show me and I may remember; involve me and I will understand"</span></font></font></span></span></span><br></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Monday, January 20, 2014 8:35 PM, Jennifer Adams &lt;jma@cola.iges.org&gt; wrote:<br> </font> </div>  <div class="y_msg_container"><div
 id="yiv0776587352"><div>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.&nbsp;<div>--Jennifer</div><div><br clear="none"><div><br clear="none"><div><div class="yiv0776587352yqt0933783406" id="yiv0776587352yqtfd46067"><div>On Jan 20, 2014, at 1:02 PM, Hoop wrote:</div><br class="yiv0776587352Apple-interchange-newline" clear="none"></div><blockquote type="cite"><div><div class="yiv0776587352yqt0933783406" id="yiv0776587352yqtfd36370">Charles Vanya,<br clear="none"><br clear="none">The NARR data are on a Lambert Conformal Conic grid, not a regular<br clear="none">lat-lon grid. &nbsp;The good news is, there's a standard script for<br
 clear="none">opening them. &nbsp;It takes the arguments you give it, writes a<br clear="none">Data Descriptor File (DDF) for the NARR data file, and then opens<br clear="none">it with the "open" command. &nbsp;The name of the script is "narropen",<br clear="none">and, as I said, it's part of the standard suite of scripts. &nbsp;It may<br clear="none">be found at:<br clear="none"><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="ftp://cola.gmu.edu/grads/scripts/narropen.gs">ftp://cola.gmu.edu/grads/scripts/narropen.gs</a><br clear="none"><br clear="none">You can learn how to call it by running it without arguments.<br clear="none"><br clear="none">-Hoop<br clear="none"><br clear="none"><blockquote type="cite">Date: Mon, 20 Jan 2014 03:07:34 -0800 (PST)<br clear="none"></blockquote><blockquote type="cite">From: Charles Vanya &lt;charles.vanya@yahoo.com&gt;<br clear="none"></blockquote><blockquote type="cite">Subject: [gradsusr] How can
 we write XDEF to open *.nc files?<br clear="none"></blockquote><blockquote type="cite">To: "gradsusr@gradsusr.org" &lt;gradsusr@gradsusr.org&gt;<br clear="none"></blockquote><blockquote type="cite"><br clear="none"></blockquote><blockquote type="cite">Dear All,<br clear="none"></blockquote><blockquote type="cite">?I am novel with GrADS and recently was doing a case study of a lightning<br clear="none"></blockquote><blockquote type="cite">that killed 8 people at once and same place. As I was trying to load<br clear="none"></blockquote><blockquote type="cite">cape.2013.nc and cin.2013.nc I encountered an error that I am failing to<br clear="none"></blockquote><blockquote type="cite">resolve up to now. The error is shwon below:<br clear="none"></blockquote><blockquote type="cite">=====================================================<br clear="none"></blockquote><blockquote type="cite"><br clear="none"></blockquote><blockquote type="cite">ga-&gt; sdfopen
 c:/Users/CHARLES/Downloads/cape.2013.nc<br clear="none"></blockquote><blockquote type="cite">Scanning self-describing file:? c:/Users/CHARLES/Downloads/cape.2013.nc<br clear="none"></blockquote><blockquote type="cite">gadsdf: SDF file has no discernable X coordinate.<br clear="none"></blockquote><blockquote type="cite">? To open this file with GrADS, use a descriptor file with an XDEF entry.<br clear="none"></blockquote><blockquote type="cite">? Documentation is at http://iges.org/grads/gadoc/SDFdescriptorfile.html<br clear="none"></blockquote><blockquote type="cite">ga-&gt;?======================================<br clear="none"></blockquote><blockquote type="cite">Now the question is how can I open such kind of data in Grads. I read<br clear="none"></blockquote><blockquote type="cite">through the mentioned document but it is not helpful to me. Can any one<br clear="none"></blockquote><blockquote type="cite">help me with guidance and set of commands to
 open and read this data?<br clear="none"></blockquote><blockquote type="cite">the data is accessible from<br clear="none"></blockquote><blockquote type="cite">http://www.esrl.noaa.gov/psd/thredds/fileServer/Datasets/NARR/monolevel/cin.2013.nc?<br clear="none"></blockquote><blockquote type="cite">Thanks in advance<br clear="none"></blockquote><blockquote type="cite">?<br clear="none"></blockquote><blockquote type="cite">Charles Langton Vanya<br clear="none"></blockquote><blockquote type="cite">(Principal Meteorologist)<br clear="none"></blockquote><blockquote type="cite">---------------------------------------------------------------------------------<br clear="none"></blockquote><blockquote type="cite"><br clear="none"></blockquote><blockquote type="cite">Department of Climate Change and Meteorological Services,<br clear="none"></blockquote><blockquote type="cite">Regional Government Offices-(Next to Immigration Office),<br
 clear="none"></blockquote><blockquote type="cite">Box 1808<br clear="none"></blockquote><blockquote type="cite">Blantyre,Malawi<br clear="none"></blockquote><blockquote type="cite">---------------------------------------------------------------------------------<br clear="none"></blockquote><blockquote type="cite">Tel:?? ??? (+ 265) 1 822 014<br clear="none"></blockquote><blockquote type="cite">Cell: ??? (+265) 888 980 545 / 999 380 545<br clear="none"></blockquote><blockquote type="cite"><br clear="none"></blockquote><blockquote type="cite">Fax:???? (+265) 1 822 215<br clear="none"></blockquote><blockquote type="cite">----------------------------------------------------------------------------------<br clear="none"></blockquote><blockquote type="cite"><br clear="none"></blockquote><blockquote type="cite">"Tell me and I'll forget, show me and I may remember; involve me and I will understand"<br
 clear="none"></blockquote>_______________________________________________<br clear="none">gradsusr mailing list<br clear="none">gradsusr@gradsusr.org<br clear="none">http://gradsusr.org/mailman/listinfo/gradsusr</div><br clear="none"></div></blockquote></div><br clear="none"><div>
<span class="yiv0776587352Apple-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-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><span class="yiv0776587352Apple-style-span" style="border-collapse:separate;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-indent:0px;text-transform:none;orphans:2;white-space:normal;widows:2;word-spacing:0px;"></span></span><div style="word-wrap:break-word;"><span class="yiv0776587352Apple-style-span" style="border-collapse:separate;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-indent:0px;text-transform:none;orphans:2;white-space:normal;widows:2;word-spacing:0px;"><span class="yiv0776587352Apple-style-span" style="border-collapse:separate;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-indent:0px;text-transform:none;orphans:2;white-space:normal;widows:2;word-spacing:0px;"></span></span><div>--</div><div>Jennifer M. Adams<br clear="none">Center for Ocean-Land-Atmosphere Studies (COLA)<br clear="none">111 Research Hall, Mail Stop 2B3<br clear="none">George Mason University<br clear="none">4400 University Drive<br clear="none">Fairfax, VA 22030&nbsp;<div class="yiv0776587352yqt0933783406" id="yiv0776587352yqtfd38567"><br clear="none"><br clear="none"></div></div><div
 class="yiv0776587352yqt0933783406" id="yiv0776587352yqtfd12596"><div><br class="yiv0776587352khtml-block-placeholder" clear="none"></div><br class="yiv0776587352Apple-interchange-newline" clear="none"></div></div><div class="yiv0776587352yqt0933783406" id="yiv0776587352yqtfd33584"><br class="yiv0776587352Apple-interchange-newline" clear="none">
</div></div><div class="yiv0776587352yqt0933783406" id="yiv0776587352yqtfd80367">
<br clear="none"></div></div></div></div></div><br><div class="yqt0933783406" id="yqtfd07703">_______________________________________________<br clear="none">gradsusr mailing list<br clear="none"><a shape="rect" ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br clear="none"><a shape="rect" href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>