<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>checa esto:<br></div><div>open file1.ctl</div><div>open file2.ctl<br>define a=ave(b.1,t=1,t=34)<br>define c= ave(b.2,t=3,t=9)</div><div><br></div><div>d a+c<br></div><div>close 1<br>close 2<br>etc.</div><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> "gradsusr-request@gradsusr.org" <gradsusr-request@gradsusr.org><br><b><span style="font-weight: bold;">Para:</span></b> gradsusr@gradsusr.org<br><b><span style="font-weight: bold;">Enviado:</span></b> Viernes, 9 de septiembre, 2011 9:44:18<br><b><span style="font-weight: bold;">Asunto:</span></b> gradsusr Digest, Vol 19, Issue 13<br></font><br>Send
gradsusr mailing list submissions to<br> <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <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> <a ymailto="mailto:gradsusr-request@gradsusr.org" href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br><br>You can reach the person managing the list at<br> <a ymailto="mailto:gradsusr-owner@gradsusr.org" href="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> 1. define variable
independent of time (Becker, Bernd)<br> 2. Re: define variable independent of time (Arlindo da Silva)<br> 3. Crop country boundary or masking an area - still not working<br> (Rafanoharana Serge Claudio)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 9 Sep 2011 17:05:39 +0100<br>From: "Becker, Bernd" <<a ymailto="mailto:bernd.becker@metoffice.gov.uk" href="mailto:bernd.becker@metoffice.gov.uk">bernd.becker@metoffice.gov.uk</a>><br>Subject: [gradsusr] define variable independent of time<br>To: "GrADS Users Forum" <<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Message-ID:<br> <<a ymailto="mailto:E209E2066317644FB35E5AA0E8C1FB7F381102@EXXMAIL02.desktop.frd.metoffice.com"
href="mailto:E209E2066317644FB35E5AA0E8C1FB7F381102@EXXMAIL02.desktop.frd.metoffice.com">E209E2066317644FB35E5AA0E8C1FB7F381102@EXXMAIL02.desktop.frd.metoffice.com</a>><br> <br>Content-Type: text/plain; charset="us-ascii"<br><br><br>Simple question,<br>complicated answer:<br><br>I would like to composite stuff from several files.<br><br>Each file has its own time and date info in its own .ctl file. <br><br>How can I add elements from different such files?<br><br>How can I break away from the strict treatment of the time dimension in<br>grads?<br><br>open file1.ctl<br>define a=ave(b,t=1,t=34)<br>close 1<br>open file2.ctl<br>define c= ave(b,t=3,t=9)<br>close 2<br>etc.<br><br>d a+c <br>Cannot contour grid - all undefined values<br><br>because a and c have different times. <br><br>What can be done about this?<br><br>Have a nice weekend.<br>Bernd.<br><br>--<br>Bernd Becker Climate Impacts Product
Development<br>Met Office Hadley Centre FitzRoy Road Exeter Devon EX1 3PB United<br>Kingdom<br>Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050<br>E-mail:<a ymailto="mailto:bernd.becker@metoffice.gov.uk" href="mailto:bernd.becker@metoffice.gov.uk">bernd.becker@metoffice.gov.uk</a> -<br><a href="http://www.metoffice.gov.uk/research/our-scientists/seasonal-to-decadal/" target="_blank">http://www.metoffice.gov.uk/research/our-scientists/seasonal-to-decadal/</a><br>bernd-becker<br><a href="http://www.metoffice.gov.uk/news/releases/archive/2011/weather-game" target="_blank">http://www.metoffice.gov.uk/news/releases/archive/2011/weather-game</a><br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Fri, 9 Sep 2011 12:39:37 -0400<br>From: Arlindo da Silva <<a ymailto="mailto:dasilva@alum.mit.edu" href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>><br>Subject: Re: [gradsusr] define variable
independent of time<br>To: GrADS Users Forum <<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Message-ID:<br> <CALz7xZdt2pygnA_YMpTaT_Y__VrRwx-WKdtm9M4CkV37=<a ymailto="mailto:chKJw@mail.gmail.com" href="mailto:chKJw@mail.gmail.com">chKJw@mail.gmail.com</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>On Fri, Sep 9, 2011 at 12:05 PM, Becker, Bernd <<br><a ymailto="mailto:bernd.becker@metoffice.gov.uk" href="mailto:bernd.becker@metoffice.gov.uk">bernd.becker@metoffice.gov.uk</a>> wrote:<br><br>><br>> Simple question,<br>> complicated answer:<br>><br>> I would like to composite stuff from several files.<br>><br>> Each file has its own time and date info in its own .ctl file.<br>><br>> How can I add elements from different such files?<br>><br>> How can I break away from the strict treatment of the time
dimension in<br>> grads?<br>><br>> open file1.ctl<br>> define a=ave(b,t=1,t=34)<br>> close 1<br>> open file2.ctl<br>> define c= ave(b,t=3,t=9)<br>> close 2<br>> etc.<br>><br>> d a+c<br>> Cannot contour grid - all undefined values<br>><br>><br>Try:<br><br>d a(t=1)+c(t=1)<br><br><br>-- <br>Arlindo da Silva<br><a ymailto="mailto:dasilva@alum.mit.edu" href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110909/6155d79e/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110909/6155d79e/attachment-0001.html</a> <br><br>------------------------------<br><br>Message: 3<br>Date: Fri, 9 Sep 2011 11:59:00 -0700<br>From: Rafanoharana Serge Claudio <<a ymailto="mailto:rafanoharana@gmail.com"
href="mailto:rafanoharana@gmail.com">rafanoharana@gmail.com</a>><br>Subject: [gradsusr] Crop country boundary or masking an area - still<br> not working<br>To: GrADS Users Forum <<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Message-ID:<br> <CAPFxStiPvGQhcA8q7Tc1OhVkksG7g0gei8hj3Vm_1mXyMVM4=<a ymailto="mailto:w@mail.gmail.com" href="mailto:w@mail.gmail.com">w@mail.gmail.com</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Dear all,<br><br>I've already posted this message before but I can't get it worked.<br>If any of you have any idea to crop the study area, please let me know. One<br>said that it is possible to grab a shapefile of the top part and fill it<br>with black (I guess he meant re-setting the value of the variable covered by<br>this shapefile to 0). If you have any experience or any tips on how
to do<br>that, thanks in advance for your help.<br><br>Kind regards,<br><br>Serge<br><br>---------- Forwarded message ----------<br>From: Rafanoharana Serge Claudio <<a ymailto="mailto:rafanoharana@gmail.com" href="mailto:rafanoharana@gmail.com">rafanoharana@gmail.com</a>><br>Date: Fri, Aug 26, 2011 at 7:53 AM<br>Subject: Crop country boundary<br>To: GrADS Users Forum <<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br><br><br>Dear all,<br><br>I would like to ask if there is a way to crop the data to a specific area.<br>In GrADS, if we use 'set mpdset hires', we have the country boundary.<br>However for my case I only need the study area (please refer to the attached<br>file).<br><br>I found that <a href="http://www.diva-gis.org/datadown" target="_blank">http://www.diva-gis.org/datadown</a> provides Grid data. Can we use<br>the data from this Website to crop it or...?<br><br>Thank
you,<br><br>-- <br>Serge<br><br><br><br>-- <br>Serge<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110909/f4f4b1b6/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110909/f4f4b1b6/attachment.html</a> <br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: evi-1.jpg<br>Type: image/jpeg<br>Size: 242511 bytes<br>Desc: not available<br>Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110909/f4f4b1b6/attachment.jpg" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110909/f4f4b1b6/attachment.jpg</a> <br><br>------------------------------<br><br>_______________________________________________<br>gradsusr mailing list<br><a ymailto="mailto:gradsusr@gradsusr.org" href="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 19, Issue 13<br>****************************************<br><br><br></div></div></div></body></html>