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.2.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.2-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smm_toolkit-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7c11f6b284cd6a175d04b16e3d64ee61bab0792bf9fcd8ffe875f9d0a064b992
MD5 fb4c53df2a958fef51129c72c4ca3ae0
BLAKE2b-256 5c05a90ec76a8e17571df9b4c8a1711a05f2bdd3d527e7a629fb77778746e7ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smm_toolkit-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 538659887e6ae910d60d1fdc991e943dbced293f0ae41bac917345eedeed96e5
MD5 8f24ba086595bd89e99b293e3a362cd1
BLAKE2b-256 2103592f6056fdbb5b26bcdfa8260146dce91401457f5542d004b7d84d507e1d

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