environmental-time-series

Analyze environmental time series for trends, breakpoints, anomalies, and recovery trajectories.

2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/baratadiego/ecological-agent-skills --skill environmental-time-series
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: environmental-time-series
Source: https://github.com/baratadiego/ecological-agent-skills/tree/main/skills/environmental-time-series
Command: npx skills add https://github.com/baratadiego/ecological-agent-skills --skill environmental-time-series

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, pymannkendall, matplotlib, scipy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Detects trends, breakpoints, and recovery trajectories in environmental time series data from remote sensing or field measurements. This skill helps ecologists and data scientists quickly identify directional changes, regime shifts, and post-disturbance recovery patterns across raster or site-level time series.

Core Features & Use Cases

  • Trend detection with Mann-Kendall and Sen's slope per time unit (per pixel or per site)
  • Seasonal decomposition and anomaly detection to highlight unusual behavior
  • Breakpoint identification (BFAST/structural change) and recovery trajectory estimation for disturbance events

Quick Start

Provide a time-series CSV and run trend_analysis.py to generate trend_results.csv, anomaly_series.csv, and decomposition_plot.png

Frequently Asked Questions about environmental-time-series

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect trends and breakpoints in environmental time series data?

You can detect trends and breakpoints in environmental time series by applying Mann-Kendall, Sen's slope, and BFAST structural change algorithms to NDVI, EVI, or rainfall data. The skill outputs trend_results.csv and decomposition_plot.png for per-pixel or per-site analysis.

How do I calculate post-disturbance recovery trajectories from NDVI time series?

To calculate recovery trajectories from NDVI time series, the skill identifies disturbance breakpoints and models post-disturbance recovery patterns. It generates recovery_metrics.csv and recovery_trajectory.png to visualize and quantify the environmental recovery process.

Can I use pandas and numpy for anomaly detection in remote sensing time series?

Yes, you can use pandas and numpy for anomaly detection in remote sensing time series. The skill leverages these dependencies alongside scipy to perform seasonal decomposition and highlight unusual behavior, outputting results to anomaly_series.csv and anomaly_plot.png.

What is the best way to run per-pixel trend analysis on raster time series?

The best way to run per-pixel trend analysis on raster time series is using Mann-Kendall and Sen's slope calculations per time unit. This skill processes raster or site-based environmental indicators to identify directional changes and regime shifts across the dataset.

Do I need a specific CSV format to run time series trend analysis?

You need to provide a time-series CSV to run the trend analysis. The script processes the input data to generate trend_results.csv, anomaly_series.csv, and decomposition_plot.png, supporting environmental indicators like LST, EVI, and rainfall.