Dear Serge,<div><br></div><div><div>I belive I did not make myself clear about the graphic I need.</div><div>suppose I select a single point, let's say lat -23 lon -45, and set the time to a month period, I will have the values of precipitation for each day as it is in any meteogram.</div>
<div>My problem is that I need to continually sum the daily valeus so I can achive the total precipitation within a month but in a way I can present an increasing line in over the daily values.</div><div>I hope I could make it clear and I really appreciate your help</div>
</div><div><br></div><div>Regars,</div><div>Gabriel Gavinho</div><div>Federal University of Rio de Janeiro.<br><br><div class="gmail_quote">2011/6/21 Rafanoharana Serge Claudio <span dir="ltr"><<a href="mailto:rafanoharana@gmail.com">rafanoharana@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear Gabriel,<br><br>What do you mean by "in the same graphic"? because I think it will depends on that. For your precipitation data, if you set your gxout to shaded, I think you won't see both values, but if you set your gxout, for example to contour, you'll be able to see both.<br>
<br>Let's say your precipitaion variable is "pcp". It will be something like:<br>'sdfopen <a href="http://file.nc" target="_blank">file.nc</a>'<br>'set gxout contour'<br>'define acc=sum(pcp, t=1, t=31)'<br>
'd pcp'<br>'d acc'<br><br>So if you need for the day 17, just set t to 17 by adding 'set t 17' right after 'sdfopen...'<br>In addition, you can write your accumulation variable to your file using 'set sdfwrite <a href="http://file.nc" target="_blank">file.nc</a>' followed by 'sdfwrite acc'.<br>
Maybe the following will give you more info.<br><br>I quote from Bob Kuligowski:<br><br>"GrADS can produce numerous types of file displays using gridded data using set gxout:<br><br>bar (bar chart) <br>line (line graph)<br>
barb (wind barbs) <br>linefill (color fill between two lines)<br>contour (contour plot) <br>scatter (scatter plot)<br>errbar (error bars) <br>shaded (shaded contour plot)<br>grfill (shaded grid boxes) <br>
stream (wind streamlines)<br>fgrid (grid boxes shaded for specified values) <br>vector (wind vector arrows)<br>grid (grid boxes with printed values)"<br><br>Hope it can help,<br><br>Regards,<br><br>Serge<br>
<br><br><br><div class="gmail_quote"><div><div></div><div class="h5">2011/6/21 gabriel gavinho <span dir="ltr"><<a href="mailto:gavinho.gabriel@gmail.com" target="_blank">gavinho.gabriel@gmail.com</a>></span><br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
<div>Dear Users</div><div><br></div><div>I am having a hard time trying to sum the values for daily precipitation during a month, in order put together both daily values and the accumulative sum in the same graphic </div>
<div>
<br></div><div>Can you help me?</div><div><br></div><div>regards!</div><div><br></div><font color="#888888"><div>Gabriel Gavinho</div><div>Federal University of Rio de Janeiro</div>
</font><br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Serge<br>
</font><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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>