Skip to main content

Add a short description here!

Project description

https://github.com/TUW-GEO/pygeobase/workflows/ubuntu/badge.svg https://github.com/TUW-GEO/pygeobase/workflows/windows/badge.svg https://coveralls.io/repos/github/TUW-GEO/pygeobase/badge.svg?branch=master https://badge.fury.io/py/pygeobase.svg https://readthedocs.org/projects/pygeobase/badge/?version=latest

The pygeobase package implements base class definitions for the I/O interface used in pytesmo, pynetCF, and other packages.

Citation

https://zenodo.org/badge/DOI/10.5281/zenodo.846761.svg

If you use the software in a publication then please cite it using the Zenodo DOI. Be aware that this badge links to the latest package version.

Please select your specific version at https://doi.org/10.5281/zenodo.846761 to get the DOI of that version. You should normally always use the DOI for the specific version of your record in citations. This is to ensure that other researchers can access the exact research artefact you used for reproducibility.

You can find additional information regarding DOI versioning at http://help.zenodo.org/#versioning

Installation

This package should be installable through pip:

pip install pygeobase

Its only dependecy is numpy. But to use it effectively you will also probably want to install pygeogrids.

Contribute

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.

Development setup

For Development we recommend a conda environment. You can create one including test dependencies and debugger by running conda env create -f conda_requirements.yml. This will create a new pygeobase_env environment which you can activate by using source activate pygeobase_env.

Example installation script

The following script will install miniconda and setup the environment on a UNIX like system. Miniconda will be installed into $HOME/miniconda.

wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
git clone git@github.com:TUW-GEO/pygeobase.git pygeobase
cd pygeobase
conda env create -f conda_environment.yml
source activate pygeobase_env

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

The last line in the example activates the pygeobase_env environment.

After that you should be able to run:

python setup.py test

to run the test suite.

Guidelines

If you want to contribute please follow these steps:

  • Fork the pygeobase repository to your account

  • Clone the repository

  • make a new feature branch from the pygeobase 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

Note

This project has been set up using PyScaffold 3.2.3. 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

pygeobase-0.5.0.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

pygeobase-0.5.0-py2.py3-none-any.whl (14.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pygeobase-0.5.0.tar.gz.

File metadata

  • Download URL: pygeobase-0.5.0.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for pygeobase-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2d864819fd93047f18acb756dce744ee8dff24276505b4a60ab5b300f2096efa
MD5 fd3e83f852b4219473ff646802eeb2ea
BLAKE2b-256 aab5d3727ad7022d04c87e665d7841e1f1cb760e287b7cd0b4e26475483577f8

See more details on using hashes here.

File details

Details for the file pygeobase-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pygeobase-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for pygeobase-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fcd9c5d6a50bd208060c7cb8215b5a06385af9462efbb08b881a77a0183f38a9
MD5 0bcfb19275bdf7606bf0ca94a7ef0260
BLAKE2b-256 91585c7905d4e58e1a2bd202077ebf88342ae0b278e7c7fead9f46dd99ddcd77

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