GEO INFER CLIMATE

From ActiveInferenceInstitute/GEO-INFER · View interactive version

GEO INFER CLIMATE is an AI agent skill from the GitHub repository ActiveInferenceInstitute/GEO-INFER. 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

How to use this skill

Skill file

GEO-INFER-CLIMATE

Instructions

Core Capabilities

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

Key Imports

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

Examples

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"])

Agent interfaces

Use uv run --frozen geo-infer catalog CLIMATE to discover public source

APIs, then geo-infer describe before calling a selected target. Scripts use

geo_infer_api.agent_runtime.AgentSession; the optional stdio MCP server is

geo-infer-mcp. See requests, native objects and composition.

The adapter retains this module's dependencies and authorization requirements.

Guidelines

Integrations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.