On Fri, Sep 9, 2011 at 12:05 PM, Becker, Bernd <span dir="ltr"><<a href="mailto:bernd.becker@metoffice.gov.uk">bernd.becker@metoffice.gov.uk</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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></blockquote><div><br></div><div>Try:</div><div><br></div><div>d a(t=1)+c(t=1)</div><div><br></div><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>