[gradsusr] Incremental time step loop
Noska, Ryne
rgn14c at my.fsu.edu
Mon Jul 27 13:16:29 EDT 2015
Jeff,
I was speaking of 2D. That will work well; thank you.
Sincerely,
Ryne
________________________________
From: gradsusr-bounces at gradsusr.org <gradsusr-bounces at gradsusr.org> on behalf of Jeff Duda <jeffduda319 at gmail.com>
Sent: Monday, July 27, 2015 1:09 PM
To: GrADS Users Forum
Subject: Re: [gradsusr] Incremental time step loop
Ryne,
Are you talking about plotting a 1D time series but skipping times or are you talking about 2D plots? If you are talking about the latter, a simple loop will suffice:
tt = 1
while (tt < 50)
'set t 'tt
...set plot options...
'd field'
...save image... ; 'clear'
tt = tt + 5
endwhile
If you're talking about a time series, just adjust the control file to skip all those times.
Jeff Duda
On Mon, Jul 27, 2015 at 11:51 AM, Noska, Ryne <rgn14c at my.fsu.edu<mailto:rgn14c at my.fsu.edu>> wrote:
To whom it may pertain,
I want to plot a figure every fifth time step in a control file. I can't use tloop because there are specifications I want to make within the loop besides just the display command. How should I proceed?
Thank you,
Ryne
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
--
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150727/46803a7b/attachment.html
More information about the gradsusr
mailing list