Skip to main content

A Python toolkit for computing Soil Moisture Memory (SMM) based on drydown analysis and exponential decay fitting, as described in Farmani et al. (2025), Hydrology and Earth System Sciences.

Project description

🛰️ Soil Moisture Memory (SMM) Toolkit

TestPyPI PyPI License: MIT DOI

This repository provides a Python package for computing Soil Moisture Memory (SMM), as applied in the paper:

Farmani, M. A., Behrangi, A., Gupta, A., Tavakoly, A., Geheran, M.,
“Do land models miss key soil hydrological processes controlling soil moisture memory?”
Hydrology and Earth System Sciences (HESS), 29, 547–564, 2025.
https://doi.org/10.5194/hess-29-547-2025
© Author(s) 2025. This work is distributed under the Creative Commons Attribution 4.0 License.


🌿 Overview

The SMM Toolkit detects and analyzes soil moisture drydowns and computes short-term soil moisture memory timescales (Ts) from time series of soil moisture and precipitation.

Key features:

  • 📈 Automatic drydown detection
  • 🧪 Exponential curve fitting and R² filtering
  • 🕒 Short-term timescale (Ts) computation for positive increments
  • 📊 Plotting and result export
  • 🧰 YAML-based configuration for reproducible runs
  • ⚡ PyPI installable & CI tested

🧰 Installation

You can install the package directly from PyPI:

pip install smm-toolkit

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

smm_toolkit-0.1.4.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smm_toolkit-0.1.4-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file smm_toolkit-0.1.4.tar.gz.

File metadata

  • Download URL: smm_toolkit-0.1.4.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for smm_toolkit-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d80f28bf8ec2f32de604612cbb0ad4c367dcba870acfdd4f59c6e3bc96860a5f
MD5 a5d174435d6f512b4533f7d83fc1edd9
BLAKE2b-256 b3b5cba0b63d3d3d0f6bac76a7454982a29bbc26d0090b8428338d32b335508b

See more details on using hashes here.

File details

Details for the file smm_toolkit-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: smm_toolkit-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for smm_toolkit-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ec3ec1e0080f09c355533b0d6d68e5eaa74cb68227a0eee37de8f00b4327490
MD5 cf694abd4260c1111bde09083c608a16
BLAKE2b-256 685a7ae517ed53745e68d952860e7ef5a2951941ad924d0fe47c3804c9033fdc

See more details on using hashes here.

Supported by

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