pytesmo is a package which aims it is not provide a standard library that can be used for the comparison and validation of soil moisture datasets from different sources. It contains the code used by the Satellite Soil Moisture Validation Tool For ASCAT.
Soil moisture is observed using different methods and instruments, in this version the following datasets are supported.
Right now only soil moisture observations made with the ASCAT sensor on board the METOP satellites are supported but we are working on support for more products.
which can both be downloaded for free after registration at http://rs.geo.tuwien.ac.at/products/
ISMN data can be downloaded for free after registration from http://ismn.geo.tuwien.ac.at/
In case of the ISMN, 3 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
CEOP Reference Data Format
this format can be read with the readers in pytesmo.io.ismn.readers but is not supported for more complex queries since it is missing sensor information , only provides soil moisture and soil temperature and contains several depths in one file.
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 seperator. If you experience problems because of this please download new data from the ISMN since this issue should be fixed.
The package source code can be downloaded from http://rs.geo.tuwien.ac.at/validation_tool/pytesmo/pytesmo-0.1.zip
It can also be installed using pip see Windows and Linux
In order to enjoy all pytesmo features python version 2.7.5 with the following packages has to be installed
optional
pykdtree https://github.com/storpipfugl/pykdtree
which makes Nearest Neighbor search faster
For users with little python experience, using Windows, the easiest way to install everything but matplotlib-basemap is to install winpython from https://code.google.com/p/winpython/ and then download basemap from http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/ and add it to your winpython installation using the winpython Control Panel.
Just make sure that you download both for the same architecture (32/64 bit) and the same python version (2.7)
You can then add pytesmo-0.1.zip to your winpython installation with the winpython Control Panel
After that you can open spyder from the winpython installation directory and start testing pytesmo.
If you already have a working python installation with the necessary packages just cd to the unzipped pytesmo-0.1 folder and use:
python setup.py install
or if you’d rather use pip then do:
pip install pytesmo
If you want to contribute please contact http://rs.geo.tuwien.ac.at/our-team/christoph-paulik/ to see if the feature you want to work on is not already implemented.
You can also just check out the code at https://github.com/TUW-GEO/pytesmo