odc.geo.xr.ODCExtensionDs

class odc.geo.xr.ODCExtensionDs(ds)[source]

ODC extension for xarray.Dataset.

__init__(ds)[source]

Methods

__init__(ds)

assign_crs(crs[, crs_coord_name])

rtype

Dataset

map_bounds()

See odc.geo.geobox.GeoBox.map_bounds().

output_geobox(crs, **kw)

Compute geobox of this data in other projection.

reproject(how, *[, resampling, dst_nodata])

rtype

Dataset

to_rgba([bands, vmin, vmax])

Convert dataset to RGBA image.

Attributes

affine

rtype

Optional[Affine]

crs

Query CRS.

geobox

Query GeoBox or GCPGeoBox.

spatial_dims

Return names of spatial dimensions, or None.

transform

rtype

Optional[Affine]

uncached

rtype

ODCExtensionDs