Aggregation Validation¶
For the v1.3 validation and current counts, see v1.3 release notes. The dated v1.2 results below are retained as historical evidence.
Scope¶
This document records the latest validated rebuild of the default 30m
aggregation workflow from the canonical observation-level table. The current
snapshot was rebuilt on 2026-10-05 from all 80,264 v1.2 observation rows,
including the Pastick correction
and the three new sources.
The 30m aggregation is a reproducible derivative, not an official versioned
release artifact for v1.
Artifacts produced by python -m cusp.aggregate:
data/aggregated_30m.csvdata/aggregated_30m_membership.csvdata/aggregated_30m_qc_flags.csvdata/aggregated_30m_excluded_rows.csvdata/aggregated_30m.gpkgdata/aggregated_30m_manifest.json
Current Default Aggregation Behavior¶
The current aggregation path:
- reads CUSP observation rows from the working observation table
- requires deterministic
cusp_obs_idvalues from the observation build - assigns observations to deterministic projected grid cells in
EPSG:3413 - exports the public aggregated artifacts back out in
EPSG:4326/ WGS84 where geometry is written - uses a
30 mcell size for the default30mworkflow - separates aggregation groups by calendar year
- within each spatial cell-year group, starts a new temporal group when the
gap between consecutive sorted dates exceeds
31days - uses single-linkage, so a chain of qualifying gaps can span more than
31or62days even though each consecutive gap remains within the threshold - aggregates across sources rather than restricting to within-source groups
Current Rebuild Snapshot¶
aggregated_30m.csv- rows:
35,311 - columns:
cusp_30m_idyeardatelatlonpf_observedthaw_depthpf_depthobs_limitmethodquality_flagsaggregated_sourcesn_grouped
aggregated_30m_membership.csv- rows:
80,264 - unique aggregated groups:
35,311 - unique member observations:
80,264 aggregated_30m_excluded_rows.csv- rows:
0 aggregated_30m_qc_flags.csv- rows:
1,539 aggregated_30m.gpkg- CRS:
EPSG:4326
Output Semantics¶
cusp_30m_idis deterministic and derived from the sorted set of membercusp_obs_idvalues.yearis explicit in the output even though the public-facing artifact name is30m.dateis currently the latest observation date within the aggregated spatial-temporal group.pf_observedis currently the mean of the retained0/1observations, so mixed groups yield fractional values between0and1, while retaining the field namepf_observed.methodis preserved when all retained observations in the group share one method value; heterogeneous groups are labeledmixed, while truly unknown source-level methods can still remainunknown.quality_flagscontains the sorted union of member observation flags.aggregated_sourcesrecords the unique contributingsourcevalues for each aggregated row as a comma-delimited list so downstream users can trace citation provenance.
Current QC Flag Counts¶
multi_date_window:683mixed_method:381mixed_pf_observed:292mixed_source:183
These are audit outputs, not automatic blockers.
Interpretation Notes¶
The current temporal rule is meant to prevent observations from very different parts of the thaw season from collapsing together just because they share a location-year cell.
This means the aggregation product is not a simple "all observations within 30 m and year" collapse. It is a spatial-plus-temporal aggregation intended to be more suitable for active-layer style modeling and comparison workflows.
Legacy Artifact Cleanup¶
The old legacy aggregation CSVs have now been removed from the repo:
aggregated_10000m_noyear.csvaggregated_1000m_year.csvaggregated_100m_year.csvaggregated_30m_year.csvaggregated_5000m_year.csvaggregated_500m_noyear.csv
The rebuilt aggregation and its membership table passed
python -m cusp.qc validate-aggregated with no hard-gate failures.
Confirmed CRS Behavior¶
The default grouping CRS is unchanged:
- aggregation distance is computed in projected
EPSG:3413 - exported geometries remain in user-facing
EPSG:4326
v1.2 also includes Southern Hemisphere sites. This Arctic projection is not suitable for interpreting their cells as a 30 m ground-scale aggregation. Passing the structural QA gate does not validate that scientific choice; use the canonical observations and a suitable projection for those sites. See the aggregation caveat.