pytesmo - a Python Toolbox for the Evaluation of Soil Moisture Observations¶
pytesmo, the Python Toolbox for the Evaluation of Soil Moisture Observations, is a package/python toolbox which aims it is to provide a library that can be used for the comparison and validation of geospatial time series datasets with a (initial) focus on soil moisture.
Documentation & Software Citation¶
To see the latest full documentation click on the docs badge at the top.
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.596422 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
This package should be installable through pip which downloads the package
from the python package repository Pypi.
However, pytesmo also needs some packages that depend on C or Fortran libraries (like
They should be installed first with conda. See http://conda.pydata.org/docs/ on how to use it.
We recommend using either Anaconda or
$ conda install -c conda-forge numpy scipy pandas netCDF4 cython pyresample pyresample
pytesmo can be installed via pip.
$ pip install pytesmo
You can also install all needed (conda and pip) dependencies at once using the following
commands after cloning this repository.
This is recommended for developers of the package. Note that the git
will clone test-data, which is needed by some tests.
$ git clone https://github.com/TUW-GEO/pytesmo.git --recursive $ cd pytesmo $ conda create -n pytesmo python=3.6 # or any supported python version $ source activate pytesmo $ conda update -f environment.yml -n pytesmo $ python setup.py develop
If you are using windows and conda is missing a package then always check http://www.lfd.uci.edu/~gohlke/pythonlibs/ to see if there is already a precompiled .exe or .whl file for you to easily install.
Soil moisture is observed using different methods and instruments, in this version several satellite datasets as well as in situ and reanalysis data are supported through independent and optional (reader) packages:
- ERS & H-SAF ASCAT products
- GLDAS Noah
- ERA5 and ERA5-Land
- C3S SM
- ESA CCI SM
- Data from the International Soil Moisture Network (ISMN)
- In case of the ISMN, two different formats are provided: An example of how to use the dataset in the pytesmo validation framework can be found in the “Examples” chapter. * Variables stored in separate files (CEOP formatted)
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.
If you want to contribute please follow these steps:
- Fork the pytesmo repository to your account
- Clone the repository, make sure you use
git clone --recursiveto also get the test data repository.
- make a new feature branch from the pytesmo 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
In order to make a working release for windows the
whl files for windows
from appveyor CI have to be uploaded to PyPI. They can be found on the appveyor
CI run for the created tag under the
jobs/Artifacts tab. All the
files should be downloaded into a folder. They can then be added to the release
on PyPI using e.g.
twine upload pytesmo-0.7.1*whl
This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.
- Version 0.9.1, 2020-09-14
- Version 0.9, 2020-07-02
- Version 0.8, 2019-11-21
- Version 0.7.1, 2019-09-03
- Version 0.7.0, 2019-05-15
- Version 0.6.11, 2019-05-15
- Version 0.6.10, 2018-04-09
- Version 0.6.9, 2018-02-06
- Version 0.6.8, 2017-08-29
- Version 0.6.7, 2017-07-25
- Version 0.6.6, 2017-07-14
- Version 0.6.5, 2017-07-10
- Version 0.6.4, 2017-06-02
- Version 0.6.3, 2017-04-28
- Version 0.6.2, 2017-01-13
- Version 0.6.1, 2017-01-13
- Version 0.6.0, 2016-07-29
- Version 0.5.2, 2016-04-26
- Version 0.5.1, 2016-04-21
- Version 0.5.0, 2016-04-20
- Version 0.4.0, 2016-03-24
- Version 0.3.6, 2015-12-10
- Version 0.3.5, 2015-11-04
- Version 0.3.4, 2015-10-23
- Version 0.3.3, 2015-08-26
- Version 0.3.2, 2015-07-09
- Version 0.3.1, 2015-07-09
- Version 0.3.0, 2015-05-26
- Version 0.2.5, 2014-12-15
- Version 0.2.4, 2014-12-09
- Version 0.2.3, 2014-10-03
- Version 0.2.2, 2014-10-03
- Version 0.2.1, 2014-8-14
- Version 0.2.0, 2014-06-12
- Version 0.1.3, 2014-05-26
- Version 0.1.2, 2014-04-16
- Version 0.1.1, 2013-11-18
- Module Reference