[ncl-talk] Complicated Task

Buzan, Jonathan R jbuzan at purdue.edu
Wed Apr 4 11:03:14 MDT 2018


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





More information about the ncl-talk mailing list