Add a short description here!
Project description
SMADI
Soil Moisture Anomaly Detection Indicators
SMADI is a workflow designed to compute climate normals and detect anomalies for satellite soil moisture data, with a primary focus on ASCAT surface soil moisture (SSM) products. The climatology, or climate normals, is computed to establish the distribution of SSM for each period and location. Subsequently, anomalies are computed accordingly.
The core objective of SMADI is to leverage these anomaly indicators to identify and highlight extreme events such as droughts and floods, providing valuable insights for environmental monitoring and management. Additionally, SMADI is applicable to various meteorological variables.
The following indices are provided:
Z-score: The Standardized Z-score
SMAPI: Soil Moisture Anomaly Percentage Index
SMDI: Soil Moisture Deficit Index
SMDS: Soil Moisture Drought Severity
ESSMI: Empirical Standardized Soil Moisture Index
SMCI: Soil Moisture Condition Index
SMAD: Standardized Median Absolute Deviation
SMCA: Soil Moisture Content Anomaly
Beta Distribution
Gamma Distribution
Germany SM Anomaly Maps July 2021
Workflow Processing
The package installation through pip, will enable a command-line entry point for calculating anomalies using one or more of the available methods across various dates. The command, named ‘run’, is designed to compute indices for gridded NetCDF datasets. This Python entry point is intended to be executed through a bash shell command:
run <positional arguments> <options>
For more information about the positional and optional arguments of this command, run:
run -h
Installation
User Installation
For users who simply want to use smadi, you can install it via pip:
pip install smadi
Developer Installation
If you’re a developer or contributor, follow these steps to set up smadi:
Clone the repository:
git clone https://github.com/MuhammedM294/smadi
Navigate to the cloned directory:
cd smadi
Create and activate a virtual environment using Conda or virtualenv:
For Conda:
conda create --name smadi_env python=3.8
conda activate smadi_env
For virtualenv:
virtualenv smadi_env
source smadi_env/bin/activate # On Unix or MacOS
.\smadi_env\Scripts\activate # On Windows
Install dependencies from requirements.txt:
pip install -r requirements.txt
Note
This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.