Rafael
The simplest way would be to increase the dimensionality of your st. deviation array from 2D to 3D, using either the 'conform()' or the 'conform_dims()" functions.
http://www.ncl.ucar.edu/Document/Functions/Built-in/conform.shtml
From: rafael dido <raf.eldido@gmail.com<mailto:raf.eldido@gmail.com>>
Date: Wednesday, 9 January 2013 12:01 PM
To: "ncl-talk@ucar.edu<mailto:ncl-talk@ucar.edu> USERS" <ncl-talk@ucar.edu<mailto:ncl-talk@ucar.edu>>
Subject: standardized anomalies [ fatal:Div: Number of dimensions do not match, can't continue]
Hallo,
I have smoothing anomalies datasets [time x lat x lon],
and simply need to calculate standardized anomalies by deviding the
anomalies by the standard deviation for each grid. Using dim_standardize_n_Wrap
was not helping me since the anomalies have been calculated seperately with specific
treatment.
I tried to calculate the stdev using dim_stddev_Wrap, but since the output is
2D [latxlon]. I am aware that I can not directly divide the anomalies 3D by 2D stdev.
Is there any way how to extract the standardized anomalie in this case.
Thanks a lot.
Raf.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jan 8 18:05:17 2013
This archive was generated by hypermail 2.1.8 : Mon Jan 14 2013 - 14:31:38 MST