<div dir="ltr">Hi:<div><br></div><div>If you have two grids of the same dimensions, but different times, you can simply add them together.</div><div><br></div><div>If you have grids of a different size, you can interpolate the data to this grid, one grid at a time.</div><div><br></div><div>See for example:</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Applications/regrid.shtml">https://www.ncl.ucar.edu/Applications/regrid.shtml</a><br></div><div><br></div><div>This may also help.</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/dim_sum_n.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/dim_sum_n.shtml</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 18, 2020 at 7:59 AM Paimazumder, Debasish via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.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 lang="EN-US">
<div class="gmail-m_-8056146977967330173WordSection1">
<p class="MsoNormal">Hi NCL users<u></u><u></u></p>
<p class="MsoNormal">I have location level data and 2d lat, lon grid and I’m trying to accumulate the data on 2d lat, lon grid.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">For example <u></u><u></u></p>
<p class="MsoNormal">Input - x (n) with lat(n), lon(n)<u></u><u></u></p>
<p class="MsoNormal">Output grid - lat(i)xlon(j)<u></u><u></u></p>
<p class="MsoNormal">I’m trying to estimate number of location within each grid and accumulate x at each grid.
<u></u><u></u></p>
<p class="MsoNormal">Is there any function in NCL that will solve this problem?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">With regards<u></u><u></u></p>
<p class="MsoNormal">-Debasish <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:12pt;color:rgb(0,176,240)">Debasish PaiMazumder, PhD |</span></b><span style="font-size:12pt;color:rgb(102,102,102)">Tel
<a href="tel:%2B1%20215%20255%206371" target="_blank"><span style="color:blue">+1 215 255 6052</span></a> | Cell
<a href="tel:%2B1%20718%20913%206946" target="_blank"><span style="color:blue">+1 267 449 5226</span></a> |</span><u><span style="font-size:12pt;color:blue"><a href="mailto:Debasish.Paimazumder@aig.com" target="_blank">Debasish.Paimazumder@aig.com</a></span></u><span style="font-size:12pt;color:blue">
</span><b><span style="font-size:12pt;color:rgb(0,176,240)"><u></u><u></u></span></b></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Associate Scientist, Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br><br></div></div></div></div></div>