Skip to main content

Xarray extension for projections and coordinate reference systems

Project description

Tests Docs Coverage

XProj

A lightweight Xarray extension for managing geospatial coordinate reference systems (CRS) using PROJ/Pyproj.

Current development status: experimental, proof-of-concept.

Usage

See the documentation.

Goals

  • Provide to Xarray geospatial extensions a set of convenient tools for dealing with coordinate reference systems (CRS) in a uniform & flexible way.
  • Prevent duplicating CRS-specific logic (e.g., parse, reset, formatting, checking equality, etc.) in each extension ; put it together into one reusable package instead (i.e., a lightweight Xarray extension mostly built on top of pyproj).
  • Provide a common end-user API for handling CRS via Xarray accessors.
  • Leverage recent Xarray features such as custom indexes. Easily compare, combine or align Xarray datasets or dataarrays based on their CRS (via CRSIndex).
  • Consolidate the Xarray geospatial ecosystem (towards better interoperability).

Non-Goals

  • Being strongly opinionated on how CRS and other information like spatial dimensions should be represented as metadata in Xarray objects and/or in Xarray supported I/O formats. This is left to other Xarray extensions and format specifications.
  • Provide a common set of tools (implementations) for re-projecting data. This highly depends on the data type (i.e., raster, vector, etc.) or application and it is best handled by other Xarray extensions. We also see XProj potentially as a lightweight dependency common to those other extensions so we want to restrict XProj's dependencies to the minimum (i.e., Xarray and PyProj).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xproj-0.2.0.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xproj-0.2.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file xproj-0.2.0.tar.gz.

File metadata

  • Download URL: xproj-0.2.0.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for xproj-0.2.0.tar.gz
Algorithm Hash digest
SHA256 63113443c8232e79bf04b5088e19389118405e6d4026a7c3c0df79a7a5146730
MD5 00eec470b7dba9af04bcc2c705e5521a
BLAKE2b-256 1736aee6b712392eb52da8e946ad94a7279eb792af0f0326544da801c33633cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for xproj-0.2.0.tar.gz:

Publisher: packaging.yml on xarray-contrib/xproj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xproj-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: xproj-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for xproj-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bd5a577f2476025cc99b685edb90b7b6ab52426ca0f70de6af774e026a86b0b
MD5 4a69cdc0ebf5cdf93734afa2498f3fb6
BLAKE2b-256 38ced80467ce4bef1042703c97e674b8775e34a6bb1828c5461ed3a02ec8cc27

See more details on using hashes here.

Provenance

The following attestation bundles were made for xproj-0.2.0-py3-none-any.whl:

Publisher: packaging.yml on xarray-contrib/xproj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page