PlanetaryComputerModelFactory.GetItemAssetStatisticsOptions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for item per-asset statistics operations.
public static Azure.Analytics.PlanetaryComputer.GetItemAssetStatisticsOptions GetItemAssetStatisticsOptions(string collectionId = default, string itemId = default, System.Collections.Generic.IEnumerable<int> bidx = default, System.Collections.Generic.IEnumerable<string> assets = default, System.Collections.Generic.IEnumerable<string> assetBandIndices = default, string noData = default, bool? unscale = default, Azure.Analytics.PlanetaryComputer.WarpKernelResampling? reproject = default, Azure.Analytics.PlanetaryComputer.ResamplingMethod? resampling = default, int? maxSize = default, bool? categorical = default, System.Collections.Generic.IEnumerable<int> categoriesPixels = default, System.Collections.Generic.IEnumerable<int> percentiles = default, string histogramBins = default, string histogramRange = default, string subdatasetName = default, System.Collections.Generic.IEnumerable<int> subdatasetBands = default, string crs = default, string datetime = default, System.Collections.Generic.IEnumerable<string> sel = default, Azure.Analytics.PlanetaryComputer.SelMethod? selMethod = default, System.Collections.Generic.IEnumerable<string> assetExpression = default, int? height = default, int? width = default);
static member GetItemAssetStatisticsOptions : string * string * seq<int> * seq<string> * seq<string> * string * Nullable<bool> * Nullable<Azure.Analytics.PlanetaryComputer.WarpKernelResampling> * Nullable<Azure.Analytics.PlanetaryComputer.ResamplingMethod> * Nullable<int> * Nullable<bool> * seq<int> * seq<int> * string * string * string * seq<int> * string * string * seq<string> * Nullable<Azure.Analytics.PlanetaryComputer.SelMethod> * seq<string> * Nullable<int> * Nullable<int> -> Azure.Analytics.PlanetaryComputer.GetItemAssetStatisticsOptions
Public Shared Function GetItemAssetStatisticsOptions (Optional collectionId As String = Nothing, Optional itemId As String = Nothing, Optional bidx As IEnumerable(Of Integer) = Nothing, Optional assets As IEnumerable(Of String) = Nothing, Optional assetBandIndices As IEnumerable(Of String) = Nothing, Optional noData As String = Nothing, Optional unscale As Nullable(Of Boolean) = Nothing, Optional reproject As Nullable(Of WarpKernelResampling) = Nothing, Optional resampling As Nullable(Of ResamplingMethod) = Nothing, Optional maxSize As Nullable(Of Integer) = Nothing, Optional categorical As Nullable(Of Boolean) = Nothing, Optional categoriesPixels As IEnumerable(Of Integer) = Nothing, Optional percentiles As IEnumerable(Of Integer) = Nothing, Optional histogramBins As String = Nothing, Optional histogramRange As String = Nothing, Optional subdatasetName As String = Nothing, Optional subdatasetBands As IEnumerable(Of Integer) = Nothing, Optional crs As String = Nothing, Optional datetime As String = Nothing, Optional sel As IEnumerable(Of String) = Nothing, Optional selMethod As Nullable(Of SelMethod) = Nothing, Optional assetExpression As IEnumerable(Of String) = Nothing, Optional height As Nullable(Of Integer) = Nothing, Optional width As Nullable(Of Integer) = Nothing) As GetItemAssetStatisticsOptions
Parameters
- collectionId
- String
STAC Collection Identifier.
- itemId
- String
STAC Item Identifier.
- bidx
- IEnumerable<Int32>
Dataset band indexes.
- assets
- IEnumerable<String>
Asset's names.
- assetBandIndices
- IEnumerable<String>
Per asset band indexes.
- noData
- String
Overwrite internal Nodata value.
- reproject
- Nullable<WarpKernelResampling>
WarpKernel resampling algorithm (only used when doing re-projection).
- resampling
- Nullable<ResamplingMethod>
Resampling method.
Maximum dimension in pixels for the source data used to calculate statistics.
- categoriesPixels
- IEnumerable<Int32>
List of pixel categorical values for which to report counts.
- percentiles
- IEnumerable<Int32>
List of percentile values (default to [2, 98]).
- histogramBins
- String
Defines the number of equal-width bins in the given range (10, by default).
If bins is a sequence (comma , delimited values), it defines a monotonically
increasing array of bin edges, including the rightmost edge, allowing for
non-uniform bin widths.
link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
- histogramRange
- String
Comma , delimited range of the bins.
The lower and upper range of the bins. If not provided, range is simply
(a.min(), a.max()).
Values outside the range are ignored. The first element of the range must be
less than or equal to the second.
range affects the automatic bin computation as well.
link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
- subdatasetName
- String
The name of a subdataset within the asset.
- subdatasetBands
- IEnumerable<Int32>
The index of a subdataset band within the asset.
- crs
- String
Coordinate Reference System.
- datetime
- String
Either a date-time or an interval, open or closed. Date and time expressions adhere to RFC 3339. Open intervals are expressed using double-dots. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z"
- Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z"
- sel
- IEnumerable<String>
Xarray Indexing using dimension names {dimension}={value}.
- assetExpression
- IEnumerable<String>
Per asset band expression.
Returns
A new GetItemAssetStatisticsOptions instance for mocking.