Skip to main content

Abstract I/O class definitions.

Project description

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

Documentation

Documentation Status

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.

Setup Development environment

  1. Install Miniconda. This will give you the conda command in your shell.

  2. Run conda env create -f conda_environment.yml this will install all the dependencies listed in the conda_environment.yml file in this repository. By default this will create a new conda enviroment with the name pygeobase_env. This can be changed by editing the conda_environment.yml file.

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.

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.3.14.tar.gz (26.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pygeobase-0.3.14.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygeobase-0.3.14.tar.gz
Algorithm Hash digest
SHA256 0aa3f4971ff8bc94404f3d7bf7ebf321848f6767f538b68f2fa8ecd6f2b2ef07
MD5 a0edd9f83faca5ca1d21f7aa41d6dab9
BLAKE2b-256 8f082d56b008a7f3a72d5f7d8a9a23a9a9d75e37c4bd0505e7fe30a7e6f94941

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