Skip to main content

Vector data cubes for Xarray

Project description

Vector data cubes for Xarray

Where raster data cubes refer to data cubes with raster (x- and y-, or lon- and lat-) dimensions, vector data cubes are n-D arrays that have (at least) a single spatial dimension that maps to a set of (2-D) vector geometries. (Edzer Pebesma)

Xvec combines Xarray n-D arrays and shapely 2 planar vector geometries to create a support for vector data cubes in Python. See this post by Edzer Pebesma on an introduction of the concept or the introduction of their implementation in Xvec in our documentation.

Project status

The project is in the early stage of development and its API may still change.

Installing

You can install Xvec from PyPI using pip or from conda-forge using mamba or conda:

pip install xvec

Or (recommended):

mamba install xvec -c conda-forge

Development version

The development version can be installed from GitHub.

pip install git+https://github.com/xarray-contrib/xvec.git

We recommend installing its dependencies using mamba or conda before.

mamba install xarray shapely pyproj -c conda-forge

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

xvec-0.3.0.tar.gz (275.0 kB view details)

Uploaded Source

Built Distribution

xvec-0.3.0-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file xvec-0.3.0.tar.gz.

File metadata

  • Download URL: xvec-0.3.0.tar.gz
  • Upload date:
  • Size: 275.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for xvec-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8c63ef9ce0f680e986e8553ace19c2b65fb37a992074cc14a918cc297f97bc65
MD5 2e74617be23b943ca447dc479f4d0b56
BLAKE2b-256 4ea889a547e59591077299f46127287a6f9dd4b844578d95bb49f3b0126f6d24

See more details on using hashes here.

File details

Details for the file xvec-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: xvec-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for xvec-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a64410ca409721289e410418320a6d5ab7970095206366bec56e660bcb227adc
MD5 176c8fa15d89b18d606cf4de7af4a648
BLAKE2b-256 a110ee3183bd0a2ad6e178e02780a9a6911c068024b26303f018e05c0d29149f

See more details on using hashes here.

Supported by

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