<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span><span class="hps"><strong>"No Files Open" When Running In Batch Mode (Perry, Aaron @ LSC)</strong></span></span></div><div><span><span class="hps"></span></span>&nbsp;</div><div><span><span class="hps"></span></span>&nbsp;</div><div><span><span class="hps">good day,</span><br><span class="hps">files</span> <span class="hps">are</span> <span class="hps">where</span> <span class="hps">he is.</span> <span class="hps">gs</span><span>?</span><br><span class="hps">in your</span><span>.</span> <span class="hps">gs</span> <span class="hps">is</span> <span class="hps">the full path</span> <span class="hps">of</span> <span class="hps">where to read</span> <span class="hps">the files?</span><br><br><span
 class="hps">regards</span></span></div><div><span></span>&nbsp;</div><div><span>atte.</span></div><div><span>jluis</span></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: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> El Jueves, 26 de diciembre, 2013 9:16:10, "gradsusr-request@gradsusr.org" &lt;gradsusr-request@gradsusr.org&gt; escribió:<br> </font> </div>  <div class="y_msg_container">Send gradsusr mailing list submissions to<br>&nbsp;&nbsp;&nbsp; <a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp; <a href="http://gradsusr.org/mailman/listinfo/gradsusr"
 target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp; <a href="mailto:gradsusr-request@gradsusr.org" ymailto="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp; <a href="mailto:gradsusr-owner@gradsusr.org" ymailto="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of gradsusr digest..."<br><br><br>Today's Topics:<br><br>&nbsp;  1. "No Files Open" When Running In Batch Mode (Perry, Aaron @ LSC)<br>&nbsp;  2. Re: Unable to do the averaging w.r.t time (Rupak Rajbhandari)<br>&nbsp;  3. Re: "No Files Open" When Running In Batch Mode (Jennifer Adams)<br>&nbsp;  4. Re: hello (Jennifer
 Adams)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 26 Dec 2013 05:56:43 +0000<br>From: "Perry, Aaron @ LSC" &lt;<a href="mailto:Aaron.Perry@lsc.vsc.edu" ymailto="mailto:Aaron.Perry@lsc.vsc.edu">Aaron.Perry@lsc.vsc.edu</a>&gt;<br>Subject: [gradsusr] "No Files Open" When Running In Batch Mode<br>To: "<a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>" &lt;<a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:DEE427CC71C1184E9F7C903BF1EEE7A802BD108E@LSC-EX10MBX03.lsc.vsc.edu" ymailto="mailto:DEE427CC71C1184E9F7C903BF1EEE7A802BD108E@LSC-EX10MBX03.lsc.vsc.edu">DEE427CC71C1184E9F7C903BF1EEE7A802BD108E@LSC-EX10MBX03.lsc.vsc.edu</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Good Morning All,<br><br>Currently, I'm
 having an issue where "No Files Open" pops up every time that I run GrADS in Batch Mode (grads -clb).<br><br>This results in the Valid Forecast Time not being displayed on my plots. At first, I thought that it was an issue of the 'set t 1' placement after 'reinit', as I'm using g2ctl/gribmap ctl files.<br><br>I've sort of narrowed this down to just a batch mode problem because, when I open the .gs file with 'grads -l' , "No Files Open" does not pop up and the Valid Forecast Time shows up on the plot.<br><br>Has anybody else had this issue before?<br><br><br><br>Onward and Upward,<br><br>Aaron Perry<br>Boston, MA<br>Mobile: 617-780-4312<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20131226/31fa3cbe/attachment-0001.html"
 target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20131226/31fa3cbe/attachment-0001.html</a><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 26 Dec 2013 14:18:28 +0545<br>From: Rupak Rajbhandari &lt;<a href="mailto:rupak.rajbhandari@gmail.com" ymailto="mailto:rupak.rajbhandari@gmail.com">rupak.rajbhandari@gmail.com</a>&gt;<br>Subject: Re: [gradsusr] Unable to do the averaging w.r.t time<br>To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;CAPUBxUQ-3pySVPpHhp-7KSjAFvL+<a href="mailto:fvAd2c3q4muGbKmQgOaA7g@mail.gmail.com" ymailto="mailto:fvAd2c3q4muGbKmQgOaA7g@mail.gmail.com">fvAd2c3q4muGbKmQgOaA7g@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>try<br>'d 'x2<br><br><br><br>On Tue, Dec 24, 2013 at 4:38 PM, M.Mahakur &lt;<a href="mailto:mmahakur@tropmet.res.in"
 ymailto="mailto:mmahakur@tropmet.res.in">mmahakur@tropmet.res.in</a>&gt; wrote:<br><br>&gt; say:<br>&gt;<br>&gt; lon1=74<br>&gt; lon2=87<br>&gt; lat1=9<br>&gt; lat2=22<br>&gt;<br>&gt; instead:<br>&gt;<br>&gt; 'define lon1=74'<br>&gt; 'define lon2=87'<br>&gt; 'define lat1=9'<br>&gt; 'define lat2=22'<br>&gt;<br>&gt; ----- Original Message -----<br>&gt; From: Geeta Geeta &lt;<a href="mailto:geeta124@hotmail.com" ymailto="mailto:geeta124@hotmail.com">geeta124@hotmail.com</a>&gt;<br>&gt; To: grads grads &lt;<a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>&gt; Sent: Tue, 24 Dec 2013 16:10:39 +0530 (IST)<br>&gt; Subject: [gradsusr] Unable to do the averaging w.r.t time<br>&gt;<br>&gt; Hi All,<br>&gt;<br>&gt; I have to compute the areal average of rainfall for a domain say<br>&gt; 5-20N/65-100E.<br>&gt; So for this, the gs file looks like this---------<br>&gt;<br>&gt; 'reinit'<br>&gt; 'open
 obs.ctl'<br>&gt; 'c'<br>&gt; 'define lon1=74'<br>&gt; 'define lon2=87'<br>&gt; 'define lat1=9'<br>&gt; 'define lat2=22'<br>&gt; *'define x1=aave(pdt,lon='lon1',lon='lon2',lat='lat1',lat='lat2')'<br>&gt;<br>&gt; 'define x1=aave(pdt,lon=74,lon=87,lat=9,lat=22)'<br>&gt; 'define x2=ave(x1,t=1,t=122)'<br>&gt; 'd x2'<br>&gt;<br>&gt; But Grads does not display anything???????<br>&gt; ga-&gt; run onsrf.gs<br>&gt; No hardcopy metafile open<br>&gt; All files closed; all defined objects released<br>&gt; All GrADS attributes have been reinitialized<br>&gt; ga-&gt;<br>&gt;<br>&gt;<br>&gt; I wish to compute the&nbsp; AREAL AVerage w.r.t the time.<br>&gt; My 't' ranges from 1 150.<br>&gt;<br>&gt; Do not know what is going wrong?????????????<br>&gt; geeta<br>&gt;<br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; <a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; <a
 href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20131226/9186f478/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20131226/9186f478/attachment-0001.html</a><br><br>------------------------------<br><br>Message: 3<br>Date: Thu, 26 Dec 2013 10:05:36 -0500<br>From: Jennifer Adams &lt;<a href="mailto:jma@cola.iges.org" ymailto="mailto:jma@cola.iges.org">jma@cola.iges.org</a>&gt;<br>Subject: Re: [gradsusr] "No Files Open" When Running In Batch Mode<br>To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID: &lt;<a href="mailto:52B542AB-4C05-4679-B85F-C7EED2130603@cola.iges.org"
 ymailto="mailto:52B542AB-4C05-4679-B85F-C7EED2130603@cola.iges.org">52B542AB-4C05-4679-B85F-C7EED2130603@cola.iges.org</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>You've probably got a 'q time' command in your script before you open any files, or after you open a file with some error. But without knowing what script you're running on startup, it's impossible to help any further.<br>--Jennifer<br><br><br>On Dec 26, 2013, at 12:56 AM, Perry, Aaron @ LSC wrote:<br><br>&gt; Good Morning All,<br>&gt; <br>&gt; Currently, I'm having an issue where "No Files Open" pops up every time that I run GrADS in Batch Mode (grads -clb). <br>&gt; <br>&gt; This results in the Valid Forecast Time not being displayed on my plots. At first, I thought that it was an issue of the 'set t 1' placement after 'reinit', as I'm using g2ctl/gribmap ctl files.<br>&gt; <br>&gt; I've sort of narrowed this down to just a batch mode problem because, when I open the .gs
 file with 'grads -l' , "No Files Open" does not pop up and the Valid Forecast Time shows up on the plot.<br>&gt; <br>&gt; Has anybody else had this issue before?<br>&gt; <br>&gt; <br>&gt; <br>&gt; Onward and Upward,<br>&gt; <br>&gt; Aaron Perry<br>&gt; Boston, MA<br>&gt; Mobile: 617-780-4312<br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; <a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br>--<br>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><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a
 href="http://gradsusr.org/pipermail/gradsusr/attachments/20131226/f0306d03/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20131226/f0306d03/attachment-0001.html</a><br><br>------------------------------<br><br>Message: 4<br>Date: Thu, 26 Dec 2013 10:07:36 -0500<br>From: Jennifer Adams &lt;<a href="mailto:jma@cola.iges.org" ymailto="mailto:jma@cola.iges.org">jma@cola.iges.org</a>&gt;<br>Subject: Re: [gradsusr] hello<br>To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID: &lt;<a href="mailto:4D32993F-D67E-4ED2-848F-EC062C752C09@cola.iges.org" ymailto="mailto:4D32993F-D67E-4ED2-848F-EC062C752C09@cola.iges.org">4D32993F-D67E-4ED2-848F-EC062C752C09@cola.iges.org</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br><br>On Dec 25, 2013, at 8:32 AM, Jovana Perencevic wrote:<br><br>&gt; Dear, <br>&gt; <br>&gt; At
 first, sorry for late answer, I was in mess.<br>&gt; L.B. your solution works perfectly, thanks for effort.<br>&gt; Kishore, hires doesn't work, if I got my professor right, that make lines thicker.<br>&gt; Jennifer, I don't know how to use newmap, what format is that, or which command line should I use (congrats, and thanks for new version)<br>You use it like the other map files. Put it in the same place where the others are located (in the directory pointed to with GADDIR environment variable), then try 'set mpdset newmap'.<br>--Jennifer<br> <br><br>&gt; <br>&gt; Bottom line, thanks you all :)<br>&gt; <br>&gt; Happy Holidays, have a good time!<br>&gt; <br>&gt; Cheers, J.<br>&gt; <br>&gt; <br>&gt; On Mon, Dec 16, 2013 at 3:01 PM, Jennifer Adams &lt;<a href="mailto:jma@cola.iges.org" ymailto="mailto:jma@cola.iges.org">jma@cola.iges.org</a>&gt; wrote:<br>&gt; There is also another map file which may have more up-to-date political boundaries:<br>&gt; <a
 href="ftp://cola.gmu.edu/grads/boundaries/newmap" target="_blank">ftp://cola.gmu.edu/grads/boundaries/newmap</a><br>&gt; --Jennifer<br>&gt; <br>&gt; On Dec 15, 2013, at 9:20 PM, L.B. wrote:<br>&gt; <br>&gt;&gt; Hello again Jovana, <br>&gt;&gt; <br>&gt;&gt; After searching for quite a while, I came across this shapefile of global political boundaries: <a href="http://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip" target="_blank">http://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip</a><br>&gt;&gt; <br>&gt;&gt; If you are unfamiliar with how to use shapefiles within GrADS, here is some documentation: <a href="http://www.iges.org/grads/gadoc/gradcomddrawshp.html" target="_blank">http://www.iges.org/grads/gadoc/gradcomddrawshp.html</a>and <a href="http://www.iges.org/grads/gadoc/shapefiles.html" target="_blank">http://www.iges.org/grads/gadoc/shapefiles.html</a><br>&gt;&gt; <br>&gt;&gt; For starters, I would recommend something as
 follows:<br>&gt;&gt; <br>&gt;&gt; 'set line 1 1 1'<br>&gt;&gt; 'draw shp /directory/your/shapefile/is/in/name_of_shapefile.shp'<br>&gt;&gt; <br>&gt;&gt; This will create a solid black line of thickness 1, which should work pretty good. You may also need to shut off mpdset via the command: 'mpdraw off'<br>&gt;&gt; <br>&gt;&gt; William (L.B.) LaForce<br>&gt;&gt; Meteorologist<br>&gt;&gt; Central Michigan University '13<br>&gt;&gt; www.tornadoinsanity.com<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; On Sun, Dec 15, 2013 at 7:35 PM, L.B. &lt;<a href="mailto:bcbass2989@gmail.com" ymailto="mailto:bcbass2989@gmail.com">bcbass2989@gmail.com</a>&gt; wrote:<br>&gt;&gt; Hi Jovana,<br>&gt;&gt; <br>&gt;&gt; I think your best option would be to use shapefiles to plot countries, etc and not the default mpdset option within GrADS. I do not have any specific shapefiles for that area, or any links, but I am sure someone here will respond with some options for you. In the
 meantime, I'll look for some online just in case.<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; William (L.B.) LaForce<br>&gt;&gt; Meteorologist<br>&gt;&gt; Central Michigan University '13<br>&gt;&gt; www.tornadoinsanity.com<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; On Sun, Dec 15, 2013 at 7:10 PM, Jovana Perencevic &lt;<a href="mailto:jovana.perencevic@gmail.com" ymailto="mailto:jovana.perencevic@gmail.com">jovana.perencevic@gmail.com</a>&gt; wrote:<br>&gt;&gt; Hi,<br>&gt;&gt; <br>&gt;&gt;&nbsp; I am a new here, so I do not really know how this works, if I get it right, I should just pop the question here.<br>&gt;&gt; Well, before question, just little info I know the basics of GrADS, and that works fine for me, cause it's just one semester course at my university I work with GRIB1 (that also works just fine), and I don't know which version of GrADS I have (silent applause ). <br>&gt;&gt; <br>&gt;&gt; Well, I am from Serbia, (if you are not familiar it's one of
 the countries created from Yugoslavia +5/6 more countries,&nbsp; we are in Europe, at Balkan peninsula), and when I use mpdset mres I get Yugoslavia,&nbsp; is there any more up to date map? (I know we are small, and mostly irrelevant, but Yugoslavia started to fall apart in early 90s) Or is there any chance to make map, putting some political maps like a layer or something like that.<br>&gt;&gt; <br>&gt;&gt; One more time, sorry if this was topic already, I am new here and sort of lost. And sorry for bad English :/<br>&gt;&gt; <br>&gt;&gt; Thee ee ;)<br>&gt;&gt; J.<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; _______________________________________________<br>&gt;&gt; gradsusr mailing list<br>&gt;&gt; <a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;&gt; <br>&gt;&gt;
 <br>&gt;&gt; <br>&gt;&gt; _______________________________________________<br>&gt;&gt; gradsusr mailing list<br>&gt;&gt; <a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt; <br>&gt; --<br>&gt; Jennifer M. Adams<br>&gt; Center for Ocean-Land-Atmosphere Studies (COLA)<br>&gt; 111 Research Hall, Mail Stop 2B3<br>&gt; George Mason University<br>&gt; 4400 University Drive<br>&gt; Fairfax, VA 22030 <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; <a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr"
 target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; <a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br>--<br>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><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20131226/edfa2414/attachment.html"
 target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20131226/edfa2414/attachment.html</a><br><br>------------------------------<br><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br><br>End of gradsusr Digest, Vol 46, Issue 49<br>****************************************<br><br><br></div>  </div> </div>  </div> </div></body></html>