Image Analyst ライセンスで利用できます。
概要
Creates a raster object that contains the anomaly pixel values of the input multidimensional raster based on a time dimension interval and the anomaly calculation method.
ディスカッション
Use the Anomaly function to calculate pixel value anomalies for temporal variables in a multidimensional raster object. For example, if you have daily precipitation data, you can find the pixels that are highly different from the monthly average precipitation values throughout your dataset. This function does not support calculating anomalies over a dimension other than time, such as height or depth.
The three mathematical methods for calculating anomaly values with this function are as follows:
Difference from mean = x - µ
- x = pixel value in a slice
- µ = mean of that pixel's values over a given time interval
Percent difference from mean = 100 × |x - µ| /[(x - µ)/2]
- x = pixel value in a slice
- µ = mean of that pixel's values over a given time interval
- |x - µ| = absolute value of the difference between the value and the mean
Percent of average = x / µ
- x = pixel value in a slice
- µ = mean of that pixel's values over a given time interval
The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.
構文
Anomaly (in _raster, {anomaly_type}, {temporal_interval})
パラメーター | 説明 | データ タイプ |
in
_raster | The input multidimensional raster. | Raster |
anomaly_type | Specifies the method used to calculate the anomaly.
(デフォルト値は次のとおりです DIFFERENCE_FROM_MEAN) | String |
temporal_interval | Specifies the temporal interval to use to calculate the average.
(デフォルト値は次のとおりです ALL) | String |
データ タイプ | 説明 |
Raster | The output anomaly multidimensional raster. |
コードのサンプル
Calculate precipitation anomalies across all slices and for monthly values.
Missing source code file