Find Argument Statistics (Image Analyst Tools)
Summary
Extracts the dimension value or band index at which a given statistic is attained for each pixel in a multidimensional or multiband raster.
Usage
Use the Find Argument Statistics tool to extract the dimension value (for example, the date, height, or depth) at which a specific statistic is reached in the stack of rasters in a multidimensional raster dataset. Alternatively, find the band number at which the statistic is reached in a multiband raster.
For example, you can find the month in which each pixel reached the highest sea surface temperature over 30 years of data collection. Another example is you have an eight-band remote sensing image and you want to know the band in which the minimum reflectance value was reached for each pixel.
Supported multidimensional raster datasets include Cloud Raster Format (CRF), multidimensional mosaic datasets, or multidimensional raster layers generated by netCDF, GRIB, or HDF format files.
This tool produces a multidimensional raster dataset in Cloud Raster Format (CRF). Currently, no other output formats are supported.
If the input multidimensional raster contains only one dimension, the output will be a single-band raster dataset. If the input multidimensional raster contains multiple dimensions, the output multidimensional raster will include those dimensions that were not included in the analysis.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Multidimensional or Multiband Raster |
The input multidimensional or multiband raster to be analyzed. |
Raster Dataset; Raster Layer; Mosaic Dataset; Mosaic Layer; Image Service; File |
|
Dimension (Optional) |
The dimension from which the statistic will be extracted. If the input raster is not a multidimensional raster, this parameter is not required. |
String |
|
Dimension Definition (Optional) |
Specifies how the statistic will be extracted from the dimension.
|
String |
|
Keyword Interval (Optional) |
The unit of time for which the statistic will be extracted. For example, you have five years of daily sea surface temperature data and you want to know the year in which the maximum temperature was observed. Set the Statistics Type parameter to Argument of the maximum, set the Dimension Definition parameter to Interval Keyword, and set the Keyword Interval parameter to Yearly. Alternatively, if you want to know the month in which the maximum temperature was consistently observed, set the Statistics Type parameter to Argument of the maximum, set the Dimension Definition parameter to Interval Keyword, and set the Keyword Interval parameter to Recurring Monthly. This will generate a raster in which each pixel contains the month in which the statistic was reached across the five-year record (for example, 08/18/2018, 08/25/2016, 08/07/2013). This parameter is required when the Dimension parameter is set to StdTime and the Dimension Definition parameter is set to Interval Keyword.
|
String |
|
Variables [Dimension Info] (Description) (Optional) |
The variable or variables to be analyzed. If the input raster is not multidimensional, the pixel values of the multiband raster are considered the variable. If the input raster is multidimensional and no variable is specified, all variables with the selected dimension will be analyzed. For example, to find the years in which temperature values were highest, specify temperature as the variable to be analyzed. If you do not specify any variables and you have both temperature and precipitation variables, both variables will be analyzed, and the output multidimensional raster will include both variables. |
String |
|
Statistics Type (Optional) |
Specifies the statistic to extract from the variable or variables along the given dimension.
|
String |
|
Minimum Value (Optional) |
The minimum variable value to be used to extract the duration. This parameter is required when the Statistics Type parameter is set to Duration. |
Double |
|
Maximum Value (Optional) |
The maximum variable value to be used to extract the duration. This parameter is required when the Statistics Type parameter is set to Duration. |
Double |
|
Multiple Occurrence Value (Optional) |
The pixel value to use to indicate that a given argument statistic was reached more than once in the input raster dataset. If not specified, the pixel value will be the value of the dimension as specified by the Occurrence parameter, either the first or last occurrence. |
Long |
|
Ignore NoData (Optional) |
Specifies whether NoData values will be ignored in the analysis.
|
Boolean |
|
Argument Value (Optional) |
The value at which a comparison will be made to extract the dimension value. This parameter is required when the Statistics Type parameter is set to Argument of the value. |
Long |
|
Comparison (Optional) |
Specifies the comparison type that will be used to extract the dimension value.
|
String |
|
Occurrence (Optional) |
Specifies whether the value of the dimension will be returned the first time or last time the argument statistic is reached.
|
String |
Return value
| Label | Explanation | Data type |
|---|---|---|
|
Output Raster |
The output raster dataset. |
Raster |
Environments
Cell Size, Compression, Current Workspace, Geographic Transformations, NoData, Output CONFIG Keyword, Output Coordinate System, Extent, Parallel Processing Factor, Pyramid, Raster Statistics, Resampling Method, Scratch Workspace, Snap Raster, Tile Size
Licensing information
- Basic: Requires Image Analyst
- Standard: Requires Image Analyst
- Advanced: Requires Image Analyst