<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Thanks Dennis!
<div class=""><br class="">
</div>
<div class="">-Jonathan</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Apr 4, 2018, at 5:45 PM, Dennis Shea <<a href="mailto:shea@ucar.edu" class="">shea@ucar.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">
<div class="">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 class="">
<br class="">
Answer: No.<br class="">
<br class="">
===<br class="">
</div>
I think you are looking for a, say, 25km x 25km global grid.<br class="">
<br class="">
</div>
I suggest looking at the EASE grids: Maybe you can find a data set that contains predefined lat/lon grids.<br class="">
<br class="">
<a href="http://nsidc.org/data/ease" class="">http://nsidc.org/data/ease</a><br class="">
<br class="">
</div>
Then, you would have to bin the values.<br class="">
<br class="">
</div>
Good Luck<br class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class=""><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Wed, Apr 4, 2018 at 11:03 AM, Buzan, Jonathan R <span dir="ltr" class="">
<<a href="mailto:jbuzan@purdue.edu" target="_blank" class="">jbuzan@purdue.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi NCL-Talk,<br class="">
<br class="">
I am attempting to compute bin the joint distribution of T-RH from climate model output.<br class="">
<br class="">
ex.<br class="">
<br class="">
T(lat,lon) = ((/10,15/),(/5,10/))<br class="">
RH(lat, lon) = ((/60,50/),(/70,60/))<br class="">
<br class="">
count = Bin(T= 10, RH = 60) = 2<br class="">
count = Bin(T= 15, RH =50) = 1<br class="">
count = Bin(T= 5, RH =70) = 1<br class="">
<br class="">
Total count = 4<br class="">
<br class="">
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 class="">
<br class="">
-Jonathan R. Buzan<br class="">
PhD Candidate; Department of Earth, Atmospheric, and Planetary Sciences<br class="">
Purdue University<br class="">
<a href="mailto:jbuzan@purdue.edu" class="">jbuzan@purdue.edu</a><br class="">
<br class="">
<br class="">
<br class="">
______________________________<wbr class="">_________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/<wbr class="">mailman/listinfo/ncl-talk</a><br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>