<div dir="ltr"><div>re: "... not sure whether this means normalization?"</div><div><br></div><div>You can "normalize by any non-zero quantity: <br></div><div>eg: Max value, Mean, standard deviation,.... <br></div><div>You should consult with a colleague/advisor for which is appropriate for you.</div><div>---</div><div>The following is a simple method of normalizing<br></div><br><div><div> nmos=12<br> nyrs=20<br> ntim= nyrs*nmos<br> monClim = random_uniform(10,100,nmos) ; [*]<br> monData = random_uniform(10,100,ntim) ; [*]<br> do nmo=0,nmos-1<br> monData(nmo::nmos) = monData(nmo::nmos)/ monClim(nmo)<br> end do<br><br> nlat = 72<br> mlon = 144<br><br> monClim<b> :=</b> random_uniform(10,100,(/nmos,nlat,mlon/)) ;[*][*][*]<br> monData <b>:=</b> random_uniform(10,100,(/ntim,nlat,mlon/))<br> do nl=0,nlat-1<br> do ml=0,mlon-1<br> monData(nmo::nmos,nl,ml) = monData(nmo::nmos,nl,ml)/ monClim(nmo,nl,ml)<br> do</div><div> end do<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 10, 2020 at 6:16 AM Jayant 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"><div><div>Hi,<br></div>I have monthly fire data for 20 years. I have computed climatology. I want to calculate ratio of each month and its respective climatology to obtain weights. Is there a function that does this calculation? I am not sure whether this means normalization?<br></div>Cheers,<br></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>