Re: Areal Standard Deviation

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Feb 11 2013 - 10:48:36 MST

If you want to take the standard deviation as a function of time, then you want:

   std = dim_stddev_n_Wrap(X,(/1,2/)) ; [time]

The (/1,2/) refers to dimensions #1 and #2. Since dimension numbering in NCL
starts at 0, this means 1,2 refer to lat,lon.

--Mary

On Feb 7, 2013, at 12:23 PM, Ahmad Farsyud wrote:

> Dear NCL and Expert,
>
> I have a simple question. Am I correct if I want to calculate the stdev for an area 2D with my data X [timexlatxlon],
> the main flow is as follow:
>
> X [timexlatxlon]
>
> std = dim_stddev_n_Wrap (X, 2) ; [timexlat]
> areastd = dim_avg_n_Wrap (std,1) ; [time]
>
> or
>
> std = dim_stddev_n_Wrap (X, 1) ; [timexlon]
> areastd = dim_avg_n_Wrap (std,1) ; [time]
>
>
> the result that I want to have is the deviation as a function of time.
> Thanks for your help.
>
> A. Farsyud
> _______________________________________________
> 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 Mon Feb 11 10:48:46 2013

This archive was generated by hypermail 2.1.8 : Wed Feb 13 2013 - 09:25:58 MST