Implements the Xarray Assets Extension.
A concrete implementation of XarrayAssetsExtension
on an Asset
that extends the Asset fields to include properties defined in the XarrayAssets Extension.
This class should generally not be instantiated directly. Instead, call XarrayAssetsExtension.ext()
on an Asset
to extend it.
Additional read-only properties accessible from the extended object.
These are used when extending an Asset
to give access to the properties of the owning Item
. If a property exists in both additional_read_properties
and properties
, the value in additional_read_properties
will take precedence.
Additional keywords for opening the dataset
The properties that this extension wraps.
The extension which implements PropertiesExtension can use _get_property
and _set_property
to get and set values on this instance. Note that _set_properties mutates the properties directly.
Additional keywords for accessing the dataset from remote storage
A concrete implementation of XarrayAssetsExtension
on a Collection
that extends the properties of the Item to include properties defined in the XarrayAssets Extension.
This class should generally not be instantiated directly. Instead, call XarrayAssetsExtension.ext()
on an Collection
to extend it.
The properties that this extension wraps.
The extension which implements PropertiesExtension can use _get_property
and _set_property
to get and set values on this instance. Note that _set_properties mutates the properties directly.
A concrete implementation of XarrayAssetsExtension
on an Item
that extends the properties of the Item to include properties defined in the XarrayAssets Extension.
This class should generally not be instantiated directly. Instead, call XarrayAssetsExtension.ext()
on an Item
to extend it.
The properties that this extension wraps.
The extension which implements PropertiesExtension can use _get_property
and _set_property
to get and set values on this instance. Note that _set_properties mutates the properties directly.
Generalized version of Collection
, Item
, or Asset
alias of TypeVar(‘T’, ~pystac.collection.Collection, ~pystac.item.Item, ~pystac.asset.Asset)
An abstract class that can be used to extend the properties of a Collection
, Item
, or Asset
with properties from the Xarray Assets Extension. This class is generic over the type of STAC Object to be extended (e.g. Item
, Asset
).
To create a concrete instance of XarrayAssetsExtension
, use the XarrayAssetsExtension.ext()
method. For example:
>>> item: pystac.Item = ... >>> xr_ext = XarrayAssetsExtension.ext(item)
Extend the given STAC Object with properties from the XarrayAssets Extension.
This extension can be applied to instances of Collection
, Item
or Asset
.
pystac.ExtensionTypeError – If an invalid object type is passed.
Gets the schema URI associated with this extension.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4