<br><br><div class="gmail_quote">2009/7/5 Hyacinth Cyprain Nnamchi <span dir="ltr"><<a href="mailto:hc.nnamchi@lasg.iap.ac.cn">hc.nnamchi@lasg.iap.ac.cn</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear GrADS users,<br>
I have a monthly dataset for the global land areas, 1901 to 2007 at 0.5 by 0.5 grids. I now want to write the ANNUAL total values for all the grid points. Any ideas?<br>
<font color="#888888"></font></blockquote><div><br>There are many ways of doing this, all depends on the desired output format, how the input files are organized, etc. For example, if you have a single file with your monthly data you could do something like this:<br>
<br>% lats4d.sh -i <a href="http://monthly.nc">monthly.nc</a> -o annual -func 'ave(@,t-6,t+5)' -time jul1901 jul2007 12 -v<br><br>If the data is in a separate file for each year then you could enter<br><br>% lats4d.sh -i <a href="http://2003.nc">2003.nc</a> -o annual_2003 -mean<br>
<br>You can find more info about lats4d here:<br><br> <a href="http://opengrads.org/wiki/index.php?title=Lats4D">http://opengrads.org/wiki/index.php?title=Lats4D</a><br><br> Arlindo<br></div></div><br>-- <br>Arlindo da Silva<br>
<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>