datacube.utils.geometry.CRS

class datacube.utils.geometry.CRS(crs_str)[source]

Wrapper around osr.SpatialReference providing a more pythonic interface

__init__(crs_str)[source]
Parameters:crs_str – string representation of a CRS, often an EPSG code like ‘EPSG:4326’
Raises:InvalidCRSError

Methods

__init__(crs_str)
param crs_str:string representation of a CRS, often an EPSG code like ‘EPSG:4326’

Attributes

dimensions List of dimension names of the CRS
epsg EPSG Code of the CRS or None
geographic bool
inverse_flattening
proj
projected bool
semi_major_axis
semi_minor_axis
units List of dimension units of the CRS
wkt WKT representation of the CRS