GEO INFER TIME

From ActiveInferenceInstitute/GEO-INFER · View interactive version

GEO INFER TIME is an AI agent skill from the GitHub repository ActiveInferenceInstitute/GEO-INFER. Time series analysis and temporal modeling for geospatial data. Use when analyzing temporal patterns, forecasting spatial time series, detecting change points, or working with spatio-temporal datasets.

How to use this skill

Skill file

GEO-INFER-TIME

Instructions

Core Capabilities

detection, stationarity tests, autocorrelation, rolling statistics

regression, moving average (statsmodels-backed)

anomaly detection; CUSUM and binary-segmentation changepoint detection

(TemporalAnalyzer.detect_change_points), plus moving-window mean-shift

changepoints (EventDetector)

buffers and metadata, resampling, CSV/JSON/Parquet IO, and InMemoryStore

queries by validated UTC bounds

through observation gaps; SPACE owns H3 state indexing and observation alignment

Additional Public Surface

The package also exports TemporalInterpolator, TemporalStatistics,

TemporalVisualization, AdvancedForecastingEngine, and the db

(TimeSeriesStore/InMemoryStore), io (read/write_timeseries), and utils

(validate/align/fill_gaps) subpackages:

from geo_infer_time import TemporalInterpolator, AdvancedForecastingEngine, db, io, utils

For sequential inference pipelines, geo_infer_time.core.inference_schedule

validates aware timestamps against an explicit fixed-interval model step:

off-grid, missing, or duplicated instants raise; the function never fills gaps

or silently resamples.

from geo_infer_time.core.inference_schedule import inference_schedule
steps = inference_schedule(sensor_timestamps, step_seconds=60.0)

Use geo_infer_time.core.action_schedule.action_observation_schedule when

observations have gaps and every intervening action is supplied explicitly.

Read action histories before composing a

discrete inference model; the schedule does not choose policies or impute data.

Key Imports

from geo_infer_time import (
    TemporalAnalyzer, ForecastingEngine, EventDetector, TimeSeries,
    StreamProcessor, ReplayIngestAdapter, WebSocketIngestAdapter, KafkaIngestAdapter,
)

Integrations

for UTC boundary validation; the scalar helper imports no analytical engines.

missing observations remain NaN and duplicate pairs fail.

methods require complete observations and a regular UTC cadence. Resample or

interpolate explicitly; missing samples are never silently dropped.

slope_per_sample and r_squared for their distinct meanings.

Examples

import asyncio
from datetime import timedelta
from geo_infer_time import ReplayIngestAdapter, StreamProcessor

processor = StreamProcessor(timedelta(minutes=1))
records = [{"timestamp": "2024-01-01T00:00:00Z", "value": 21.5}]
assert asyncio.run(processor.ingest_adapter_stream(ReplayIngestAdapter(records))) == 1
window = processor.process_window()
assert window["aggregated_value"] == 21.5

Agent interfaces

Use uv run --frozen geo-infer catalog TIME 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

installation raises an explicit extra error when plotting is requested.

TIME does not infer epoch units from magnitude.

smoothing_fit_kwargs, or seasonal_period. Unknown top-level configuration

keys raise. Forecast validation refits the same model on a chronological

prefix and reports errors on the untouched holdout.

constructors, IO, query bounds or spatial composition to 0.4.0.

undefined statistics, allocation/work limits, and backend failure behavior.

for the small analytical and failure-boundary regressions first.

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.