terraproof 0.7.3 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -9
- package/package.json +1 -1
- package/routing/checks.json +163 -15
- package/routing/profiles.json +49 -0
- package/routing/registry.json +2212 -2212
- package/skills/geomaster/UPSTREAM.md +34 -34
- package/sources/SOURCES.md +401 -385
package/README.md
CHANGED
|
@@ -8,11 +8,11 @@ Terraproof helps AI coding agents do geospatial work they can prove. It gives an
|
|
|
8
8
|
|
|
9
9
|
- **Skills.** 24 focused guides (GDAL, CRS and units, satellite preprocessing, SAR, spectral indices, time series, accuracy assessment, and more), split into sections an agent can load one at a time.
|
|
10
10
|
- **A router.** It picks the smallest useful set of skills for a task, in English or Arabic, and explains why.
|
|
11
|
-
- **Checks with an evidence grade.** They inspect the real datasets an agent produced (CRS, nodata, value ranges, geometry, COG layout, provenance) and grade the result as decision-grade, review required, or advisory only.
|
|
11
|
+
- **Checks with an evidence grade.** They inspect the real datasets an agent produced (CRS, nodata, value ranges, geometry, COG layout, provenance) and grade the result as decision-grade (only against a declared verification contract), checks passed, review required, or advisory only. Every report lists the applicable checks that did not run.
|
|
12
12
|
|
|
13
13
|
Everything runs locally and offline. No model API key is needed.
|
|
14
14
|
|
|
15
|
-
**Status:** experimental (v0.
|
|
15
|
+
**Status:** experimental (v0.9.0). See [Evaluation status](#evaluation-status) for what has and has not been measured.
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
@@ -25,7 +25,13 @@ npx terraproof route "Reproject a GeoTIFF to EPSG:3857 and build a COG with GDAL
|
|
|
25
25
|
npx terraproof route "Download Sentinel-2 from a STAC catalog, compute NDVI, and map the change with MapLibre" --format json
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
Then check the data the work produced with the Python package (Python 3.10
|
|
28
|
+
Then check the data the work produced with the Python package (Python 3.10+). Since 0.8.0 it installs from PyPI with `pip`:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pip install "terraproof[mcp]"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Until then, install it from a clone:
|
|
29
35
|
|
|
30
36
|
```bash
|
|
31
37
|
git clone https://github.com/esmailhussien/terraproof.git
|
|
@@ -37,7 +43,7 @@ python -m terraproof check ndvi.tif --expect index --format md
|
|
|
37
43
|
python -m terraproof check outputs/clip.gpkg --compare-to data/parcels.gpkg --format md --lang ar --out report_ar.md
|
|
38
44
|
```
|
|
39
45
|
|
|
40
|
-
The exit code is the grade: `0` decision-grade, `2` review required, `3` advisory only, `1` usage error.
|
|
46
|
+
The exit code is the grade: `0` decision-grade or checks passed, `2` review required, `3` advisory only, `1` usage error. Without a contract, a clean run is **checks passed**, not decision-grade: read the report's coverage section for what was not checked.
|
|
41
47
|
|
|
42
48
|
---
|
|
43
49
|
|
|
@@ -53,17 +59,24 @@ The exit code is the grade: `0` decision-grade, `2` review required, `3` advisor
|
|
|
53
59
|
| `manifest write` / `manifest verify` | Record and verify a deterministic run manifest (inputs, outputs, parameters). |
|
|
54
60
|
| `route "TASK" [--data PATH]` | Retrieve the skill sections worth reading, using the task text and inspected datasets. |
|
|
55
61
|
|
|
56
|
-
Checks cover CRS and units, geometry validity and GeoJSON winding, record counts, raster nodata, resampling, grid alignment and COG layout, reflectance and index ranges, scale/offset applied once, cloud masking, temporal scope, SAR domain, area-adjusted accuracy, and STAC provenance. A check that does not apply is left out; one that applies but cannot run is reported as `not-run`.
|
|
62
|
+
Checks cover CRS and units, geometry validity and GeoJSON winding, record counts, raster nodata and valid support, vertical units, resampling, grid alignment and COG layout, reflectance and index ranges, scale/offset applied once, cloud masking, temporal scope, SAR domain, area-adjusted accuracy, and STAC provenance. A check that does not apply is left out; one that applies but cannot run is reported as `not-run`.
|
|
57
63
|
|
|
58
64
|
| Grade | Arabic label | Meaning |
|
|
59
65
|
|---|---|---|
|
|
60
|
-
| Decision-grade | جاهز للقرار |
|
|
66
|
+
| Decision-grade | جاهز للقرار | A declared verification contract was fully verified, and every check that ran passed. |
|
|
67
|
+
| Checks passed | الفحوصات نجحت (التغطية غير مُقيَّمة) | Every check that ran passed, but no contract was declared, so coverage was not assessed. The report lists applicable checks that did not run and what enables them. |
|
|
61
68
|
| Review required | يحتاج مراجعة | At least one check warned; none failed or could not run. |
|
|
62
69
|
| Advisory only | استرشادي فقط | At least one check failed or could not run, or no check ran. |
|
|
63
70
|
|
|
64
71
|
The grade describes the data path and the checks that ran. It is not a certification of survey, engineering, legal, or safety fitness.
|
|
65
72
|
|
|
66
|
-
|
|
73
|
+
For explicit task requirements, add `--contract contract.json` (MCP: `contract`).
|
|
74
|
+
The contract's outcome becomes the report's grade: it is decision-grade only when every
|
|
75
|
+
required check on every required output ran and passed with its declared sources and
|
|
76
|
+
parameters, and any other failure or warning still counts. See
|
|
77
|
+
[verification contracts, diagnostics and unsigned evidence bundles](docs/VERIFICATION_CONTRACTS.md).
|
|
78
|
+
|
|
79
|
+
### Verify a spectral index against its source bands
|
|
67
80
|
|
|
68
81
|
```bash
|
|
69
82
|
python -m terraproof check outputs/ndvi.tif --index-formula ndvi --nir inputs/nir.tif --red inputs/red.tif
|
|
@@ -77,6 +90,27 @@ warns because its QA policy is not verified here. Source files are included in t
|
|
|
77
90
|
evidence report and must be covered when a provenance manifest is supplied.
|
|
78
91
|
See [the full contract and limits](docs/INDEX_FORMULA.md).
|
|
79
92
|
|
|
93
|
+
The same check covers NBR, dNBR (pre minus post), McFeeters NDWI, MNDWI, Gao's NDMI, SAVI
|
|
94
|
+
and EVI. Name each source band by its role; a multi-band source also needs its band number:
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
python -m terraproof check outputs/evi.tif --index-formula evi --band blue=inputs/bands.tif --band-number blue=1 \
|
|
98
|
+
--band red=inputs/bands.tif --band-number red=2 --band nir=inputs/bands.tif --band-number nir=3
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Verify a composite, an accumulation or a trend against its input stack
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
python -m terraproof check outputs/storm_total.tif --stack-reduction weighted-sum \
|
|
105
|
+
--stack inputs/rate1.tif --stack-weight 1 --stack inputs/rate2.tif --stack-weight 4.5
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
`--stack-reduction` is `median`, `count`, `weighted-sum` (for example rate x hours),
|
|
109
|
+
`mean-power-db` (dB averaged in linear power) or `ols-slope` (against `--stack-weight`
|
|
110
|
+
times, with `--stack-min-count`). Every output cell is compared with that reduction of the
|
|
111
|
+
ordered layers; a cell without enough valid inputs must be nodata. The check does not
|
|
112
|
+
verify how the input layers were made, so pair it with the calibration and QA checks.
|
|
113
|
+
|
|
80
114
|
### Verify slope and lossless raster delivery
|
|
81
115
|
|
|
82
116
|
```bash
|
|
@@ -89,6 +123,8 @@ and nodata edges. Raster identity checks every band's valid samples, complete
|
|
|
89
123
|
validity masks and grid/band metadata against the declared source. Full COG
|
|
90
124
|
conformance remains separate from this data comparison and the existing layout
|
|
91
125
|
screen. See [supported contracts and limits](docs/RASTER_CONTRACTS.md).
|
|
126
|
+
For final calibration/QA audits, `--processing-full-scan` checks every corresponding
|
|
127
|
+
band and pixel in bounded windows; see [scope, examples and measured controls](docs/PROCESSING_FULL_SCAN.md).
|
|
92
128
|
|
|
93
129
|
|
|
94
130
|
---
|
|
@@ -112,6 +148,7 @@ python -m terraproof.install --agent cursor --skills gdal,crs-and-units --target
|
|
|
112
148
|
|
|
113
149
|
| `--agent` | Skills are written to | MCP config (`--with-mcp`) |
|
|
114
150
|
|---|---|---|
|
|
151
|
+
| `antigravity` | `.agents/skills/<skill>/` and `AGENTS.md` | `.agents/mcp_config.json` |
|
|
115
152
|
| `claude` | `.claude/skills/<skill>/` | `.mcp.json` |
|
|
116
153
|
| `codex` | `.agents/skills/<skill>/` and `AGENTS.md` | `.codex/config.toml` |
|
|
117
154
|
| `cursor` | `.cursor/rules/terraproof-<skill>.mdc` | `.cursor/mcp.json` |
|
|
@@ -144,17 +181,19 @@ npx terraproof validate
|
|
|
144
181
|
| Data access | `geospatial-data-discovery`, `stac-and-cloud-access` |
|
|
145
182
|
| Analysis and figures | `statistical-analysis`, `scientific-visualization` |
|
|
146
183
|
|
|
184
|
+
Skills are **unmeasured**: no study has separated their effect from the MCP checks, and in the Phase 5 Claude Code runs no skill file was read. Their content is frozen during Phase 6 (factual fixes only, no new skills) until the skills decision in the [Phase 6 plan](docs/plans/Terraproof_Phase6_PLAN.md).
|
|
185
|
+
|
|
147
186
|
Each skill lives in `skills/<name>/` with a `SKILL.md`, references, and a `skill.json` routing manifest. Preset collections (`gis`, `remote-sensing`, `data-analysis`, `production`) are in [`routing/collections.json`](routing/collections.json).
|
|
148
187
|
|
|
149
188
|
---
|
|
150
189
|
|
|
151
190
|
## Evaluation status
|
|
152
191
|
|
|
153
|
-
- **Checks:** 33 executable eval tasks with independent oracles pass with 0 false passes. Of 50 seeded wrong outputs, production checks reject 25; the other 25 are caught only by the independent oracle (declared blind spots). Passing the benchmark does not mean the production checks catch every wrong output. See [`evals/README.md`](evals/README.md).
|
|
192
|
+
- **Checks:** 33 executable eval tasks with independent oracles pass with 0 false passes. The benchmark runs from a clone; the Python package does not include it. Of 50 seeded wrong outputs, production checks reject 25; the other 25 are caught only by the independent oracle (declared blind spots). Passing the benchmark does not mean the production checks catch every wrong output. See [`evals/README.md`](evals/README.md).
|
|
154
193
|
- **Routing:** an independent, frozen 160-item set (v5) passed once in both languages: English recall 0.97 with 3.75 wrong picks per 100, Arabic recall 0.96 with 2.5. Earlier independent sets (v3, v4) failed and stay on record. The v5 set was written by an AI agent, not reviewed by an expert.
|
|
155
194
|
- **Agent lift:** in a 54-run Claude Code comparison on 9 tasks, runs with Terraproof passed 27/27 and runs without it 21/27. The pre-specified test is **not significant** (p = 0.125), and five tasks passed either way, so no lift is claimed. The clearest single result is Landsat QA masking (3/3 with, 0/3 without). See [`docs/plans/Terraproof_Phase5_PLAN.md`](docs/plans/Terraproof_Phase5_PLAN.md).
|
|
156
195
|
- **Harder cohort:** a one-repeat Claude Code screen passed all six tasks both with and without Terraproof. That small screen shows no observed benefit and is separate from the original nine-task study. API pilots are exploratory and do not establish lift.
|
|
157
|
-
- **Real hosts:** tool use through MCP has been verified with Codex and
|
|
196
|
+
- **Real hosts:** tool use through MCP has been verified with Codex, Claude Code and Antigravity (Gemini). OpenCode's install format passes a no-model check with the real CLI, but no real tool call has been recorded yet. Cursor and Copilot are unit-tested against their documented layouts only.
|
|
158
197
|
|
|
159
198
|
---
|
|
160
199
|
|
package/package.json
CHANGED
package/routing/checks.json
CHANGED
|
@@ -11,7 +11,14 @@
|
|
|
11
11
|
},
|
|
12
12
|
"crs.metric_operation": {
|
|
13
13
|
"family": "crs",
|
|
14
|
-
"description": "A distance, area, or buffer operation runs in a projected horizontal CRS with metre or foot units, not in degrees or geocentric coordinates."
|
|
14
|
+
"description": "A distance, area, or buffer operation runs in a projected horizontal CRS with metre or foot units, not in degrees or geocentric coordinates.",
|
|
15
|
+
"applies_to": [
|
|
16
|
+
"raster",
|
|
17
|
+
"vector"
|
|
18
|
+
],
|
|
19
|
+
"enabled_by": [
|
|
20
|
+
"operation"
|
|
21
|
+
]
|
|
15
22
|
},
|
|
16
23
|
"geometry.valid": {
|
|
17
24
|
"family": "geometry",
|
|
@@ -31,7 +38,13 @@
|
|
|
31
38
|
},
|
|
32
39
|
"scope.record_count": {
|
|
33
40
|
"family": "scope",
|
|
34
|
-
"description": "The output feature count is compared with a reference dataset's count."
|
|
41
|
+
"description": "The output feature count is compared with a reference dataset's count.",
|
|
42
|
+
"applies_to": [
|
|
43
|
+
"vector"
|
|
44
|
+
],
|
|
45
|
+
"enabled_by": [
|
|
46
|
+
"compare_to"
|
|
47
|
+
]
|
|
35
48
|
},
|
|
36
49
|
"raster.nodata_declared": {
|
|
37
50
|
"family": "raster",
|
|
@@ -39,7 +52,14 @@
|
|
|
39
52
|
},
|
|
40
53
|
"raster.resampling": {
|
|
41
54
|
"family": "raster",
|
|
42
|
-
"description": "The resampling method suits categorical data (nearest or mode)."
|
|
55
|
+
"description": "The resampling method suits categorical data (nearest or mode).",
|
|
56
|
+
"applies_to": [
|
|
57
|
+
"raster"
|
|
58
|
+
],
|
|
59
|
+
"enabled_by": [
|
|
60
|
+
"resampling",
|
|
61
|
+
"categorical"
|
|
62
|
+
]
|
|
43
63
|
},
|
|
44
64
|
"raster.grid_alignment": {
|
|
45
65
|
"family": "raster",
|
|
@@ -51,11 +71,23 @@
|
|
|
51
71
|
},
|
|
52
72
|
"rs.reflectance_range": {
|
|
53
73
|
"family": "rs",
|
|
54
|
-
"description": "Sampled plausibility screen: reflectance values lie within [-0.5, 1.5]; non-finite scale, offset, or values fail. Not a calibration check."
|
|
74
|
+
"description": "Sampled plausibility screen: reflectance values lie within [-0.5, 1.5]; non-finite scale, offset, or values fail. Not a calibration check.",
|
|
75
|
+
"applies_to": [
|
|
76
|
+
"raster"
|
|
77
|
+
],
|
|
78
|
+
"enabled_by": [
|
|
79
|
+
"expect"
|
|
80
|
+
]
|
|
55
81
|
},
|
|
56
82
|
"rs.index_range": {
|
|
57
83
|
"family": "rs",
|
|
58
|
-
"description": "Sampled plausibility screen: spectral index values lie within [-1, 1]; non-finite scale, offset, or values fail."
|
|
84
|
+
"description": "Sampled plausibility screen: spectral index values lie within [-1, 1]; non-finite scale, offset, or values fail.",
|
|
85
|
+
"applies_to": [
|
|
86
|
+
"raster"
|
|
87
|
+
],
|
|
88
|
+
"enabled_by": [
|
|
89
|
+
"expect"
|
|
90
|
+
]
|
|
59
91
|
},
|
|
60
92
|
"stac.provenance": {
|
|
61
93
|
"family": "stac",
|
|
@@ -63,27 +95,65 @@
|
|
|
63
95
|
},
|
|
64
96
|
"rs.scale_applied_once": {
|
|
65
97
|
"family": "rs",
|
|
66
|
-
"description": "
|
|
98
|
+
"description": "Output pixels equal the input DN through the declared calibration exactly once. Default: sampled band-1 screen. processing_full_scan verifies every corresponding band/pixel, finite delivered values and source invalidity, in bounded windows. Additional output-mask policy and other processing steps are not verified.",
|
|
99
|
+
"applies_to": [
|
|
100
|
+
"raster"
|
|
101
|
+
],
|
|
102
|
+
"enabled_by": [
|
|
103
|
+
"reference_input",
|
|
104
|
+
"encoding"
|
|
105
|
+
]
|
|
67
106
|
},
|
|
68
107
|
"rs.cloud_mask_applied": {
|
|
69
108
|
"family": "rs",
|
|
70
|
-
"description": "Pixels flagged as cloud or shadow by
|
|
109
|
+
"description": "Pixels flagged as cloud or shadow by aligned Sentinel-2 SCL or Landsat QA_PIXEL are nodata or NaN. Default: sampled band-1 screen. processing_full_scan verifies all QA locations and output bands; missing or unsupported QA leaves verification not-run. Cloud detection quality and additional masking policy are not verified.",
|
|
110
|
+
"applies_to": [
|
|
111
|
+
"raster"
|
|
112
|
+
],
|
|
113
|
+
"enabled_by": [
|
|
114
|
+
"qa_path",
|
|
115
|
+
"qa_kind"
|
|
116
|
+
]
|
|
71
117
|
},
|
|
72
118
|
"rs.temporal_scope": {
|
|
73
119
|
"family": "rs",
|
|
74
|
-
"description": "Every STAC item datetime, or the whole start/end interval, falls inside a declared time range; items without a usable acquisition time are not-run."
|
|
120
|
+
"description": "Every STAC item datetime, or the whole start/end interval, falls inside a declared time range; items without a usable acquisition time are not-run.",
|
|
121
|
+
"applies_to": [
|
|
122
|
+
"stac"
|
|
123
|
+
],
|
|
124
|
+
"enabled_by": [
|
|
125
|
+
"time_range"
|
|
126
|
+
]
|
|
75
127
|
},
|
|
76
128
|
"terrain.slope_consistent": {
|
|
77
129
|
"family": "terrain",
|
|
78
|
-
"description": "A slope-in-degrees raster matches central differences on its DEM (passed with --dem) using the DEM's declared vertical unit and real pixel spacing; matching the slope with vertical units ignored or square pixels assumed fails, matching neither warns, and geographic or unaligned grids are not-run."
|
|
130
|
+
"description": "A slope-in-degrees raster matches central differences on its DEM (passed with --dem) using the DEM's declared vertical unit and real pixel spacing; matching the slope with vertical units ignored or square pixels assumed fails, matching neither warns, and geographic or unaligned grids are not-run.",
|
|
131
|
+
"applies_to": [
|
|
132
|
+
"raster"
|
|
133
|
+
],
|
|
134
|
+
"enabled_by": [
|
|
135
|
+
"dem"
|
|
136
|
+
]
|
|
79
137
|
},
|
|
80
138
|
"sar.value_domain": {
|
|
81
139
|
"family": "sar",
|
|
82
|
-
"description": "Sampled backscatter values lie in the domain declared by the expected scale (sigma0-db within [-50, 15] dB; sigma0-linear non-negative with p99 <= 5). Flags decibel/linear confusion as one possible cause; not a calibration check."
|
|
140
|
+
"description": "Sampled backscatter values lie in the domain declared by the expected scale (sigma0-db within [-50, 15] dB; sigma0-linear non-negative with p99 <= 5). Flags decibel/linear confusion as one possible cause; not a calibration check.",
|
|
141
|
+
"applies_to": [
|
|
142
|
+
"raster"
|
|
143
|
+
],
|
|
144
|
+
"enabled_by": [
|
|
145
|
+
"sar_expect"
|
|
146
|
+
]
|
|
83
147
|
},
|
|
84
148
|
"sar.geocoded": {
|
|
85
149
|
"family": "sar",
|
|
86
|
-
"description": "A raster carries both a CRS and a non-identity geotransform; GCP-only geometry or an identity transform fails as not geocoded."
|
|
150
|
+
"description": "A raster carries both a CRS and a non-identity geotransform; GCP-only geometry or an identity transform fails as not geocoded.",
|
|
151
|
+
"applies_to": [
|
|
152
|
+
"raster"
|
|
153
|
+
],
|
|
154
|
+
"enabled_by": [
|
|
155
|
+
"sar_expect"
|
|
156
|
+
]
|
|
87
157
|
},
|
|
88
158
|
"accuracy.sample_design": {
|
|
89
159
|
"family": "accuracy",
|
|
@@ -95,7 +165,15 @@
|
|
|
95
165
|
},
|
|
96
166
|
"provenance.reproducible": {
|
|
97
167
|
"family": "provenance",
|
|
98
|
-
"description": "A written run manifest verifies: recorded input/output files re-hash identically and recorded tool versions still match; warns on tool-version drift, fails on changed or missing files, an edited manifest core, or a recorded path outside the workspace."
|
|
168
|
+
"description": "A written run manifest verifies: recorded input/output files re-hash identically and recorded tool versions still match; warns on tool-version drift, fails on changed or missing files, an edited manifest core, or a recorded path outside the workspace.",
|
|
169
|
+
"applies_to": [
|
|
170
|
+
"raster",
|
|
171
|
+
"vector",
|
|
172
|
+
"stac"
|
|
173
|
+
],
|
|
174
|
+
"enabled_by": [
|
|
175
|
+
"manifest"
|
|
176
|
+
]
|
|
99
177
|
},
|
|
100
178
|
"preflight.metric_crs": {
|
|
101
179
|
"family": "preflight",
|
|
@@ -127,15 +205,85 @@
|
|
|
127
205
|
},
|
|
128
206
|
"rs.index_formula": {
|
|
129
207
|
"family": "rs",
|
|
130
|
-
"description": "Opt-in
|
|
208
|
+
"description": "Opt-in spectral-index comparison (NDVI, NBR, dNBR, McFeeters NDWI, MNDWI, Gao NDMI, SAVI, EVI) with declared source-band roles, each band's scale/offset and joint valid support; unsupported cells must be nodata and extra masking warns.",
|
|
209
|
+
"applies_to": [
|
|
210
|
+
"raster"
|
|
211
|
+
],
|
|
212
|
+
"enabled_by": [
|
|
213
|
+
"index_formula",
|
|
214
|
+
"nir",
|
|
215
|
+
"red",
|
|
216
|
+
"index_bands"
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
"rs.stack_reduction": {
|
|
220
|
+
"family": "rs",
|
|
221
|
+
"description": "Opt-in per-pixel reduction of an ordered input stack (median, count, weighted sum such as rate x hours, mean in linear power for dB, OLS slope against declared times) on the output grid; cells without enough valid inputs must be nodata, extra masking warns, and how the inputs were made is not checked.",
|
|
222
|
+
"applies_to": [
|
|
223
|
+
"raster"
|
|
224
|
+
],
|
|
225
|
+
"enabled_by": [
|
|
226
|
+
"stack",
|
|
227
|
+
"stack_reduction"
|
|
228
|
+
]
|
|
131
229
|
},
|
|
132
230
|
"terrain.slope_formula": {
|
|
133
231
|
"family": "terrain",
|
|
134
|
-
"description": "Opt-in calibrated central-difference slope comparison: every required value, complete center/four-neighbour support and nodata edges."
|
|
232
|
+
"description": "Opt-in calibrated central-difference slope comparison: every required value, complete center/four-neighbour support and nodata edges.",
|
|
233
|
+
"applies_to": [
|
|
234
|
+
"raster"
|
|
235
|
+
],
|
|
236
|
+
"enabled_by": [
|
|
237
|
+
"slope_method",
|
|
238
|
+
"dem"
|
|
239
|
+
]
|
|
135
240
|
},
|
|
136
241
|
"raster.source_identity": {
|
|
137
242
|
"family": "raster",
|
|
138
|
-
"description": "Opt-in exact decoded valid-sample and full band-validity comparison with a declared raster source, including grid and band metadata; not COG conformance."
|
|
243
|
+
"description": "Opt-in exact decoded valid-sample and full band-validity comparison with a declared raster source, including grid and band metadata; not COG conformance.",
|
|
244
|
+
"applies_to": [
|
|
245
|
+
"raster"
|
|
246
|
+
],
|
|
247
|
+
"enabled_by": [
|
|
248
|
+
"raster_identity",
|
|
249
|
+
"compare_to"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"raster.vertical_units": {
|
|
253
|
+
"family": "raster",
|
|
254
|
+
"description": "A height or height-difference output matches its declared sources' vertical units converted to the declared output unit, and its unit label does not contradict it.",
|
|
255
|
+
"applies_to": [
|
|
256
|
+
"raster"
|
|
257
|
+
],
|
|
258
|
+
"enabled_by": [
|
|
259
|
+
"vertical_operation",
|
|
260
|
+
"vertical_sources",
|
|
261
|
+
"vertical_source_units",
|
|
262
|
+
"vertical_unit"
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
"raster.nodata_support": {
|
|
266
|
+
"family": "raster",
|
|
267
|
+
"description": "The output is valid exactly where its declared sources are valid under the declared rule, so fill is not treated as data and valid values are not treated as fill.",
|
|
268
|
+
"applies_to": [
|
|
269
|
+
"raster"
|
|
270
|
+
],
|
|
271
|
+
"enabled_by": [
|
|
272
|
+
"support_sources",
|
|
273
|
+
"support_rule"
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
"geometry.metric_values": {
|
|
277
|
+
"family": "geometry",
|
|
278
|
+
"description": "Delivered vector measurements (area or length properties, or a buffer's ground distance) match their geodesic values, whatever CRS the output is stored in.",
|
|
279
|
+
"applies_to": [
|
|
280
|
+
"vector"
|
|
281
|
+
],
|
|
282
|
+
"enabled_by": [
|
|
283
|
+
"metric_quantity",
|
|
284
|
+
"metric_property",
|
|
285
|
+
"metric_unit"
|
|
286
|
+
]
|
|
139
287
|
}
|
|
140
288
|
}
|
|
141
289
|
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0.0",
|
|
3
|
+
"note": "A goal profile names the checks a declared goal requires. Each check still needs its own declared bindings; a missing one makes the requirement incomplete. Nothing is inferred from task text.",
|
|
4
|
+
"profiles": {
|
|
5
|
+
"vertical-units": {
|
|
6
|
+
"description": "A height, depth or elevation-change output made from sources with declared vertical units.",
|
|
7
|
+
"checks": [
|
|
8
|
+
"raster.vertical_units"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"nodata-support": {
|
|
12
|
+
"description": "An output whose valid cells must follow its sources' declared fill and support rule.",
|
|
13
|
+
"checks": [
|
|
14
|
+
"raster.nodata_support"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"qa-masked": {
|
|
18
|
+
"description": "An optical output that must exclude cells flagged by a declared QA layer.",
|
|
19
|
+
"checks": [
|
|
20
|
+
"rs.cloud_mask_applied"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"scaled-reflectance": {
|
|
24
|
+
"description": "Surface reflectance decoded once from a declared integer product encoding.",
|
|
25
|
+
"checks": [
|
|
26
|
+
"rs.reflectance_range",
|
|
27
|
+
"rs.scale_applied_once"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"metric-operation": {
|
|
31
|
+
"description": "A dataset about to be used for a distance, area, length or buffer operation must be in a metric CRS. For measurements already delivered, use metric-values.",
|
|
32
|
+
"checks": [
|
|
33
|
+
"crs.metric_operation"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"slope-from-dem": {
|
|
37
|
+
"description": "A slope-in-degrees output derived from a declared DEM.",
|
|
38
|
+
"checks": [
|
|
39
|
+
"terrain.slope_consistent"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"metric-values": {
|
|
43
|
+
"description": "Vector measurements already delivered (area or length properties, or a buffer), in any CRS.",
|
|
44
|
+
"checks": [
|
|
45
|
+
"geometry.metric_values"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|