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.1.tar.gz (31.8 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.1-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xproj-0.2.1.tar.gz
  • Upload date:
  • Size: 31.8 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.1.tar.gz
Algorithm Hash digest
SHA256 d520c7a0df402f6a5922108ed614c8ea0ce6b04bec12c91aceb75fe3c1d3c5c3
MD5 7d12139c8660d49eae22f79a2a972061
BLAKE2b-256 48338c2bcceedfa13122916b6a582eedf9581682dbee329d95bcfb4c69542ade

See more details on using hashes here.

Provenance

The following attestation bundles were made for xproj-0.2.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: xproj-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 23.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d762c540c1bc4abc5955b4034b409b9b2f7733c3e49285f3aeb71f9a2dd6bf34
MD5 5f8326a7cffb59b833bd562373477398
BLAKE2b-256 05b9b6a9cf72aef69c3e6db869dcc130e19452a658366dac9377f9cd32a76b80

See more details on using hashes here.

Provenance

The following attestation bundles were made for xproj-0.2.1-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