Skip to main content

Readers and utilities for working with C3S Soil Moisture data

Project description

ci cov pip doc

Processing tools and tutorials for users of the C3S satellite soil moisture service ( https://doi.org/10.24381/cds.d7782f18 ). Written in Python.

Installation

The c3s_sm package and all required dependencies can be installed via

pip install c3s_sm

On macOS if you get ImportError: Pykdtree failed to import its C extension, then it might be necessary to install the pykdtree package from conda-forge

conda install -c conda-forge pykdtree

Tutorials

We provide tutorials on using the C3S Soil Moisture data:

These tutorials are designed to run on mybinder.org You can find the code for all examples in this repository.

Supported Products

At the moment this package supports C3S soil moisture data in netCDF format (reading and time series creation) with a spatial sampling of 0.25 degrees.

Build Docker image

  • Check out the repo at the branch/tag/commit you want build

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

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

This will execute the commands from the Dockerfile. I.e. install a new environment with the checked out version of the c3s_sm 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 c3s_sm 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 c3s_sm master branch

  • Add your feature

  • Please include tests for your contributions in one of the test directories.

  • submit a pull request to our master branch

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

c3s_sm-0.3.0.tar.gz (464.6 kB view details)

Uploaded Source

Built Distribution

c3s_sm-0.3.0-py2.py3-none-any.whl (27.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file c3s_sm-0.3.0.tar.gz.

File metadata

  • Download URL: c3s_sm-0.3.0.tar.gz
  • Upload date:
  • Size: 464.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.20

File hashes

Hashes for c3s_sm-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2aa6e70ebb9740f749713522cffc9b5f5f00dcf51c74fb4b7f56e5611f554ed4
MD5 d46d9f818c35a9346ee9af3d6353c3d7
BLAKE2b-256 eebf4a86c57235c7a8856108b5d8c6e6f188ea1c3d17f187549d81332fb127ae

See more details on using hashes here.

File details

Details for the file c3s_sm-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: c3s_sm-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.20

File hashes

Hashes for c3s_sm-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d0f887fad394b72aff1b0e46cf9a5a32125592909d4e3957d1eea8acc2aa7aff
MD5 90d004c8a09464d7e2ede570677d9312
BLAKE2b-256 3b49043f808fab0b13034d43efe40d2987155231c17d4389a79d889a40f37ad3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page