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.1.0.tar.gz (29.0 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.1.0-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xproj-0.1.0.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for xproj-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0be38262d78c00ab0429839eb980b14a04e420d381fb67673f2c42d21c17feac
MD5 62dac25bd24174dce2edf63c4fc9ac08
BLAKE2b-256 b276ef66ceaf41e6dd287f25dfe53537c7ef8a768a5aa0747b951274eba92dac

See more details on using hashes here.

Provenance

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

Publisher: packaging.yml on benbovy/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.1.0-py3-none-any.whl.

File metadata

  • Download URL: xproj-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for xproj-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f3fce73be20d84109da921c2e58302d615c83deb2b02c8db6756cb772b5efae
MD5 5f4703f2b8e75a9c91a1aa887eaeb783
BLAKE2b-256 7d0d692d2bd799753e3339d9fb8e97fb9c185cf1a0fe573166905f79a7069797

See more details on using hashes here.

Provenance

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

Publisher: packaging.yml on benbovy/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