SMOS (Soil Moisture and Ocean Salinity) data readers and time series converter.
Works great in combination with pytesmo.
To see the latest full documentation click on the docs badge at the top.
To cite this package follow the Zenodo badge at the top and export the citation there. Be aware that this badge links to the latest package version. Additional information on DOI versioning can be found here: http://help.zenodo.org/#versioning
Before installing this package via pip, please install the necessary conda dependencies:
$ conda install -c conda-forge netcdf4 pyresample
$ pip install smos
Setup of a complete environment with conda can be performed using the following commands:
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.
$ git clone https://github.com/TUW-GEO/smos.git --recursive
$ cd smos
$ conda create -n smos python=3.6 # or any supported python version
$ source activate smos
$ conda update -f environment.yml
$ python setup.py develop
or you can use the installation script with/without the develop flag (-d
),
which will call python setup.py develop
, resp python setup.py install
.
$ bash install.sh -d --python 3.6 --name smos
Currently the following products are supported, additional products can be added.
- SMOS IC: SMOS INRA-CESBIO (SMOS-IC) 25km
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 smos repository to your account
- make a new feature branch from the smos 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