Upload folder using huggingface_hub
Browse files- README.md +113 -0
- data/index/test.parquet +3 -0
- data/index/train.parquet +3 -0
- data/index/validation.parquet +3 -0
- data/schema.json +228 -0
- data/shards/test-000000.tar +3 -0
- data/shards/train-000000.tar +3 -0
- data/shards/validation-000000.tar +3 -0
- metadata.json +461 -0
README.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: default
|
| 4 |
+
data_files:
|
| 5 |
+
- split: train
|
| 6 |
+
path: "data/index/train.parquet"
|
| 7 |
+
- split: validation
|
| 8 |
+
path: "data/index/validation.parquet"
|
| 9 |
+
- split: test
|
| 10 |
+
path: "data/index/test.parquet"
|
| 11 |
+
license: cc-by-4.0
|
| 12 |
+
task_categories:
|
| 13 |
+
- image-segmentation
|
| 14 |
+
- other
|
| 15 |
+
tags:
|
| 16 |
+
- earth-observation
|
| 17 |
+
- remote-sensing
|
| 18 |
+
- sentinel-2
|
| 19 |
+
- sentinel-1
|
| 20 |
+
- aerial-imagery
|
| 21 |
+
- orthophoto
|
| 22 |
+
- geospatial
|
| 23 |
+
- tree-inventory
|
| 24 |
+
- webdataset
|
| 25 |
+
- Bavaria
|
| 26 |
+
size_categories:
|
| 27 |
+
- n<1K
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
# Bavaria EO Benchmark (12-patch subset with DOP20)
|
| 31 |
+
|
| 32 |
+
A **development subset** of the Bavaria EO Benchmark: **12 patches** (9 train, 2 validation, 1 test) sampled from the full grid, including **DOP20** true-colour aerial orthophotos at **20 cm** ground sampling distance alongside the usual **10 m** Sentinel-1/2 stacks and tree-structure labels.
|
| 33 |
+
|
| 34 |
+
This release is **not** intended as a training corpus at scale; it mirrors the same WebDataset + Parquet index + Croissant layout as the larger release so pipelines can be tested end-to-end.
|
| 35 |
+
|
| 36 |
+
## Distribution format
|
| 37 |
+
|
| 38 |
+
```
|
| 39 |
+
data/
|
| 40 |
+
schema.json <- tensor member definitions (dtype, shape, band names)
|
| 41 |
+
index/
|
| 42 |
+
train.parquet <- 9 patches (metadata + locators only)
|
| 43 |
+
validation.parquet <- 2 patches
|
| 44 |
+
test.parquet <- 1 patch
|
| 45 |
+
shards/
|
| 46 |
+
train-000000.tar <- ~1.1 GB (all train samples + DOP20)
|
| 47 |
+
validation-000000.tar <- ~242 MB
|
| 48 |
+
test-000000.tar <- ~121 MB
|
| 49 |
+
metadata.json <- Croissant 1.0 JSON-LD
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Total footprint is about **1.5 GB**, dominated by DOP20 (~123 MB raw per patch).
|
| 53 |
+
|
| 54 |
+
## Per-sample members inside each `.tar`
|
| 55 |
+
|
| 56 |
+
Each patch uses a `sample_key` (6-digit zero-padded `zarr_idx`). Members share that prefix:
|
| 57 |
+
|
| 58 |
+
| Member | Shape | dtype | Description |
|
| 59 |
+
|--------|-------|-------|-------------|
|
| 60 |
+
| `{key}.s2_*.f32` | 128×128×10 | float32 | Sentinel-2 seasonal composites (4 seasons) |
|
| 61 |
+
| `{key}.s1_*.f32` | 128×128×2 | float32 | Sentinel-1 seasonal composites (VV, VH) |
|
| 62 |
+
| `{key}.tree_species.u8` | 128×128 | uint8 | Tree species class IDs |
|
| 63 |
+
| `{key}.*_height*.f32`, `{key}.tree_*.f32` | 128×128 | float32 | Label rasters (see schema.json) |
|
| 64 |
+
| `{key}.dop20_rgb.u8` | 6400×6400×3 | uint8 | DOP20 RGB orthophoto (20 cm) |
|
| 65 |
+
| `{key}.json` | — | JSON | Patch id, centre coordinates, split |
|
| 66 |
+
|
| 67 |
+
Decode raw buffers with `numpy.frombuffer(..., dtype=...).reshape(...)` as in [`data/schema.json`](data/schema.json).
|
| 68 |
+
|
| 69 |
+
## Croissant
|
| 70 |
+
|
| 71 |
+
[`metadata.json`](metadata.json) conforms to [Croissant 1.0](http://mlcommons.org/croissant/1.0) and references `data/schema.json`, the index Parquets, and the shard `FileSet` globs.
|
| 72 |
+
|
| 73 |
+
## Reproducing this export
|
| 74 |
+
|
| 75 |
+
From the project root (paths inside the container use `/data/output` because `docker-compose` mounts `./data` there):
|
| 76 |
+
|
| 77 |
+
```bash
|
| 78 |
+
docker run --rm \
|
| 79 |
+
-v "$(pwd)/data:/data/output" \
|
| 80 |
+
-v "$(pwd)/scripts:/scripts" \
|
| 81 |
+
bavaria-eo-benchmark-create-subset-zarr \
|
| 82 |
+
env ZARR_PATH=/data/output/zarr/bavaria_eo_benchmark_subset.zarr \
|
| 83 |
+
INDEX_PATH=/data/output/zarr/patch_index_subset.parquet \
|
| 84 |
+
OUTPUT_DIR=/data/output/hf_release_subset \
|
| 85 |
+
SHARD_SIZE_MB=2000 \
|
| 86 |
+
INCLUDE_DOP20=1 \
|
| 87 |
+
python3 /scripts/export_to_hf_webdataset.py
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
After any change to indexed files, recompute `sha256` values in `metadata.json` for the corresponding `FileObject` entries.
|
| 91 |
+
|
| 92 |
+
## Upload to the Hugging Face Hub
|
| 93 |
+
|
| 94 |
+
Install the Hub CLI (new command is `hf`; `huggingface-cli` is deprecated):
|
| 95 |
+
|
| 96 |
+
```bash
|
| 97 |
+
pip install -U "huggingface_hub[cli]"
|
| 98 |
+
hf auth login
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
Upload the release folder (dataset repo):
|
| 102 |
+
|
| 103 |
+
```bash
|
| 104 |
+
hf upload <your-org>/<repo-name> ./data/hf_release_subset . --repo-type dataset
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
For multi-GB trees, if suggested:
|
| 108 |
+
|
| 109 |
+
```bash
|
| 110 |
+
hf upload-large-folder <your-org>/<repo-name> ./data/hf_release_subset . --repo-type dataset
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
On servers, set `HF_TOKEN` and skip interactive login: `export HF_TOKEN=hf_...` then run `hf upload` as above.
|
data/index/test.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:786e089f76c3a4ba90973a46b5bc802c1457842b7444c50aa841e78a3b448145
|
| 3 |
+
size 12751
|
data/index/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f851ae9e22b694302a38087ec1da3effe30b80690d62667146059a3e0147df9
|
| 3 |
+
size 13542
|
data/index/validation.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/sp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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"description": "Raw little-endian tensor members inside each WebDataset .tar shard. Each sample is identified by a zero-padded decimal key. Reshape bytes using numpy: np.frombuffer(data, dtype=dtype).reshape(shape).",
|
| 3 |
+
"members": {
|
| 4 |
+
"s2_spring.f32": {
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"shape": [
|
| 7 |
+
128,
|
| 8 |
+
128,
|
| 9 |
+
10
|
| 10 |
+
],
|
| 11 |
+
"band_names": [
|
| 12 |
+
"B2",
|
| 13 |
+
"B3",
|
| 14 |
+
"B4",
|
| 15 |
+
"B8",
|
| 16 |
+
"B5",
|
| 17 |
+
"B6",
|
| 18 |
+
"B7",
|
| 19 |
+
"B8A",
|
| 20 |
+
"B11",
|
| 21 |
+
"B12"
|
| 22 |
+
],
|
| 23 |
+
"description": "Sentinel-2 L2A 10-band seasonal median composite (spring 2025)",
|
| 24 |
+
"units": "DN (divide by 10000 to get reflectance [0,1])"
|
| 25 |
+
},
|
| 26 |
+
"s2_summer.f32": {
|
| 27 |
+
"dtype": "float32",
|
| 28 |
+
"shape": [
|
| 29 |
+
128,
|
| 30 |
+
128,
|
| 31 |
+
10
|
| 32 |
+
],
|
| 33 |
+
"band_names": [
|
| 34 |
+
"B2",
|
| 35 |
+
"B3",
|
| 36 |
+
"B4",
|
| 37 |
+
"B8",
|
| 38 |
+
"B5",
|
| 39 |
+
"B6",
|
| 40 |
+
"B7",
|
| 41 |
+
"B8A",
|
| 42 |
+
"B11",
|
| 43 |
+
"B12"
|
| 44 |
+
],
|
| 45 |
+
"description": "Sentinel-2 L2A 10-band seasonal median composite (summer 2025)",
|
| 46 |
+
"units": "DN (divide by 10000 to get reflectance [0,1])"
|
| 47 |
+
},
|
| 48 |
+
"s2_autumn.f32": {
|
| 49 |
+
"dtype": "float32",
|
| 50 |
+
"shape": [
|
| 51 |
+
128,
|
| 52 |
+
128,
|
| 53 |
+
10
|
| 54 |
+
],
|
| 55 |
+
"band_names": [
|
| 56 |
+
"B2",
|
| 57 |
+
"B3",
|
| 58 |
+
"B4",
|
| 59 |
+
"B8",
|
| 60 |
+
"B5",
|
| 61 |
+
"B6",
|
| 62 |
+
"B7",
|
| 63 |
+
"B8A",
|
| 64 |
+
"B11",
|
| 65 |
+
"B12"
|
| 66 |
+
],
|
| 67 |
+
"description": "Sentinel-2 L2A 10-band seasonal median composite (autumn 2025)",
|
| 68 |
+
"units": "DN (divide by 10000 to get reflectance [0,1])"
|
| 69 |
+
},
|
| 70 |
+
"s2_winter.f32": {
|
| 71 |
+
"dtype": "float32",
|
| 72 |
+
"shape": [
|
| 73 |
+
128,
|
| 74 |
+
128,
|
| 75 |
+
10
|
| 76 |
+
],
|
| 77 |
+
"band_names": [
|
| 78 |
+
"B2",
|
| 79 |
+
"B3",
|
| 80 |
+
"B4",
|
| 81 |
+
"B8",
|
| 82 |
+
"B5",
|
| 83 |
+
"B6",
|
| 84 |
+
"B7",
|
| 85 |
+
"B8A",
|
| 86 |
+
"B11",
|
| 87 |
+
"B12"
|
| 88 |
+
],
|
| 89 |
+
"description": "Sentinel-2 L2A 10-band seasonal median composite (winter 2025)",
|
| 90 |
+
"units": "DN (divide by 10000 to get reflectance [0,1])"
|
| 91 |
+
},
|
| 92 |
+
"s1_spring.f32": {
|
| 93 |
+
"dtype": "float32",
|
| 94 |
+
"shape": [
|
| 95 |
+
128,
|
| 96 |
+
128,
|
| 97 |
+
2
|
| 98 |
+
],
|
| 99 |
+
"band_names": [
|
| 100 |
+
"VV",
|
| 101 |
+
"VH"
|
| 102 |
+
],
|
| 103 |
+
"description": "Sentinel-1 GRD linear gamma-0 (spring 2025)",
|
| 104 |
+
"units": "linear gamma-0 (not dB); typical range 0-1"
|
| 105 |
+
},
|
| 106 |
+
"s1_summer.f32": {
|
| 107 |
+
"dtype": "float32",
|
| 108 |
+
"shape": [
|
| 109 |
+
128,
|
| 110 |
+
128,
|
| 111 |
+
2
|
| 112 |
+
],
|
| 113 |
+
"band_names": [
|
| 114 |
+
"VV",
|
| 115 |
+
"VH"
|
| 116 |
+
],
|
| 117 |
+
"description": "Sentinel-1 GRD linear gamma-0 (summer 2025)",
|
| 118 |
+
"units": "linear gamma-0 (not dB); typical range 0-1"
|
| 119 |
+
},
|
| 120 |
+
"s1_autumn.f32": {
|
| 121 |
+
"dtype": "float32",
|
| 122 |
+
"shape": [
|
| 123 |
+
128,
|
| 124 |
+
128,
|
| 125 |
+
2
|
| 126 |
+
],
|
| 127 |
+
"band_names": [
|
| 128 |
+
"VV",
|
| 129 |
+
"VH"
|
| 130 |
+
],
|
| 131 |
+
"description": "Sentinel-1 GRD linear gamma-0 (autumn 2025)",
|
| 132 |
+
"units": "linear gamma-0 (not dB); typical range 0-1"
|
| 133 |
+
},
|
| 134 |
+
"s1_winter.f32": {
|
| 135 |
+
"dtype": "float32",
|
| 136 |
+
"shape": [
|
| 137 |
+
128,
|
| 138 |
+
128,
|
| 139 |
+
2
|
| 140 |
+
],
|
| 141 |
+
"band_names": [
|
| 142 |
+
"VV",
|
| 143 |
+
"VH"
|
| 144 |
+
],
|
| 145 |
+
"description": "Sentinel-1 GRD linear gamma-0 (winter 2025)",
|
| 146 |
+
"units": "linear gamma-0 (not dB); typical range 0-1"
|
| 147 |
+
},
|
| 148 |
+
"tree_species.u8": {
|
| 149 |
+
"dtype": "uint8",
|
| 150 |
+
"shape": [
|
| 151 |
+
128,
|
| 152 |
+
128
|
| 153 |
+
],
|
| 154 |
+
"band_names": null,
|
| 155 |
+
"description": "Tree species classification class IDs (0 = background/no-data)"
|
| 156 |
+
},
|
| 157 |
+
"mean_height.f32": {
|
| 158 |
+
"dtype": "float32",
|
| 159 |
+
"shape": [
|
| 160 |
+
128,
|
| 161 |
+
128
|
| 162 |
+
],
|
| 163 |
+
"description": "Mean tree height per 10 m cell (m); NaN = no inventory trees"
|
| 164 |
+
},
|
| 165 |
+
"median_height.f32": {
|
| 166 |
+
"dtype": "float32",
|
| 167 |
+
"shape": [
|
| 168 |
+
128,
|
| 169 |
+
128
|
| 170 |
+
],
|
| 171 |
+
"description": "Median tree height per 10 m cell (m)"
|
| 172 |
+
},
|
| 173 |
+
"height_variance.f32": {
|
| 174 |
+
"dtype": "float32",
|
| 175 |
+
"shape": [
|
| 176 |
+
128,
|
| 177 |
+
128
|
| 178 |
+
],
|
| 179 |
+
"description": "Variance of tree height per 10 m cell"
|
| 180 |
+
},
|
| 181 |
+
"tree_count.f32": {
|
| 182 |
+
"dtype": "float32",
|
| 183 |
+
"shape": [
|
| 184 |
+
128,
|
| 185 |
+
128
|
| 186 |
+
],
|
| 187 |
+
"description": "Number of inventory trees per 10 m cell"
|
| 188 |
+
},
|
| 189 |
+
"tree_density.f32": {
|
| 190 |
+
"dtype": "float32",
|
| 191 |
+
"shape": [
|
| 192 |
+
128,
|
| 193 |
+
128
|
| 194 |
+
],
|
| 195 |
+
"description": "Sum of tree_count in 3x3 neighbourhood"
|
| 196 |
+
},
|
| 197 |
+
"tree_count_variance.f32": {
|
| 198 |
+
"dtype": "float32",
|
| 199 |
+
"shape": [
|
| 200 |
+
128,
|
| 201 |
+
128
|
| 202 |
+
],
|
| 203 |
+
"description": "Spatial variance of tree count per cell"
|
| 204 |
+
},
|
| 205 |
+
"dop20_rgb.u8": {
|
| 206 |
+
"dtype": "uint8",
|
| 207 |
+
"shape": [
|
| 208 |
+
6400,
|
| 209 |
+
6400,
|
| 210 |
+
3
|
| 211 |
+
],
|
| 212 |
+
"band_names": [
|
| 213 |
+
"R",
|
| 214 |
+
"G",
|
| 215 |
+
"B"
|
| 216 |
+
],
|
| 217 |
+
"description": "DOP20 true-colour aerial orthophoto at 20 cm GSD. Pixel extent is 6400\u00d76400 = 1280 m \u00d7 1280 m (co-registered with the 128\u00d7128 10 m Sentinel grid). Present only in datasets exported with INCLUDE_DOP20=1.",
|
| 218 |
+
"units": "uint8 [0, 255]",
|
| 219 |
+
"optional": true
|
| 220 |
+
}
|
| 221 |
+
},
|
| 222 |
+
"meta_member": ".json",
|
| 223 |
+
"crs": "EPSG:25832",
|
| 224 |
+
"patch_size_px": 128,
|
| 225 |
+
"resolution_m": 10,
|
| 226 |
+
"dop20_patch_size_px": 6400,
|
| 227 |
+
"dop20_resolution_m": 0.2
|
| 228 |
+
}
|
data/shards/test-000000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eef31d6c9eb882d3233fa0eb7d9b5ef95043c6214eb007dceab39867fd0665a1
|
| 3 |
+
size 126453760
|
data/shards/train-000000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91372ff423e78ebee5dc6f4ee613f7d676a3930c0effe5c8b9befb104b8f979d
|
| 3 |
+
size 1138001920
|
data/shards/validation-000000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid s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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"@context": {
|
| 3 |
+
"@language": "en",
|
| 4 |
+
"@vocab": "https://schema.org/",
|
| 5 |
+
"citeAs": "cr:citeAs",
|
| 6 |
+
"column": "cr:column",
|
| 7 |
+
"conformsTo": "dct:conformsTo",
|
| 8 |
+
"cr": "http://mlcommons.org/croissant/",
|
| 9 |
+
"rai": "http://mlcommons.org/croissant/RAI/",
|
| 10 |
+
"data": {
|
| 11 |
+
"@id": "cr:data",
|
| 12 |
+
"@type": "@json"
|
| 13 |
+
},
|
| 14 |
+
"dataType": {
|
| 15 |
+
"@id": "cr:dataType",
|
| 16 |
+
"@type": "@vocab"
|
| 17 |
+
},
|
| 18 |
+
"dct": "http://purl.org/dc/terms/",
|
| 19 |
+
"examples": {
|
| 20 |
+
"@id": "cr:examples",
|
| 21 |
+
"@type": "@json"
|
| 22 |
+
},
|
| 23 |
+
"extract": "cr:extract",
|
| 24 |
+
"field": "cr:field",
|
| 25 |
+
"fileProperty": "cr:fileProperty",
|
| 26 |
+
"fileObject": "cr:fileObject",
|
| 27 |
+
"fileSet": "cr:fileSet",
|
| 28 |
+
"format": "cr:format",
|
| 29 |
+
"includes": "cr:includes",
|
| 30 |
+
"isArray": "cr:isArray",
|
| 31 |
+
"arrayShape": "cr:arrayShape",
|
| 32 |
+
"isLiveDataset": "cr:isLiveDataset",
|
| 33 |
+
"jsonPath": "cr:jsonPath",
|
| 34 |
+
"key": "cr:key",
|
| 35 |
+
"md5": "cr:md5",
|
| 36 |
+
"parentField": "cr:parentField",
|
| 37 |
+
"path": "cr:path",
|
| 38 |
+
"recordSet": "cr:recordSet",
|
| 39 |
+
"references": "cr:references",
|
| 40 |
+
"regex": "cr:regex",
|
| 41 |
+
"repeated": "cr:repeated",
|
| 42 |
+
"replace": "cr:replace",
|
| 43 |
+
"sc": "https://schema.org/",
|
| 44 |
+
"separator": "cr:separator",
|
| 45 |
+
"source": "cr:source",
|
| 46 |
+
"subField": "cr:subField",
|
| 47 |
+
"transform": "cr:transform",
|
| 48 |
+
"wd": "https://www.wikidata.org/wiki/"
|
| 49 |
+
},
|
| 50 |
+
"@type": "sc:Dataset",
|
| 51 |
+
"conformsTo": "http://mlcommons.org/croissant/1.0",
|
| 52 |
+
"name": "Bavaria EO Benchmark (12-patch subset with DOP20)",
|
| 53 |
+
"description": "A tiny stratified subset (12 patches) of the Bavaria EO Benchmark grid, exported for development and smoke tests. Each patch includes Sentinel-2 seasonal composites (10 bands, 4 seasons), Sentinel-1 GRD seasonal composites (VV+VH, 4 seasons), tree-species raster, tree-structure labels at 10 m, and co-registered DOP20 true-colour aerial orthophotos at 20 cm GSD (6400×6400×3 uint8 per patch). Splits: 9 train, 2 validation, 1 test. Data is distributed as WebDataset .tar shards plus slim Parquet index files; tensor layouts are defined in data/schema.json.",
|
| 54 |
+
"url": "https://github.com/your-org/Bavaria-EO-Benchmark",
|
| 55 |
+
"version": "0.2.0-subset-dop20",
|
| 56 |
+
"license": "https://creativecommons.org/licenses/by/4.0/",
|
| 57 |
+
"keywords": [
|
| 58 |
+
"earth-observation",
|
| 59 |
+
"remote-sensing",
|
| 60 |
+
"sentinel-2",
|
| 61 |
+
"sentinel-1",
|
| 62 |
+
"aerial-imagery",
|
| 63 |
+
"DOP20",
|
| 64 |
+
"orthophoto",
|
| 65 |
+
"tree-inventory",
|
| 66 |
+
"Bavaria",
|
| 67 |
+
"geospatial",
|
| 68 |
+
"webdataset"
|
| 69 |
+
],
|
| 70 |
+
"creator": [
|
| 71 |
+
{
|
| 72 |
+
"@type": "Organization",
|
| 73 |
+
"name": "Bavaria EO Benchmark Authors"
|
| 74 |
+
}
|
| 75 |
+
],
|
| 76 |
+
"distribution": [
|
| 77 |
+
{
|
| 78 |
+
"@type": "cr:FileObject",
|
| 79 |
+
"@id": "schema-json",
|
| 80 |
+
"name": "schema.json",
|
| 81 |
+
"description": "Machine-readable tensor schema: maps each .tar member suffix to dtype, shape, band names, and description.",
|
| 82 |
+
"contentUrl": "data/schema.json",
|
| 83 |
+
"encodingFormat": "application/json",
|
| 84 |
+
"sha256": "34c8f651e74511606de93ff844ade1595faaf590aea1d9bcf3bf52c38a50b3b9"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"@type": "cr:FileObject",
|
| 88 |
+
"@id": "index-train",
|
| 89 |
+
"name": "train.parquet",
|
| 90 |
+
"description": "Slim patch index for the train split (9 patches). Columns: patch metadata + sample_key + shard_relpath.",
|
| 91 |
+
"contentUrl": "data/index/train.parquet",
|
| 92 |
+
"encodingFormat": "application/x-parquet",
|
| 93 |
+
"sha256": "2f851ae9e22b694302a38087ec1da3effe30b80690d62667146059a3e0147df9"
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"@type": "cr:FileObject",
|
| 97 |
+
"@id": "index-validation",
|
| 98 |
+
"name": "validation.parquet",
|
| 99 |
+
"description": "Slim patch index for the validation split (2 patches).",
|
| 100 |
+
"contentUrl": "data/index/validation.parquet",
|
| 101 |
+
"encodingFormat": "application/x-parquet",
|
| 102 |
+
"sha256": "fa5b0ae02c966e73a94a4b2eb67ef3a968f12d15ccbcdc484fc86d58906a2cbb"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"@type": "cr:FileObject",
|
| 106 |
+
"@id": "index-test",
|
| 107 |
+
"name": "test.parquet",
|
| 108 |
+
"description": "Slim patch index for the test split (1 patch).",
|
| 109 |
+
"contentUrl": "data/index/test.parquet",
|
| 110 |
+
"encodingFormat": "application/x-parquet",
|
| 111 |
+
"sha256": "786e089f76c3a4ba90973a46b5bc802c1457842b7444c50aa841e78a3b448145"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"@type": "cr:FileSet",
|
| 115 |
+
"@id": "train-shards",
|
| 116 |
+
"name": "train shards",
|
| 117 |
+
"description": "WebDataset .tar shard for the train split (1 shard, ~1.1 GB). Each sample key is a 6-digit zero-padded zarr_idx. Members documented in schema.json.",
|
| 118 |
+
"encodingFormat": "application/x-tar",
|
| 119 |
+
"includes": "data/shards/train-*.tar"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"@type": "cr:FileSet",
|
| 123 |
+
"@id": "validation-shards",
|
| 124 |
+
"name": "validation shards",
|
| 125 |
+
"description": "WebDataset .tar shard for the validation split (1 shard, ~242 MB).",
|
| 126 |
+
"encodingFormat": "application/x-tar",
|
| 127 |
+
"includes": "data/shards/validation-*.tar"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"@type": "cr:FileSet",
|
| 131 |
+
"@id": "test-shards",
|
| 132 |
+
"name": "test shards",
|
| 133 |
+
"description": "WebDataset .tar shard for the test split (1 shard, ~121 MB).",
|
| 134 |
+
"encodingFormat": "application/x-tar",
|
| 135 |
+
"includes": "data/shards/test-*.tar"
|
| 136 |
+
}
|
| 137 |
+
],
|
| 138 |
+
"recordSet": [
|
| 139 |
+
{
|
| 140 |
+
"@type": "cr:RecordSet",
|
| 141 |
+
"@id": "patches",
|
| 142 |
+
"name": "patches",
|
| 143 |
+
"description": "One record per patch. Columns are patch metadata and locators (sample_key, shard_relpath) pointing to WebDataset samples in the tar shards. Tensor data is not stored in the Parquet rows; decode binary members per data/schema.json.",
|
| 144 |
+
"key": {"@id": "patches/patch_id"},
|
| 145 |
+
"field": [
|
| 146 |
+
{
|
| 147 |
+
"@type": "cr:Field",
|
| 148 |
+
"@id": "patches/patch_id",
|
| 149 |
+
"name": "patch_id",
|
| 150 |
+
"description": "Unique integer patch identifier from the full-Bavaria grid.",
|
| 151 |
+
"dataType": "sc:Integer",
|
| 152 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "patch_id"}}
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"@type": "cr:Field",
|
| 156 |
+
"@id": "patches/center_x",
|
| 157 |
+
"name": "center_x",
|
| 158 |
+
"description": "Patch centre easting in EPSG:25832 (metres).",
|
| 159 |
+
"dataType": "sc:Float",
|
| 160 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "center_x"}}
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"@type": "cr:Field",
|
| 164 |
+
"@id": "patches/center_y",
|
| 165 |
+
"name": "center_y",
|
| 166 |
+
"description": "Patch centre northing in EPSG:25832 (metres).",
|
| 167 |
+
"dataType": "sc:Float",
|
| 168 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "center_y"}}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"@type": "cr:Field",
|
| 172 |
+
"@id": "patches/row_start",
|
| 173 |
+
"name": "row_start",
|
| 174 |
+
"description": "Top row index of the patch in the master grid (pixels).",
|
| 175 |
+
"dataType": "sc:Integer",
|
| 176 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "row_start"}}
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"@type": "cr:Field",
|
| 180 |
+
"@id": "patches/row_end",
|
| 181 |
+
"name": "row_end",
|
| 182 |
+
"description": "Exclusive bottom row index of the patch in the master grid.",
|
| 183 |
+
"dataType": "sc:Integer",
|
| 184 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "row_end"}}
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"@type": "cr:Field",
|
| 188 |
+
"@id": "patches/col_start",
|
| 189 |
+
"name": "col_start",
|
| 190 |
+
"description": "Left column index of the patch in the master grid (pixels).",
|
| 191 |
+
"dataType": "sc:Integer",
|
| 192 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "col_start"}}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"@type": "cr:Field",
|
| 196 |
+
"@id": "patches/col_end",
|
| 197 |
+
"name": "col_end",
|
| 198 |
+
"description": "Exclusive right column index of the patch in the master grid.",
|
| 199 |
+
"dataType": "sc:Integer",
|
| 200 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "col_end"}}
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"@type": "cr:Field",
|
| 204 |
+
"@id": "patches/valid_pixel_pct",
|
| 205 |
+
"name": "valid_pixel_pct",
|
| 206 |
+
"description": "Fraction of non-NaN pixels in Sentinel-2 bands for this patch.",
|
| 207 |
+
"dataType": "sc:Float",
|
| 208 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "valid_pixel_pct"}}
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"@type": "cr:Field",
|
| 212 |
+
"@id": "patches/tree_pixel_pct",
|
| 213 |
+
"name": "tree_pixel_pct",
|
| 214 |
+
"description": "Fraction of pixels in this patch with at least one inventory tree (0-1).",
|
| 215 |
+
"dataType": "sc:Float",
|
| 216 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "tree_pixel_pct"}}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"@type": "cr:Field",
|
| 220 |
+
"@id": "patches/mean_tree_count",
|
| 221 |
+
"name": "mean_tree_count",
|
| 222 |
+
"description": "Mean number of inventory trees per non-zero pixel in this patch.",
|
| 223 |
+
"dataType": "sc:Float",
|
| 224 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "mean_tree_count"}}
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"@type": "cr:Field",
|
| 228 |
+
"@id": "patches/mean_tree_count_variance",
|
| 229 |
+
"name": "mean_tree_count_variance",
|
| 230 |
+
"description": "Mean tree-count variance statistic for this patch.",
|
| 231 |
+
"dataType": "sc:Float",
|
| 232 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "mean_tree_count_variance"}}
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"@type": "cr:Field",
|
| 236 |
+
"@id": "patches/split",
|
| 237 |
+
"name": "split",
|
| 238 |
+
"description": "Dataset split: train, val, or test.",
|
| 239 |
+
"dataType": "sc:Text",
|
| 240 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "split"}}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"@type": "cr:Field",
|
| 244 |
+
"@id": "patches/block_col",
|
| 245 |
+
"name": "block_col",
|
| 246 |
+
"description": "Block column index for spatial train/val/test assignment.",
|
| 247 |
+
"dataType": "sc:Integer",
|
| 248 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "block_col"}}
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"@type": "cr:Field",
|
| 252 |
+
"@id": "patches/block_row",
|
| 253 |
+
"name": "block_row",
|
| 254 |
+
"description": "Block row index for spatial train/val/test assignment.",
|
| 255 |
+
"dataType": "sc:Integer",
|
| 256 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "block_row"}}
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"@type": "cr:Field",
|
| 260 |
+
"@id": "patches/block_id",
|
| 261 |
+
"name": "block_id",
|
| 262 |
+
"description": "Geographic block ID used for spatial train/val/test assignment.",
|
| 263 |
+
"dataType": "sc:Integer",
|
| 264 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "block_id"}}
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"@type": "cr:Field",
|
| 268 |
+
"@id": "patches/distance_to_nearest_test_km",
|
| 269 |
+
"name": "distance_to_nearest_test_km",
|
| 270 |
+
"description": "Distance from patch centre to nearest test block (km).",
|
| 271 |
+
"dataType": "sc:Float",
|
| 272 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "distance_to_nearest_test_km"}}
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"@type": "cr:Field",
|
| 276 |
+
"@id": "patches/buffered",
|
| 277 |
+
"name": "buffered",
|
| 278 |
+
"description": "Whether the patch lies in a buffer zone around test blocks.",
|
| 279 |
+
"dataType": "sc:Boolean",
|
| 280 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "buffered"}}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"@type": "cr:Field",
|
| 284 |
+
"@id": "patches/in_bavaria",
|
| 285 |
+
"name": "in_bavaria",
|
| 286 |
+
"description": "True if the patch centre falls within the official Bavaria boundary.",
|
| 287 |
+
"dataType": "sc:Boolean",
|
| 288 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "in_bavaria"}}
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"@type": "cr:Field",
|
| 292 |
+
"@id": "patches/zarr_idx",
|
| 293 |
+
"name": "zarr_idx",
|
| 294 |
+
"description": "Row index in the source Zarr store (0-based); equals the integer value of sample_key.",
|
| 295 |
+
"dataType": "sc:Integer",
|
| 296 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "zarr_idx"}}
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"@type": "cr:Field",
|
| 300 |
+
"@id": "patches/sample_key",
|
| 301 |
+
"name": "sample_key",
|
| 302 |
+
"description": "WebDataset sample key: 6-digit zero-padded decimal equal to zarr_idx.",
|
| 303 |
+
"dataType": "sc:Text",
|
| 304 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "sample_key"}}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"@type": "cr:Field",
|
| 308 |
+
"@id": "patches/shard_relpath",
|
| 309 |
+
"name": "shard_relpath",
|
| 310 |
+
"description": "Relative path from the dataset root to the .tar shard containing this sample.",
|
| 311 |
+
"dataType": "sc:Text",
|
| 312 |
+
"source": {"fileObject": {"@id": "index-train"}, "extract": {"column": "shard_relpath"}}
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"@type": "cr:Field",
|
| 316 |
+
"@id": "patches/s2_spring",
|
| 317 |
+
"name": "s2_spring",
|
| 318 |
+
"description": "Sentinel-2 L2A spring composite. 10 bands. Stored as {sample_key}.s2_spring.f32 (raw float32 LE, shape 128×128×10).",
|
| 319 |
+
"dataType": "sc:Float",
|
| 320 |
+
"isArray": true,
|
| 321 |
+
"arrayShape": "128,128,10"
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"@type": "cr:Field",
|
| 325 |
+
"@id": "patches/s2_summer",
|
| 326 |
+
"name": "s2_summer",
|
| 327 |
+
"description": "Sentinel-2 L2A summer composite. Stored as {sample_key}.s2_summer.f32.",
|
| 328 |
+
"dataType": "sc:Float",
|
| 329 |
+
"isArray": true,
|
| 330 |
+
"arrayShape": "128,128,10"
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"@type": "cr:Field",
|
| 334 |
+
"@id": "patches/s2_autumn",
|
| 335 |
+
"name": "s2_autumn",
|
| 336 |
+
"description": "Sentinel-2 L2A autumn composite. Stored as {sample_key}.s2_autumn.f32.",
|
| 337 |
+
"dataType": "sc:Float",
|
| 338 |
+
"isArray": true,
|
| 339 |
+
"arrayShape": "128,128,10"
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"@type": "cr:Field",
|
| 343 |
+
"@id": "patches/s2_winter",
|
| 344 |
+
"name": "s2_winter",
|
| 345 |
+
"description": "Sentinel-2 L2A winter composite. Stored as {sample_key}.s2_winter.f32.",
|
| 346 |
+
"dataType": "sc:Float",
|
| 347 |
+
"isArray": true,
|
| 348 |
+
"arrayShape": "128,128,10"
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"@type": "cr:Field",
|
| 352 |
+
"@id": "patches/s1_spring",
|
| 353 |
+
"name": "s1_spring",
|
| 354 |
+
"description": "Sentinel-1 GRD spring composite (VV, VH). Stored as {sample_key}.s1_spring.f32.",
|
| 355 |
+
"dataType": "sc:Float",
|
| 356 |
+
"isArray": true,
|
| 357 |
+
"arrayShape": "128,128,2"
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"@type": "cr:Field",
|
| 361 |
+
"@id": "patches/s1_summer",
|
| 362 |
+
"name": "s1_summer",
|
| 363 |
+
"description": "Sentinel-1 GRD summer composite. Stored as {sample_key}.s1_summer.f32.",
|
| 364 |
+
"dataType": "sc:Float",
|
| 365 |
+
"isArray": true,
|
| 366 |
+
"arrayShape": "128,128,2"
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"@type": "cr:Field",
|
| 370 |
+
"@id": "patches/s1_autumn",
|
| 371 |
+
"name": "s1_autumn",
|
| 372 |
+
"description": "Sentinel-1 GRD autumn composite. Stored as {sample_key}.s1_autumn.f32.",
|
| 373 |
+
"dataType": "sc:Float",
|
| 374 |
+
"isArray": true,
|
| 375 |
+
"arrayShape": "128,128,2"
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"@type": "cr:Field",
|
| 379 |
+
"@id": "patches/s1_winter",
|
| 380 |
+
"name": "s1_winter",
|
| 381 |
+
"description": "Sentinel-1 GRD winter composite. Stored as {sample_key}.s1_winter.f32.",
|
| 382 |
+
"dataType": "sc:Float",
|
| 383 |
+
"isArray": true,
|
| 384 |
+
"arrayShape": "128,128,2"
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"@type": "cr:Field",
|
| 388 |
+
"@id": "patches/tree_species",
|
| 389 |
+
"name": "tree_species",
|
| 390 |
+
"description": "Tree species classification. Stored as {sample_key}.tree_species.u8 (uint8, shape 128×128).",
|
| 391 |
+
"dataType": "sc:Integer",
|
| 392 |
+
"isArray": true,
|
| 393 |
+
"arrayShape": "128,128"
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"@type": "cr:Field",
|
| 397 |
+
"@id": "patches/mean_height_arr",
|
| 398 |
+
"name": "mean_height_arr",
|
| 399 |
+
"description": "Mean tree height per 10 m pixel (m). Stored as {sample_key}.mean_height.f32.",
|
| 400 |
+
"dataType": "sc:Float",
|
| 401 |
+
"isArray": true,
|
| 402 |
+
"arrayShape": "128,128"
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"@type": "cr:Field",
|
| 406 |
+
"@id": "patches/median_height_arr",
|
| 407 |
+
"name": "median_height_arr",
|
| 408 |
+
"description": "Median tree height per 10 m pixel (m). Stored as {sample_key}.median_height.f32.",
|
| 409 |
+
"dataType": "sc:Float",
|
| 410 |
+
"isArray": true,
|
| 411 |
+
"arrayShape": "128,128"
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"@type": "cr:Field",
|
| 415 |
+
"@id": "patches/height_variance_arr",
|
| 416 |
+
"name": "height_variance_arr",
|
| 417 |
+
"description": "Height variance per pixel. Stored as {sample_key}.height_variance.f32.",
|
| 418 |
+
"dataType": "sc:Float",
|
| 419 |
+
"isArray": true,
|
| 420 |
+
"arrayShape": "128,128"
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"@type": "cr:Field",
|
| 424 |
+
"@id": "patches/tree_count_arr",
|
| 425 |
+
"name": "tree_count_arr",
|
| 426 |
+
"description": "Inventory tree count per 10 m pixel. Stored as {sample_key}.tree_count.f32.",
|
| 427 |
+
"dataType": "sc:Float",
|
| 428 |
+
"isArray": true,
|
| 429 |
+
"arrayShape": "128,128"
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"@type": "cr:Field",
|
| 433 |
+
"@id": "patches/tree_density_arr",
|
| 434 |
+
"name": "tree_density_arr",
|
| 435 |
+
"description": "Tree density (3×3 neighbourhood). Stored as {sample_key}.tree_density.f32.",
|
| 436 |
+
"dataType": "sc:Float",
|
| 437 |
+
"isArray": true,
|
| 438 |
+
"arrayShape": "128,128"
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"@type": "cr:Field",
|
| 442 |
+
"@id": "patches/tree_count_variance_arr",
|
| 443 |
+
"name": "tree_count_variance_arr",
|
| 444 |
+
"description": "Tree-count variance per pixel. Stored as {sample_key}.tree_count_variance.f32.",
|
| 445 |
+
"dataType": "sc:Float",
|
| 446 |
+
"isArray": true,
|
| 447 |
+
"arrayShape": "128,128"
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"@type": "cr:Field",
|
| 451 |
+
"@id": "patches/dop20_rgb",
|
| 452 |
+
"name": "dop20_rgb",
|
| 453 |
+
"description": "DOP20 true-colour aerial orthophoto at 20 cm GSD, co-registered with the 10 m stack. Stored as {sample_key}.dop20_rgb.u8 (raw uint8 LE, shape 6400×6400×3, channels R,G,B).",
|
| 454 |
+
"dataType": "sc:Integer",
|
| 455 |
+
"isArray": true,
|
| 456 |
+
"arrayShape": "6400,6400,3"
|
| 457 |
+
}
|
| 458 |
+
]
|
| 459 |
+
}
|
| 460 |
+
]
|
| 461 |
+
}
|