Skip to content
Back to skills

GEO INFER CLIMATE

ASecurity

Climate data analysis. Use when loading/validating climate datasets, computing climate indices (SPI, heat index, PDSI-style drought index), detecting extreme events (heatwaves, cold spells, droughts, floods), analyzing temperature trends, fitting IDF precipitation curves, classifying Koppen climate zones, or running simplified SSP scenario projections.

  • 17 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 1, 2026
datapython

Works with

  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add ActiveInferenceInstitute/GEO-INFER --skill GEO-INFER-CLIMATE --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of GEO INFER CLIMATE?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for GEO INFER CLIMATE
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/activeinferenceinstitute-geo-infer-climate/badge)](https://www.skillsdirectory.com/skills/activeinferenceinstitute-geo-infer-climate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: geo-infer-climate
description: Climate data analysis. Use when loading/validating climate datasets, computing climate indices (SPI, heat index, PDSI-style drought index), detecting extreme events (heatwaves, cold spells, droughts, floods), analyzing temperature trends, fitting IDF precipitation curves, classifying Koppen climate zones, or running simplified SSP scenario projections.
difficulty: intermediate
estimated_time: 45min
---

# GEO-INFER-CLIMATE

## Instructions

### Core Capabilities

- **Data processing**: load (NetCDF/GRIB) and validate climate datasets from CMIP6, ERA5, NCEP, and observational sources
- **Climate indices**: SPI (gamma or normal distribution), heat index (Rothfusz), extreme indices, first-order Palmer-style drought index
- **Extreme events**: heatwave, cold spell, drought, flood, and compound event detection; return period estimation
- **Temperature trends**: OLS linear regression and Mann-Kendall non-parametric trend tests
- **Precipitation analysis**: IDF curve fitting, Gumbel return periods, gamma distribution fitting
- **Downscaling**: bias correction (linear, empirical quantile mapping) and interpolation-based downscaling
- **Projections**: simplified linear-scaling SSP scenario extrapolation (illustrative, not a model emulator)
- **Classification**: Koppen-Geiger climate zone classification

Not implemented: dynamical downscaling, ensemble projection methods, delta-change bias correction, RCP scenarios (SSP only).

### Key Imports

```python
from geo_infer_climate import (
    ClimateDataProcessor,
    ClimateIndicesCalculator,
    DownscalingMethods,
    ClimateProjections,
    ExtremeEventAnalyzer,
    ClimateImpactAssessor,
    ClimateClassifier,
    TemperatureTrendAnalyzer,
    PrecipitationAnalyzer,
)
```

## Examples

```python
import numpy as np
import pandas as pd
import xarray as xr

from geo_infer_climate import ClimateIndicesCalculator, ExtremeEventAnalyzer

calculator = ClimateIndicesCalculator()

precip = xr.DataArray(
    np.random.exponential(50, 240),
    dims=["time"],
    coords={"time": pd.date_range("2000-01-01", periods=240, freq="ME")},
)
spi = calculator.calculate_spi(precip, timescale=3, distribution="gamma")

analyzer = ExtremeEventAnalyzer()
temp = xr.DataArray(np.random.normal(20, 5, 365), dims=["time"])
heatwaves = analyzer.detect_heatwaves(temp, threshold_percentile=90.0, min_duration=3)
print(heatwaves["events_detected"], heatwaves["threshold_temp"])
```

## Guidelines

- SPI, drought, and bias-correction routines expect a `time` dimension; per-grid-cell computation is handled along `time` regardless of axis position.
- `calculate_pdsi` is a first-order Palmer-style moisture anomaly proxy, not the full Palmer (1965) water-balance system.
- `project_future_climate` is a simplified linear trend extrapolation scaled by SSP factors; treat outputs as illustrative.
- Statistical downscaling is interpolation-only (linear/nearest); no regression or machine-learning downscaling.

### Integrations

- Integrates with WATER for hydrological climate impacts
- Integrates with AG for agricultural climate adaptation
- Integrates with ENERGY for renewable resource projections
- Test: `uv run python GEO-INFER-TEST/run_unified_tests.py --module CLIMATE`

Files in this skill

  • AGENTS.md1.3 KB
  • README.md1013 B
  • SKILL.md1.8 KB
  • docs/api_reference.md9.4 KB
  • docs/examples/advanced_example.md11.6 KB
  • docs/examples/basic_example.md8.4 KB
  • docs/getting_started.md8.2 KB
  • docs/index.md5.5 KB
  • examples/AGENTS.md1.2 KB
  • examples/README.md1007 B
  • examples/basic_climate_analysis.py2.9 KB
  • examples/climate_projection.py7.6 KB
  • pyproject.toml1.7 KB
  • requirements.txt134 B
  • setup.py794 B
  • src/AGENTS.md1.2 KB
  • src/README.md875 B
  • src/geo_infer_climate/AGENTS.md1.2 KB
  • src/geo_infer_climate/README.md930 B
  • src/geo_infer_climate/__init__.py1017 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.