Skip to main content

veranda is a place for IO related classes and operations dealing with multi-dimensional vector and raster data.

Project description

veranda

Build Status Coverage Status PyPi Package RTD License: MIT

Description

veranda stands for "vector and raster data access" and is a place for IO related classes and operations dealing with raster and vector data. Besides bridging the gap between rigid and complex packages like GDAL to increase user-friendliness and flexibility (similar to rasterio) it defines common ground to unite the world of raster and vector data and harmonise the entry point to access different data formats or multiple files.

veranda consist of two modules raster and vector each containing the submodules native and mosaic. native contains several classes for interacting with one file/data format, e.g. GeoTIFF or NetCDF. On the other hand, the mosaic module offers a datacube-like interface to work with multiple, structured files, which can be distributed based on a mosaic/grid in space or along a stack dimension, e.g. time, atmospheric layers, etc.

For further details we recommend to look at veranda's documentation or tests.

Installation

The package can be either installed via pip or if you want to contribute, we recommend to install it as a conda environment.

pip

To install veranda via pip in your own environment, use:

pip install veranda

ATTENTION: GDAL needs more OS support and has more dependencies then other packages and can therefore not be installed solely via pip. Please have a look at https://pypi.org/project/GDAL/ what requirements are needed. Thus, for a fresh setup, an existing environment with working a GDAL installation is expected.

conda

The packages also comes along with one conda environment conda_environment.yml. This is especially recommended if you want to contribute to the project. The following script will install miniconda and setup the environment on a UNIX like system. Miniconda will be installed into $HOME/miniconda.

wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
conda env create -f conda_environment.yml
source activate veranda

This script adds $HOME/miniconda/bin temporarily to the PATH to do this permanently add export PATH="$HOME/miniconda/bin:$PATH" to your .bashrc or .zshrc.

For Windows, use the following setup:

  • Download the latest miniconda 3 installer for Windows
  • Click on .exe file and complete the installation.
  • Add the folder condabin folder to your environment variable PATH. You can find the condabin folder usually under: C:\Users\username\AppData\Local\Continuum\miniconda3\condabin
  • Finally, you can set up the conda environment via:
    conda env create -f conda_environment.yml
    source activate veranda
    

After that you should be able to run

python setup.py test

to run the test suite.

Contribution

We are happy if you want to contribute. Please raise an issue explaining what is missing or if you find a bug. We will also gladly accept pull requests against our master branch for new features or bug fixes. If you want to contribute please follow these steps:

  • Fork the veranda repository to your account
  • Clone the veranda repository
  • Make a new feature branch from the veranda master branch
  • Add your feature
  • Please include tests for your contributions in one of the test directories. We use py.test so a simple function called test_my_feature is enough
  • Submit a pull request to our master branch

Outlook

The next major release will contain significant support for vector data including IO for SHP and LASZ files. In addition the raster module will be extended to allow for accessing ZARR or HDF data for performant time series queries.

Citation

If you use this software in a publication then please cite it using the Zenodo DOI.

Note

This project has been set up using PyScaffold 3.2.2. For details and usage information on PyScaffold see https://pyscaffold.org/.

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

veranda-1.0.1.tar.gz (149.5 kB view details)

Uploaded Source

Built Distribution

veranda-1.0.1-py2.py3-none-any.whl (49.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file veranda-1.0.1.tar.gz.

File metadata

  • Download URL: veranda-1.0.1.tar.gz
  • Upload date:
  • Size: 149.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for veranda-1.0.1.tar.gz
Algorithm Hash digest
SHA256 225bb82689a7f20e3efb1450b20ba982086a51c539ba4e53cfd55402c02c35fc
MD5 cb683eae742dd338fa403239be5c32d8
BLAKE2b-256 33d2232f704c874cb39a0b18c848d9faeb939da83f5cda3b7bf194eb5ace5890

See more details on using hashes here.

File details

Details for the file veranda-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: veranda-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 49.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for veranda-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 caff44e28f2c4dce4270bc5ad63d85543a5ab047e0cddc5cbb8ab9bf0c02496e
MD5 198cb27c210d3cc3a3d088ef39638345
BLAKE2b-256 7f02043aec556dfd3e5e01a6adcd11fe76b163ad1b5cb2057ae4f814afbfdae3

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