<div dir="ltr"><div><div><div><div>Re: "I am not aware of an NCL function that accounts for the change in grid cell size while binning data.  Is there one?"<br><br>Answer: No.<br><br>===<br></div>I think you are looking for a, say, 25km x 25km global grid.<br><br></div>I suggest looking at the EASE grids: Maybe you can find a data set that contains predefined lat/lon grids.<br><br><a href="http://nsidc.org/data/ease">http://nsidc.org/data/ease</a><br><br></div>Then, you would have to bin the values.<br><br></div>Good Luck<br><div><div><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 4, 2018 at 11:03 AM, Buzan, Jonathan R <span dir="ltr"><<a href="mailto:jbuzan@purdue.edu" target="_blank">jbuzan@purdue.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi NCL-Talk,<br>
<br>
I am attempting to compute bin the joint distribution of T-RH from climate model output.<br>
<br>
ex.<br>
<br>
T(lat,lon)  = ((/10,15/),(/5,10/))<br>
RH(lat, lon) = ((/60,50/),(/70,60/))<br>
<br>
count = Bin(T= 10, RH = 60) = 2<br>
count = Bin(T= 15, RH =50) = 1<br>
count = Bin(T= 5, RH =70) = 1<br>
<br>
Total count = 4<br>
<br>
The issue that I am running into is that the grid cell sizes change as latitudes move away from the equator, emphasizing high latitudes vs low latitudes.  I am not aware of an NCL function that accounts for the change in grid cell size while binning data.  Is there one?<br>
<br>
-Jonathan R. Buzan<br>
PhD Candidate; Department of Earth, Atmospheric, and Planetary Sciences<br>
Purdue University<br>
<a href="mailto:jbuzan@purdue.edu">jbuzan@purdue.edu</a><br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div>