AssetSpec¶
- class geodesic.tesseract.components.AssetSpec(**spec)[source]¶
Bases:
geodesic.bases._APIObject
AssetSpec is a class to represent the requested output assets in a tesseract job.
- Parameters
**spec (dict) – A dictionary that can be used to initialize the object. Optional.
- name¶
(str) - name of this asset
Descriptor:
_StringDescr
- dataset¶
the dataset to derive this asset from
Descriptor:
_DatasetDescr
- assets¶
(str) - the assets within the dataset to use. Each will be separate band(s)/feature(s)
Descriptor:
_ListDescr
- asset_band_counts¶
(int) - list of band counts for each asset. If empty, Tesseract will infer from the dataset spec or assume it’s 1 and return a warning
Descriptor:
_ListDescr
- shape¶
the shape of the output for this asset (rows, columns)
Descriptor:
_TupleDescr
- pixel_size¶
the size of each pixel in the output SRS (x, y)
Descriptor:
_TupleDescr
- chip_size¶
(int) - size of the chips to break work into (default=512, max=2000)
Descriptor:
_IntDescr
- input_no_data¶
(int, float, complex, str) - set the value to be ignored and treated as nodata in the input
Descriptor:
_ListDescr
- output_no_data¶
(int, float, complex, str) - set the value to be ignored and treated as nodata in the output
Descriptor:
_ListDescr
- ids¶
(int, str) - list of item IDs to be used to query from the specified dataset
Descriptor:
_ListDescr
- datetime¶
(str, tuple, list) - the datetime interval to be used to query for matching data
Descriptor:
_DatetimeIntervalDescr
- query¶
//github.com/radiantearth/stac-api-spec/blob/master/item-search/README.md#query-extensionto be used to filter input data
Descriptor:
_DictDescr
- Type
(dict) - a dictionary formatted likehttps
- filter¶
//github.com/opengeospatial/ogcapi-features/tree/master/cql2
Descriptor:
_DictDescr
- Type
(dict) - a dictionary representing a JSON CQL2 filter as defined by the OGC spec
- Type
https
- feature_aggregation¶
//docs.seerai.space/tesseract/v1/index.html
Descriptor:
_TypeConstrainedDescr
- Type
(
FeatureAggregation
, dict) - how features should be aggregated into a resulting raster see REST API docs for further info- Type
https
- stac_items¶
(dict,
Feature
,Item
) - a list of OGC/STAC features/items to use in lieu of a queryDescriptor:
_ListDescr
- as_feature¶
(bool) - treat items as features (e.g. for Rasterize) instead of STAC items (usually Warp)
Descriptor:
_BoolDescr
- temporal_binning¶
(
TemporalBinning
, dict) - the temporal binning strategyDescriptor:
_TypeConstrainedDescr
- hooks¶
(
Webhook
, dict) - webhooks to be called when asset is completedDescriptor:
_ListDescr
- resample¶
(str) - resampling method to use, one of nearest, bilinear, cubic, cubicspline, lanczos, average, mode, max, min, median, q1, q3, sum, NEAREST, BILINEAR, CUBIC, CUBICSPLINE, LANCZOS, AVERAGE, MODE, MAX, MIN, MEDIAN, Q1, Q3, SUM
Descriptor:
_StringDescr
- fill_value¶
(float, int, complex) - anywhere there is no calculated data, will be replaced with this
Descriptor:
_NumberDescr
- pixel_dtype¶
(
dtype
, str) - output pixel dtypeDescriptor:
_DTypeDescr
- compression¶
(str) - the compression algorithm for output data
Descriptor:
_StringDescr
- project¶
the project the source dataset belongs to. You must have read access to this project
Descriptor:
_ProjectDescr