<html><body bgcolor="#FFFFFF"><div>//Note: Replace the numbers "360" and "181" with the x and y gridpoint counts.</div><div>set t 1 200</div><div>PRECMASKED = const(const(maskout(APCP,APCP-20),1),0,-u)</div><div>set t 1</div><div>NUMDAYS = sumg(PRECMASKED, t=1,t=200)</div><div>set x 1</div><div>set t 1 200</div><div>XSUM = tloop(sumg(PRECMASKED, x=1,x=360))</div><div>set y 1</div><div>NUMPTS = tloop(sumg(XSUM, y=1,y=181))</div><div>--</div><div><a href="http://www.instantweathermaps.com">http://www.instantweathermaps.com</a></div><div><br>On Aug 9, 2011, at 11:33 PM, "SBR" <<a href="mailto:satya_atmos@rediffmail.com">satya_atmos@rediffmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Dear User,<div>I have two queries using daily precipitation data for 200 days.</div><div><br><div>(1) How to calculate the number of days with rainfall grater than 20 mm.</div><div><br></div><div>(2) How many number of grid points have rainfall greater than 20 mm for each day.</div><div><br></div><div>Thanks.</div><div>Regards</div><div>Satya</div><div><br></div></div><br><a href="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><img src="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></a><br>Treat yourself at a restaurant, spa, resort and much more with <b><a href="http://track.rediff.com/click?url=___http://dealhojaye.rediff.com?sc_cid=mailsignature___&cmp=signature&lnk=rediffmailsignature&newservice=deals" target="_new">Rediff Deal ho jaye!</a></b></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>gradsusr mailing list</span><br><span><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a></span><br><span><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a></span><br></div></blockquote></body></html>