<div dir="ltr"><div>I don't think grads is capable of doing what you want to do without modifying the data. Any time series you display is going to look for data at the intervals from the TDEF line of your control file. Since you have monthly data, any time series you display will have a data point every month. You can't change that while running grads. You can calculate the average easy enough, but if you want to display a time series of the annual means you'll have to calculate them and store them in a separate data file that you can then read with Grads.<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 11, 2015 at 1:06 PM, Justin Hicks <span dir="ltr"><<a href="mailto:jhicks2014@gmail.com" target="_blank">jhicks2014@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>I was using the tloop and aave commands in a GrADS Script file and running it in order to graph a time series. I want my data points to show up year by year, not as a plot of points for every month (I am using a monthly data set). Basically I want to average those monthly points to get a global average for that year. So, I want a data point, for example, for years 1979, 1980, 1981, etc instead of 12 for each year. I'm not sure how to do this, as I am new to GrADS. </div><div><br></div><div>So far, I have: </div><div><br></div><div><div>'set vpage 0 11 0 8.5'</div><div>'set parea 6 10 1.0 3.0'</div><div>'set xlint 60'</div><div>'set ylint 20'</div><div>'set x 1'</div><div>'set y 1'</div><div>'set t 1 436'</div><div>'set grads off'</div><div>'set cmark marker 0'</div><div>'d tloop(aave(LWnet-SWnet,g))'</div><div>'set grads off'</div><div>'set string 1 c 8'</div><div>'set strsiz .14'</div><div>'draw string 8.0 3.2 1979-2015 Net Radiation avg'</div></div><div><br></div><div>Thank You!</div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br></div>
</div>