[ncl-talk] Average over all gridpoints
Dennis Shea
shea at ucar.edu
Wed Sep 2 07:57:19 MDT 2015
x(level,lat,lon)
arithmetic average over all non-missing grid points
xAve_1 = avg(x) ; xAve_1 will be a scalar
weighted average ... for each level a separate value will be returned
xAve_2(klvl)
http://www.ncl.ucar.edu/Document/Functions/Built-in/wgt_areaave.shtml
http://www.ncl.ucar.edu/Document/Functions/Contributed/wgt_areaave_Wrap.shtml
all 3 dimensions with weighting
http://www.ncl.ucar.edu/Document/Functions/Built-in/wgt_volrmse.shtml
On Wed, Sep 2, 2015 at 12:56 AM, AJILESH PP <ajileshparolla at gmail.com> wrote:
> Dear all
> I have a number of MODIS Level 2 daily (random days) data which I converted
> into a desired rectilinear grids using NCL. Now I want to get average of all
> these data at all grid points (level,lat,lon). I tried with Avg and
> dim_avg_n but the problem is there is no time dimension in data. So can't
> use dim_avg_n. This seems to be a simple problem, but I am stuck with this.
> Here is two sample data:
> 10MOD_regrid.nc
> 11MOD_regrid.nc
>
> Any help would be appreciated.
> Thank You!
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
More information about the ncl-talk
mailing list