This task (task_csv_temp_decades) requires an agent to analyze a CSV file containing global temperature anomaly data from two sources: GISTEMP and gcag. The agent must process monthly data, aggregate it into annual and decadal statistics, and generate a structured markdown report named decade_report.md.
Input Data Format
The input file global_temperature.csv contains:
Source: "GISTEMP" or "gcag"Year: YYYY-MM formatMean: Temperature anomaly in °C
Required Report Components
The decade_report.md must include:
- Decade averages table: Average annual anomaly for each full decade (1880s–2010s) plus the partial 2020s.
- Decade-to-decade changes: Calculation of change between consecutive decades and identification of the largest warming transition.
- Intra-decade variability: Standard deviation of annual averages for each decade, identifying the most and least variable decades.
- Warmest and coldest years: The specific warmest and coldest individual years for each decade.
- Source comparison: A comparison of GISTEMP and gcag averages for the overlapping period (1880s–2010s).
- Summary: A brief overview of warming progression.