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 details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for ismn-0.2.tar.gz
Algorithm Hash digest
SHA256 63ca9d4f68e93a67f4b9a4472a67df6722caaacefbdc84b24a04ecf6b2b7eb8f
MD5 82ab312c4fd4c67b0eb6af1ac80b5d71
BLAKE2b-256 f51146ddcc12199640a6f7f4495cd5473f0e45b87f9b89fed61f81f70a492aa6

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