Source Metadata¶
CUSP keeps source-level metadata separate from the observation table. These tables help users understand which source datasets are represented in CUSP and which quality caveats occur before row-level filtering.
Dataset Table¶
The generated data/source_metadata.csv table is the main source-level
dataset catalog. It has one row per included CUSP source and combines
observation counts, methods, quality flags found on retained rows or applied
source-wide, duplication notes, and selected citation metadata.
| Column | Meaning |
|---|---|
source |
CUSP source key |
n_observations |
Number of accepted observations from the source |
n_pf_observed_yes |
Number of rows where permafrost is observed |
n_pf_observed_no |
Number of rows where permafrost is not observed |
n_alt_observations |
Number of rows with a thaw-depth / active-layer-thickness value |
n_pf_depth_observations |
Number of rows with a permafrost-depth value |
methods |
Semicolon-delimited CUSP method codes used by the source |
source_quality_flags |
Union of semicolon-delimited flags found on retained rows or applied source-wide |
source_quality_flag_names |
Full names for the flags represented in the source |
source_quality_flag_categories |
Categories represented by those flags |
has_duplication_caveat |
true when the source has a known possible duplicate or overlap caveat |
duplication_notes |
Short source-level note about known or possible overlap with other CUSP sources |
| citation fields | Selected BibTeX-derived citation metadata, when available |
These flag columns are inventories, not claims that every row has every listed
flag. Use observation-level quality_flags for filtering individual rows.
The duplication fields are summary helpers. Notes include both resolved duplication, such as copies removed from a synthesis in favor of an original source, and unresolved possible overlap. Details about match fields, counts, dates, and source precedence remain in source processing headers, GitHub dataset issues, and row-level quality flags where applicable.
Source Quality Metadata¶
The generated data/source_quality_metadata.csv table has one row per CUSP
source directory. It is the quality-specific input used to build
source_metadata.csv. It summarizes quality flags that apply broadly to a
source. It is not an observation table, and it does not replace row-specific
flags in cusp_vX.Y.csv.
The source-level quality table uses the same compact codes defined in Quality flags.
| Column | Meaning |
|---|---|
source |
CUSP source key |
source_quality_flags |
Semicolon-delimited quality flag codes applied source-wide |
source_quality_flag_names |
Semicolon-delimited full flag names |
source_quality_flag_categories |
Semicolon-delimited flag categories represented for the source |
Blank source-level flag fields mean no current source-wide quality flag is assigned. Individual observations from that source may still receive row-level flags during the build.
Source Reference Crosswalk¶
The generated data/source_reference_crosswalk.csv table links included source
keys to citation metadata parsed from the master data/cusp_sources.bib file.
The build also writes the complete parsed table to
data/cusp_sources_bibtex.csv; it should not be edited by hand.
| Column | Meaning |
|---|---|
source |
CUSP source key used in observation tables |
| citation fields | BibTeX-derived source citation metadata, when available |
Use the crosswalk to inspect source citation coverage. Use
cusp_sources_vX.Y.bib from a release bundle when citing the sources included
in a versioned CUSP release.