Hopefully, stat_dispersion and dim_median_n would give the same answer.
Consider Q(y,x)
http://www.ncl.ucar.edu/Document/Functions/Contributed/stat_dispersion.shtml
opt = True
opt@PrintStat = True
statb = stat_dispersion(Q, opt )
====
http://www.ncl.ucar.edu/Document/Functions/Built-in/dim_median_n.shtml
For the latter: Q(y,x)
0 1 < dimension numbers
med = dim_median_n(Q,(/0,1/)) ; both dimensions combined
On 2/25/14, 3:10 PM, Lisa Alexander wrote:
> Hi,
>
> For example, if I have a variable (say radar reflectivity) with (y,x) coordinates, how would I find the median for the whole variable or a fraction of it (not just one dimension as dim_median does)?
>
> I am having some trouble finding information on your website about this...would it be the stat_dispersion function, or is there an easier way?
>
> Thanks,
> Lisa
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 25 15:20:13 2014
This archive was generated by hypermail 2.1.8 : Mon Mar 03 2014 - 14:26:18 MST