CoordinateReferenceSystem

class of dascore.core.inventory
inherits from: InventoryModel, DascoreBaseModel, pydantic.main.BaseModel
source

CoordinateReferenceSystem(
    description: str = ““,
    extra_fields: collections.abc.Mapping[str, str | int | float | bool[str, int, float, bool]] = ,
    authority: str = EPSG,
    code: str = 4979,
    name: str = WGS 84 3D,
    coordinate_labels: tuple[Literal[‘x’, ‘y’, ‘z’, ‘latitude’, ‘longitude’, ‘elevation’, ‘depth’, ‘easting’, ‘northing’], …] = (‘longitude’, ‘latitude’, ‘elevation’),
    units: tuple[str, …] = (‘degree’, ‘degree’, ‘meter’),
    vertical_datum: str =”“,
    wkt: str =”“,
)-> None

Inventory-wide coordinate reference system.

All coordinate-bearing metadata is interpreted using this CRS. The default is geographic WGS84 3D (EPSG:4979).

Methods

Name Description
axis_index Return the canonical axis position for a coordinate label.
new Create a new instance with some attributes updated.