Skip to main content

Readers for the data from the International Soil Moisture Database

Project description

https://travis-ci.org/TUW-GEO/ismn.svg?branch=master https://coveralls.io/repos/TUW-GEO/ismn/badge.png?branch=master https://badge.fury.io/py/ismn.svg https://readthedocs.org/projects/ismn/badge/?version=latest

Readers for the data from the International Soil Moisture Database (ISMN).

Description

ISMN data can be downloaded for free after registration from the ISMN Website

In case of the ISMN, two different formats are provided:

  • Variables stored in separate files (CEOP formatted)

    this format is supported 100% and should work with all examples

  • Variables stored in separate files (Header+values)

    this format is supported 100% and should work with all examples

If you downloaded ISMN data in one of the supported formats in the past it can be that station names are not recognized correctly because they contained the ‘_’ character which is supposed to be the separator. If you experience problems because of this please download new data from the ISMN since this issue should be fixed.

Installation

This package should be installable through pip:

pip install ismn

Setup Development environment

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

  2. Run conda env create -f environment.yml this will install all the dependencies listed in the environment.yml file in this repository. By default this will create a new conda enviroment with the name ismn. This can be changed by editing the 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/ismn.git ismn
cd ismn
conda env create -f environment.yml
source activate ismn
pip install -r test-requirements.txt

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 second to last line in the example activates the ismn environment.

After that you should be able to run:

python setup.py test

to run the test suite.

Citation

If you use the software please cite it using the following DOI:

https://zenodo.org/badge/101878880.svg

Note

This project has been set up using PyScaffold 2.5.7. For details and usage information on PyScaffold see http://pyscaffold.readthedocs.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

ismn-0.2.tar.gz (1.2 MB view hashes)

Uploaded Source

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