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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xvec-0.1.0.tar.gz
.
File metadata
- Download URL: xvec-0.1.0.tar.gz
- Upload date:
- Size: 173.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23639ef4edbee86b10f3758a6436fd1907348baadd935cab35604d4930cd1a6f |
|
MD5 | 42733285f508d68409a703c5308ac6ba |
|
BLAKE2b-256 | fd327e7aba9367d3e2605ca073d2f1ea9ad70705a775cf20c8f9647f1adf5535 |
File details
Details for the file xvec-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: xvec-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 603656cf7341e4959654a8837792d5e66758fa9dd916757746587dd89fc7f098 |
|
MD5 | 427b543cc38ec54d77b55f643111df3e |
|
BLAKE2b-256 | 5484173d374bd2693653ff7d413ba03713934a0145943a3a12f9a8eba65a0b07 |