[gradsusr] define variable independent of time
Arlindo da Silva
dasilva at alum.mit.edu
Fri Sep 9 12:39:37 EDT 2011
On Fri, Sep 9, 2011 at 12:05 PM, Becker, Bernd <
bernd.becker at metoffice.gov.uk> wrote:
>
> Simple question,
> complicated answer:
>
> I would like to composite stuff from several files.
>
> Each file has its own time and date info in its own .ctl file.
>
> How can I add elements from different such files?
>
> How can I break away from the strict treatment of the time dimension in
> grads?
>
> open file1.ctl
> define a=ave(b,t=1,t=34)
> close 1
> open file2.ctl
> define c= ave(b,t=3,t=9)
> close 2
> etc.
>
> d a+c
> Cannot contour grid - all undefined values
>
>
Try:
d a(t=1)+c(t=1)
--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110909/6155d79e/attachment-0003.html
More information about the gradsusr
mailing list