Buzan, Jonathan R jbuzan at purdue.edu
Sun Apr 8 13:59:29 MDT 2018

```Thanks Dennis!

-Jonathan

On Apr 4, 2018, at 5:45 PM, Dennis Shea <shea at ucar.edu<mailto:shea at ucar.edu>> wrote:

Re: "I am not aware of an NCL function that accounts for the change in grid cell size while binning data.  Is there one?"

===
I think you are looking for a, say, 25km x 25km global grid.

I suggest looking at the EASE grids: Maybe you can find a data set that contains predefined lat/lon grids.

http://nsidc.org/data/ease

Then, you would have to bin the values.

Good Luck

On Wed, Apr 4, 2018 at 11:03 AM, Buzan, Jonathan R <jbuzan at purdue.edu<mailto:jbuzan at purdue.edu>> wrote:
Hi NCL-Talk,

I am attempting to compute bin the joint distribution of T-RH from climate model output.

ex.

T(lat,lon)  = ((/10,15/),(/5,10/))
RH(lat, lon) = ((/60,50/),(/70,60/))

count = Bin(T= 10, RH = 60) = 2
count = Bin(T= 15, RH =50) = 1
count = Bin(T= 5, RH =70) = 1

Total count = 4

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?

-Jonathan R. Buzan
PhD Candidate; Department of Earth, Atmospheric, and Planetary Sciences
Purdue University
jbuzan at purdue.edu<mailto:jbuzan at purdue.edu>

_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180408/c5968e44/attachment.html>
```