Python Toolbox for the evaluation of soil moisture observations
Project description
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
Installation
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 netCDF4). They should be installed first with conda. See http://conda.pydata.org/docs/ on how to use it. We recommend using either Anaconda or Miniconda.
$ conda install -c conda-forge numpy scipy pandas netCDF4 cython pyresample pyresample
Afterwards 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 --recursive flag 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
Supported Products
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:
- 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)
Contribute
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.
Guidelines
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 --recursive to 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
Release Windows
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 .whl 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
Note
This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pytesmo-0.9.tar.gz
.
File metadata
- Download URL: pytesmo-0.9.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200616 requests-toolbelt/0.8.0 tqdm/4.47.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cce95ddbaa34b78f997762d6866348ed4f27fb46310feb8885a8036331e2ad33 |
|
MD5 | 95049df7967715c9024e0806eabfa1cc |
|
BLAKE2b-256 | 61d9169ec1c8a112067062635005b956301cc27a403d3f93e06e75834dc55194 |
File details
Details for the file pytesmo-0.9-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: pytesmo-0.9-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 155.2 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200616 requests-toolbelt/0.8.0 tqdm/4.47.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 339ff9d0137ef48721e4ea100a1f05f8b349a9d0c2978b056810692b1752edb3 |
|
MD5 | fe4c137a865e9836ad6df5f5a715a926 |
|
BLAKE2b-256 | ceaf73db5a516230d0ca40bacc233239bc24d4c3d056905252c56f806fb1364c |
File details
Details for the file pytesmo-0.9-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: pytesmo-0.9-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 155.1 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200616 requests-toolbelt/0.8.0 tqdm/4.47.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fa577e58b95a10340e668ca5429658e98e7a1937f228f2323a7fc18c055f11f |
|
MD5 | 58969762d7a2ab250fda4e1aeca16ea6 |
|
BLAKE2b-256 | b658276058079a98979235e9c14ecd0b48cc092e0bacc30373a0f17ad5a989c9 |
File details
Details for the file pytesmo-0.9-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: pytesmo-0.9-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 155.0 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200616 requests-toolbelt/0.8.0 tqdm/4.47.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4928ac58ee3aa3e816bd8cb17e200e9b3b9f8006d674afb6b5bd51dccd3277 |
|
MD5 | 911fa146835bda23a490f403a0ff9560 |
|
BLAKE2b-256 | 0cc263d173d86dc17af4aa81ca8a27d49dc7f0eb16bfeadd6960730eeed2796d |