[ncl-talk] accumulate data on grid

Barry Lynn barry.h.lynn at gmail.com
Sun Oct 18 01:49:48 MDT 2020


Hi:

If you have two grids of the same dimensions, but different times, you can
simply add them together.

If you have grids of a different size, you can interpolate the data to this
grid, one grid at a time.

See for example:

https://www.ncl.ucar.edu/Applications/regrid.shtml

This may also help.

https://www.ncl.ucar.edu/Document/Functions/Built-in/dim_sum_n.shtml

On Sun, Oct 18, 2020 at 7:59 AM Paimazumder, Debasish via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Hi NCL users
>
> I have location level data and 2d lat, lon grid and I’m trying to
> accumulate the data on  2d lat, lon grid.
>
>
>
> For example
>
> Input - x (n) with lat(n), lon(n)
>
> Output grid - lat(i)xlon(j)
>
> I’m trying to estimate number of location within each grid and accumulate
> x at each grid.
>
> Is there any function in NCL that will solve this problem?
>
>
>
> With regards
>
> -Debasish
>
>
>
> *Debasish PaiMazumder, PhD |*Tel +1 215 255 6052 <%2B1%20215%20255%206371>
> | Cell +1 267 449 5226 <%2B1%20718%20913%206946> |*Debasish.Paimazumder at aig.com
> <Debasish.Paimazumder at aig.com>*
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk



-- 
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201018/7bdbc832/attachment.html>


More information about the ncl-talk mailing list