You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`compute_spi_chunked()`, `compute_spei_chunked()` — `distribution` and `global_attrs` parameters
81
-
-`compute_spi_global()`, `compute_spei_global()` — `distribution` and `global_attrs` parameters
82
-
83
-
**Updated: Notebook 05**
84
-
85
-
- Configurable `BASE_DIR` for input/output paths — supports both Windows and WSL/Linux paths
86
-
- Auto-detection of repository root and `src` directory
87
-
- All example paths use configurable directory variables
88
-
89
-
### Centralized Configuration Hub
90
-
91
-
Refactored `config.py` as the single source of truth for all user-configurable settings. Helper functions moved to `utils.py`.
92
-
93
-
**New in `config.py`**
94
-
95
-
-`DISTRIBUTION_DISPLAY_NAMES` — Human-readable names for all five distributions
96
-
-`PRECIP_VAR_PATTERNS` — Auto-detection patterns for precipitation variables in NetCDF
97
-
-`PET_VAR_PATTERNS` — Auto-detection patterns for PET variables
98
-
-`TEMP_VAR_PATTERNS` — Auto-detection patterns for temperature variables
99
-
-`SPEI_WATER_BALANCE_OFFSET` — Configurable offset for SPEI water balance (default: 1000.0)
100
-
-`__version__` — Package version string (moved from `__init__.py`)
101
-
102
-
**Moved from `config.py` to `utils.py`**
103
-
104
-
-`get_logger()`, `get_variable_name()`, `get_fitting_param_name()`, `get_long_name()`, `get_variable_attributes()`, `get_fitting_param_attributes()`, `get_global_attributes()` — all helper functions now in `utils.py`
- Replaced duplicated `dist_display` dicts with `DISTRIBUTION_DISPLAY_NAMES` from config
110
-
- Replaced inline variable detection patterns with configurable constants
111
-
- Replaced hardcoded `1000.0` water balance offset with `SPEI_WATER_BALANCE_OFFSET`
112
-
113
-
**New Documentation**
114
-
115
-
-[Configuration Reference](get-started/configuration.qmd) — Complete guide to all configurable settings
116
-
117
-
---
118
-
119
-
## [2026.1] - 2026-01-21
12
+
## [2026.1] - January 2026
120
13
121
14
### Initial Release
122
15
123
-
First public release of the precip-index package - a streamlined implementation of SPI and SPEI for climate extremes monitoring.
16
+
First public release of the precip-index package — a streamlined Python implementation for calculating SPI and SPEI climate indices with comprehensive event analysis capabilities.
124
17
125
-
**Modified/adapted from:**[climate-indices](https://github.com/monocongo/climate_indices) by James Adams (monocongo)
18
+
### Core Features
126
19
127
-
### Features
20
+
**Climate Indices**
128
21
129
-
**Climate Indices:**
130
-
-SPI (Standardized Precipitation Index) calculation using Gamma distribution
131
-
-SPEI (Standardized Precipitation Evapotranspiration Index) with Thornthwaite PET
132
-
-Multi-scale support (1, 3, 6, 12, 24 months)
133
-
- Parameter save/load functionality for faster recomputation
0 commit comments