If you gave data(year,month,lat,lon)
dstd = data
do nmo=0,11
dstd(:,nmo,:,:) = (/ dim_standardize_n(data(:,nmo,:,:),0) /)
end do
On 1/13/14, 12:19 PM, Xin Xi wrote:
> Hello,
> I want to calculate standardized anomaly of a time series of dimension:
> year x month x lat x lon. The concept is to remove the mean monthwise on
> each grid cell, that is, for each grid, calculate the mean of all January
> of year_1-year_n, remove the mean, and standardize the deviation by the
> std_dev of the January time series.
>
> I wonder whether the dim_standardize_n function does this job?
>
> If it does, should I use it like this: output = dim_standardize_n(data,0,1)
> ?
>
> Thanks,
> Xin
>
>
>
> _______________________________________________
> 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 Wed Jan 15 08:30:55 2014
This archive was generated by hypermail 2.1.8 : Sun Jan 19 2014 - 21:56:35 MST