monet-stats

Monet Stats

A comprehensive statistics and utility library designed for atmospheric sciences applications, providing a wide range of metrics for model evaluation, verification, and analysis.

Overview

Monet Stats is a Python library focused on statistical evaluation methods commonly used in atmospheric sciences, meteorology, and environmental modeling. It provides a comprehensive suite of metrics for:

Key Features

Quick Start

import numpy as np
from monet_stats import R2, RMSE, POD, FAR

# Sample data
obs = np.array([1.2, 2.5, 3.7, 4.1, 5.0])
mod = np.array([1.1, 2.6, 3.5, 4.3, 4.8])

# Calculate basic metrics
r_squared = R2(obs, mod)
rmse_value = RMSE(obs, mod)
print(f"R²: {r_squared:.3f}")
print(f"RMSE: {rmse_value:.3f}")

Installation

pip install monet-stats

Supported Metrics

By Category

Contingency Table Metrics

Error Metrics

Correlation Metrics

Skill Scores

Spatial & Ensemble Metrics

Analysis & Utility Methods

Documentation Structure

Use Cases

Climate Model Evaluation

Weather Forecast Verification

Air Quality Assessment

Ensemble Analysis

Contributing

We welcome contributions! Please see our Contributing Guide for details on:

License

Monet Stats is licensed under the MIT License. See the LICENSE file for details.

Support


Monet Stats is developed and maintained by the NOAA Air Resources Laboratory