Skip to main content

ci cov pip doc doi

SMOS (Soil Moisture and Ocean Salinity) data readers and time series conversion tools.

Works great in combination with pytesmo.

Documentation & Software Citation

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.

Installation

Before installing this package via pip, please install the necessary conda dependencies:

$ conda create -n smos python=3.12
$ conda env update -f environment.yml -n smos

Then

$ pip install smos

should work.

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/smos.git smos
cd smos
conda env create -f environment.yml
source activate smos

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 smos environment.

After that you should be able to run:

pytest

to run the test suite.

Supported Products

Currently the following products are supported, additional products can be added.

Build Docker image

  • Check out the repo at the branch/tag/commit you want bake into the image

  • Make sure you have docker installed and run the command (replace the tag latest with something more meaningful, e.g. a version number)

docker build -t smos:latest . 2>&1 | tee docker_build.log

This will execute the commands from the Dockerfile. I.e. install a new environment from the environment.yml file and install the checked out version of the smos package.

To build and publish the image online, we have a GitHub Actions workflow in .github/workflows/docker.yml

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

Release files for smos 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smos 0.4
File Size Uploaded
smos-0.4.tar.gz 838.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smos 0.4
File Interpreter ABI Platform
smos-0.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 910.1 kB

Release files / smos-0.4.tar.gz

Download URL smos-0.4.tar.gz
Size 838.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7e65a602c67cae5f136924788d48fbd1cc7ed20d6e6aa323e60cef41cd06b61d
BLAKE2b-256 checksum
How to use checksums
e0882f2ea2066d32f1d0eb350c62ff515c67bce7e5a7ca3362960e5f984d021b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release files / smos-0.4-py2.py3-none-any.whl

Download URL smos-0.4-py2.py3-none-any.whl
Size 71.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d4333bc94aceebc3ef52f8c0df6ff53e8af626e52751f0264ff1da498df838fb
BLAKE2b-256 checksum
How to use checksums
91b34335831fb8feefbb25d29b8865c51a02af12c9505df4cadb34b905040fc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page