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/12761/TUW-GEO/ismn.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.1.tar.gz (1.2 MB view details)

Uploaded Source

File details

Details for the file ismn-0.1.tar.gz.

File metadata

  • Download URL: ismn-0.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ismn-0.1.tar.gz
Algorithm Hash digest
SHA256 f9ee5ebf5863ece4ddd6bfec0b54a6346e05acfa85f1b76830f5c106687c67ef
MD5 1cd8f2033aca8f6a82f69249b414d617
BLAKE2b-256 267791eea4fa8d670d36ec8b08b70766080336e4b2c9b6a61e7d3cdc9cb06668

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