CUSP Data Schema¶
This document describes the stable public columns in the main CUSP release table.
The versioned release file is named like cusp_v1.0.csv,
cusp_v1.1.csv, or cusp_v2.0.csv.
For naming and export layout, see Versioning and exports.
Canonical observation table¶
The schema-defining release file is:
cusp_vX.Y.csv
Frozen contract¶
The 12-column canonical observation contract is frozen beginning with CUSP v1.1. Future releases will preserve:
- column names and order
- logical types, nullability, units, and meanings
- the semicolon-delimited
quality_flagsrepresentation - the
cusp_obs_idconstruction algorithm
The machine-readable contract is maintained in
cusp/canonical_observation_schema.json and is enforced during builds,
exports, QA validation, and automated tests. New information that does not fit
this table will be published in a sidecar table or a separately named product,
not by changing the canonical columns.
Source keys, method codes, and quality-flag codes may be added. Additions are
append-only: an existing code will not be removed, repurposed, or assigned a
different meaning. The historical v1.0 file predates the quality_flags
column; integrations should use v1.1 or later as the stable contract.
Column definitions¶
| Column | Meaning | Type / format | Nulls allowed |
|---|---|---|---|
cusp_obs_id |
Deterministic opaque identifier for the canonical observation content | obs_ plus 16 lowercase hexadecimal characters |
no |
source |
Canonical CUSP source key | string | no |
site_id |
Source-provided site or point identifier | string | yes |
lat |
Latitude in WGS84 | decimal degrees | no |
lon |
Longitude in WGS84 | decimal degrees | no |
date |
Observation date | YYYY-MM-DD |
no |
pf_observed |
Permafrost presence indicator | 0 or 1 |
no |
thaw_depth |
Thaw depth below ground surface | centimeters | yes |
pf_depth |
Depth to permafrost below ground surface | centimeters | yes |
obs_limit |
Observation limit below ground surface | centimeters | yes |
method |
Observation tool code | controlled vocabulary | no |
quality_flags |
Semicolon-delimited quality flag codes | string | yes |
Notes¶
site_idis warning-only if missing. Some sources do not provide a site ID.pf_observed = 1means the source reported permafrost at that place and time.pf_observed = 0normally means the source did not find permafrost down to the positive depth recorded inobs_limit; it is a depth-bounded no-detection, not a claim that permafrost is absent at every depth.- Below-ground measurements with
pf_observed = 0must haveobs_limit > 0. The exception is a visual or mapped presence/absence classification flaggedVI;obs_limitmay be blank because no point-specific search depth exists. - Every no-detection row has blank canonical
pf_depthandthaw_depthvalues. - A numeric detected
pf_depthorthaw_depthis represented aspf_observed = 1, regardless of its depth. - Numeric nulls mean that the value was not reported, not measured, or could not be determined from the original data.
thaw_depth,pf_depth, andobs_limitare all recorded in centimeters below ground surface.quality_flagsis blank when no current quality flag applies.- Dense GPR sources normally contain one row per occupied 5 m projected grid cell within a source/site/date survey. Native counts and spacing are retained in the all-fields table rather than the stable public schema.
Observation identifiers and snapshots¶
cusp_obs_id is a deterministic content identifier built from source,
site_id, coordinates, date, permafrost state, depth fields, observation
limit, and method. Quality flags are intentionally excluded so a caveat can be
corrected without breaking joins. A correction to any identifier component
creates a new ID; the previous ID is not reassigned to different content.
Every versioned release is a complete snapshot, not a patch. Consumers can
replace an older release with the new file and use cusp_obs_id to identify
unchanged, added, and retired observations.
Quality flags¶
The quality_flags column contains semicolon-delimited mnemonic codes such as
LB, DA, or TI;SS. See the complete
quality flag definitions for each code's
full name, category, and meaning. The flags describe caveats, not a
trustworthy-to-untrustworthy ranking. The machine-readable vocabulary is
maintained in data/quality_flag_definitions.csv; Source metadata
provides source-level quality summaries.
| Example code | Meaning |
|---|---|
LB |
Lower-bound absence: permafrost was not reached within the observation limit. |
DA |
Date was assigned from year, campaign, midpoint, or representative thaw-season convention. |
TI |
Permafrost state or depth was inferred from temperature profile logic. |
GI |
Depth was inferred from geophysical interpretation. |
VI |
Presence or absence was visually interpreted rather than measured with a subsurface instrument. |
Controlled vocabulary for method¶
The method column uses short codes:
| Method | Meaning |
|---|---|
aug |
auger observation |
gp |
ground-penetrating radar (GPR) interpretation |
pit |
soil pit or excavation |
pit_aug |
combined pit and auger information |
temp |
temperature profile or temperature-based interpretation |
tp |
thaw probing or frost-table probing |
tp_pit |
combined thaw-probe and pit information |
tt |
thaw tube |
unknown |
observation method was not recoverable from the source |
mixed |
aggregated row contains multiple methods; not used in the main observation table |
The main released CUSP table should only contain single-observation method
values, not mixed.
Remote-sensing and modeled products that infer active layer or permafrost conditions from surface displacement, gridded products, or other indirect products are outside the canonical observation-table method vocabulary.
Aggregation outputs¶
The repository includes an aggregation tool that can create spatial and temporal summaries of CUSP observations. The default output name is:
aggregated_30m.csv
Aggregated column notes¶
| Column | Meaning | Type / format |
|---|---|---|
cusp_30m_id |
Stable opaque aggregated identifier | string |
year |
Calendar year of the grouped observations | integer |
date |
Representative grouped date | YYYY-MM-DD |
lat, lon |
Aggregated output coordinates in WGS84 | decimal degrees |
pf_observed |
Mean of grouped 0/1 observations |
numeric fraction from 0 to 1 |
thaw_depth, pf_depth |
Median grouped depth values | centimeters |
obs_limit |
Maximum grouped observation limit | centimeters |
method |
Grouped method label | controlled vocabulary; may be mixed |
quality_flags |
Union of grouped quality flag codes | string |
aggregated_sources |
Comma-delimited contributing source keys | string |
n_grouped |
Number of grouped observation rows | integer |
Aggregation behavior¶
- grouping is computed in projected
EPSG:3413 - outputs are exported in
EPSG:4326 - grouping preserves annual separation
- grouping is allowed across sources
- temporal groups use single-linkage on consecutive dates: a new group starts
when a date gap exceeds
31days by default - a chain of qualifying gaps can span more than
31or62days
Aggregation sidecars¶
An aggregation run may also create:
aggregated_30m_membership.csvaggregated_30m_qc_flags.csvaggregated_30m_excluded_rows.csvaggregated_30m.gpkgaggregated_30m_manifest.json
These are important provenance and QA artifacts. CUSP does not currently publish an official aggregated release table; it provides the workflow so users can create summaries that fit their own analysis.
Keep in mind¶
- use
cusp_vX.Y.csvas the stable observation-level table - use the aggregation workflow when you need a spatial or temporal summary
- use the release bibliography and citation tool to connect
sourcevalues back to the underlying sources