Datasets:
path string | chunk_index int64 | payload unknown |
|---|---|---|
samples/train/20160419_Houston_ID_10_10/co/complete.json | 0 | [
123,
10,
32,
32,
34,
115,
116,
97,
116,
117,
115,
34,
58,
32,
34,
97,
118,
97,
105,
108,
97,
98,
108,
101,
34,
44,
10,
32,
32,
34,
100,
105,
114,
101,
99,
116,
111,
114,
121,
34,
58,
32,
34,
47,
100,
97,
116,
97,
115,
... |
samples/train/20160419_Houston_ID_10_10/co/phase_cos_sin.tif | 0 | "SUkqAAgAAAAVAAABAwABAAAAAAIAAAEBAwABAAAAAAIAAAIBAwACAAAAIAAgAAMBAwABAAAACAAAAAYBAwABAAAAAQAAABUBAwA(...TRUNCATED) |
samples/train/20160419_Houston_ID_10_10/co/source_segment.tif | 0 | "SUkqAAgAAAATAAABAwABAAAAAAIAAAEBAwABAAAAAAIAAAIBAwABAAAAEAAAAAMBAwABAAAACAAAAAYBAwABAAAAAQAAABUBAwA(...TRUNCATED) |
samples/train/20160419_Houston_ID_10_10/co/validity.tif | 0 | "SUkqAAgAAAATAAABAwABAAAAAAIAAAEBAwABAAAAAAIAAAIBAwABAAAACAAAAAMBAwABAAAACAAAAAYBAwABAAAAAQAAABUBAwA(...TRUNCATED) |
samples/train/20160419_Houston_ID_10_10/label.tif | 0 | "SUkqAAgAAAAQAAABAwABAAAAAAIAAAEBAwABAAAAAAIAAAIBAwABAAAAIAAAAAMBAwABAAAAAQAAAAYBAwABAAAAAQAAABEBBAC(...TRUNCATED) |
samples/train/20160419_Houston_ID_10_10/pre/complete.json | 0 | "ewogICJzdGF0dXMiOiAiYXZhaWxhYmxlIiwKICAiZGlyZWN0b3J5IjogIi9kYXRhc2V0cy9kaXNrMy9mbG9vZC9kZXJpdmVkL3B(...TRUNCATED) |
samples/train/20160419_Houston_ID_10_10/pre/phase_cos_sin.tif | 0 | "SUkqAAgAAAAVAAABAwABAAAAAAIAAAEBAwABAAAAAAIAAAIBAwACAAAAIAAgAAMBAwABAAAACAAAAAYBAwABAAAAAQAAABUBAwA(...TRUNCATED) |
samples/train/20160419_Houston_ID_10_10/pre/source_segment.tif | 0 | "SUkqAAgAAAATAAABAwABAAAAAAIAAAEBAwABAAAAAAIAAAIBAwABAAAAEAAAAAMBAwABAAAACAAAAAYBAwABAAAAAQAAABUBAwA(...TRUNCATED) |
samples/train/20160419_Houston_ID_10_10/pre/validity.tif | 0 | "SUkqAAgAAAATAAABAwABAAAAAAIAAAEBAwABAAAAAAIAAAIBAwABAAAACAAAAAMBAwABAAAACAAAAAYBAwABAAAAAQAAABUBAwA(...TRUNCATED) |
samples/train/20160419_Houston_ID_10_10/sar.tif | 0 | "SUkqAAgAAAATAAABAwABAAAAAAIAAAEBAwABAAAAAAIAAAIBAwAIAAAAAgEAAAMBAwABAAAAAQAAAAYBAwABAAAAAgAAABEBBAA(...TRUNCATED) |
AugmentedUrbanSARFloods
UrbanSARFloods imagery and labels augmented with pre-event and co-event VV wrapped-phase products. This is a reduced subset, not the complete original benchmark.
Contents
5,505 entries: 3,831 training chips, 1,671 validation chips (512 × 512 pixels), and 3 large test mosaics. Approximately 96.4 GB of imagery, labels, phase and provenance. Original split assignments and raster values are preserved. 970 original entries lacking one or both phase pairs are excluded. Sixteen failed processing segments were excluded; details are in release_selection.json.
The raster and per-sample provenance files are now stored losslessly inside Parquet shards under data/{split}-NNNNNN.parquet. asset_index.json maps logical file paths in samples.jsonl to shard row groups. Individual samples/ files are no longer present on the default branch. The previous GeoTIFF release is preserved at the tag geotiff-release-before-parquet-v1.
This is a chunked asset archive: one Parquet row is a file chunk, not one training sample. The supplied loader groups assets into the original samples. Each row stores path, chunk_index, and binary payload; chunks are at most 8 MiB and target shard payload is 256 MiB. Large test mosaics are preserved without spatial tiling, resizing or loss of metadata. Use the supplied loader rather than treating datasets.load_dataset() rows as examples.
The released SAR raster has eight bands, in order: pre-event coherence VH, VV; co-event coherence VH, VV; pre-event intensity VH, VV; post-event intensity VH, VV. Labels retain their original class IDs. The same event label applies to both temporal views.
The reconstruction uses three acquisitions: t0 and t1 before the flood, and t2 at the flood observation. Pre-event phase uses t0–t1; co-event phase uses t1–t2. Each phase raster stores cosine then sine of VV wrapped phase on the original sample grid. Recover the angle with atan2(sine, cosine). Validity rasters identify available phase pixels; source-segment rasters record one-based contributing-segment provenance.
Load one co-event sample
pip install numpy rasterio torch pyarrow huggingface_hub
import sys
from huggingface_hub import HfApi, snapshot_download
repo = "Ehzoahis/AugmentedUrbanSARFloods"
revision = HfApi().repo_info(repo, repo_type="dataset").sha
code_dir = snapshot_download(
repo_id=repo, repo_type="dataset", revision=revision,
allow_patterns=["dataloader/**"],
)
sys.path.insert(0, f"{code_dir}/dataloader")
from augmented_urban_sar_floods import UrbanSARFloodPackedDataset
with UrbanSARFloodPackedDataset(
repo_id=repo, revision=revision, split="train", mode="co_event",
) as dataset:
sample = dataset[0]
print(sample["patch_id"])
print(sample["prime"].shape) # (2, 512, 512): t1 VV, VH
print(sample["secondary"].shape) # (2, 512, 512): t2 VV, VH
print(sample["insar"].shape) # (3, 512, 512): cos, sin, VV coherence
label = sample["label"] # 0 non-flood, 1 open flood, 2 urban flood
valid = sample["valid"][0] & sample["label_valid"]
The loader downloads required Parquet shards lazily to the Hugging Face cache, then reconstructs and verifies requested rasters in a bounded per-process temporary cache. It does not recreate the entire TIFF collection. Temporary raster caches are removed by close() or the context manager; downloaded shards remain in the HF cache for reuse. One oversized raster may exceed the temporary-cache target, particularly for test mosaics. Provide root="/path/to/local/export" to load local shards without HF access. All training/validation chips retain native 512×512 size. Test mosaics have differing native sizes: use explicit windows or crop_size for a shared center crop; cropping is not full-scene evaluation.
The output contract and normalization are unchanged: released t1/t2 power-dB VV/VH is converted to linear then existing log1p(20*x) normalization. Co-event phase/coherence, labels and validity masks are aligned. Pre-event assets remain in the archive, but paired mode still requires an external t0/t1/t2 RTC manifest; no t0 intensity is fabricated. This is storage equivalence, not proof of radiometric equivalence or phase/coherence pair identity.
For PyTorch batches, use torch.utils.data.DataLoader(dataset, batch_size=8, num_workers=4) while the dataset remains open. Each worker uses its own temporary raster cache. Shards are shared through the HF download cache. The legacy image-index Parquet loader remains available for source-pinned historical indices; it is distinct from this packed payload loader.
Processing and limitations
SNAP-based processing uses 4 × 1 multilooking, Goldstein filtering, modeled flat-Earth/topographic phase removal, complex geocoding, and measured registration corrections with independent alignment checks. Failed segments were not accepted by relaxing validation thresholds.
3,849 retained entries have full phase coverage; 1,656 have partial phase coverage. Always use the validity masks. Numeric validity does not guarantee high coherence or identify layover/shadow. Exact identity between reconstructed acquisition pairs and the pairs used for released coherence remains unverified. Original coherence is retained rather than recomputed. Final independent scientific QA remains pending; the gallery and successful processing do not establish downstream utility.
Nested segment provenance and completion receipts retain historical producer paths and hashes. Those paths are audit metadata, not downloadable dependencies. Use the top-level portable manifest paths to load the data. Raw SLCs and processing intermediates are not included.
Source attribution
Original imagery, labels, coherence and splits: UrbanSARFloods, https://arxiv.org/abs/2406.04111. This repository adds derived phase and its provenance; it does not claim authorship of the original dataset. No new license is asserted over the original materials; consult the original authors' distribution terms before reuse.
- Downloads last month
- 577