odc.geo.xr.ODCExtension

class odc.geo.xr.ODCExtension(state)[source]

ODC extension base class.

Common accessors for both Array/Dataset.

__init__(state)[source]

Methods

__init__(state)

map_bounds()

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

output_geobox(crs, **kw)

Compute geobox of this data in other projection.

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]