<div dir="ltr"><div> <b>nmos = 12</b></div><div> gbin = new ( (/<b>nmos,</b>nlat,mlon/), float )<br> gknt = new ( (/<b>nmos,</b>nlat,mlon/), integer)</div><div><br></div><div>Loop over each file and sum<br></div><div><br></div><div> nmo = ... ; determine the month [nmo=0,11] for the current file<br></div><div> <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/bin_sum.shtml"><b> bin_sum</b></a>(gbin(nmo,:,:),gknt(nmo,:,:),lon,lat,LON1D,LAT1D,ndtooned(x))</div><div><br></div><div>Later:</div><div> gknt = <b>where</b>(gknt.eq.0 , gknt@_FillValue, gknt)<br> gbin = gbin/gknt</div><div>=====================================<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 30, 2020 at 5:06 AM Lyndz via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear NCL-experts,<div><br></div><div>I have a script for plotting the "DAILY" TRMM 2A25 swath data, which is attached to this email.</div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div>I would like to get the MONTHLY CLIMATOLOGY of the files and plot them. I am not sure as to how I can modify the following script to generate these plots.</div><div><br></div><div>I have TRMM 2A25 HDF files from 1998 to 2015. All located in the same directory.</div><div><br></div><div><br></div><div>I'll appreciate any help on this matter.</div><div><br></div><div>Sincerely,</div><div>Lyndz</div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>