[gradsusr] Time Steps

Jeff Duda jeffduda319 at gmail.com
Tue Aug 7 14:11:20 EDT 2018


Can you not use a loop to handle this?

On Tue, Aug 7, 2018 at 6:34 AM CW Weather <weatherstu at chorleyweather.com>
wrote:

> Hi all,
>
> Im using climatology for re-analysis and i was wondering if there is a way
> to run consecutive months one after the other without having to change the
> set time function every time. My code is simple which defines monthly steps
> from 50 years data but i want to run a few months worth of data one after
> the other, is this possible rather that having to change time step for
> every image?
>
> 'set t 1 12'
> 'define precipclim = ave(precip, t+0, t=600, 12)'
> 'modify precipclim seasonal'
> 'set t 1 last'
> 'define anom = precip - precipclim'
> 'set time 1JUN2018'
> --
>
> Kind regards,
>
> *Stuart Markham*
>
> *Founder of CW Weather*
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>


-- 
Jeff Duda, Research Scientist

University of Colorado Boulder

Cooperative Institute for Research in Environmental Sciences

NOAA/OAR/ESRL/Global Systems Division
Boulder, CO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180807/7c17863d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9e849405.png
Type: image/png
Size: 22440 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180807/7c17863d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9e849405.png
Type: image/png
Size: 22440 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180807/7c17863d/attachment-0003.png>


More information about the gradsusr mailing list