HyperRrs / benchmark /blocks /MODISA_train.README.json
TalhaMah56's picture
Upload folder using huggingface_hub
6bb7b42 verified
Raw History Blame Contribute Delete
4.27 kB
{
"what": "Real MODISA x PACE 4x4 blocks on the native V3.2 PACE swath grid, train split (even PACE weeks, <= 300 blocks per scene drawn with default_rng(1); scenes on OLCI test twin granules dropped)",
"script": "scripts/pipeline/v3_model/real_sensor_blocks.py",
"sensor": "MODIS-A",
"tag": "MODISA",
"view": "sensor_MODIS-A",
"input_bands": [
"Rrs_412",
"Rrs_443",
"Rrs_469",
"Rrs_488",
"Rrs_531",
"Rrs_547",
"Rrs_555",
"Rrs_645",
"Rrs_667",
"Rrs_678"
],
"band_centroids_nm": [
415.6453857421875,
442.15081787109375,
466.0711975097656,
487.28094482421875,
530.1121215820312,
547.1873779296875,
553.9165649414062,
645.8329467773438,
665.9847412109375,
677.5819702148438
],
"input_wavelengths_nm": [
412.0,
443.0,
469.0,
488.0,
531.0,
547.0,
555.0,
645.0,
667.0,
678.0
],
"sources": {
"pairs": "pairs/MODISA",
"files_in_dir": 2948,
"newest_file_utc": "2026-10-16T08:26:18Z",
"pairs_builder": "scripts/pipeline/real_sensors/build_pairs.py (code copy and COMMIT under pair-builder code)"
},
"params": {
"block": 4,
"usable": "all 172 pace_rrs and all input bands finite",
"duplicates": "a (pace_row, pace_col) in more than one row of its file: every copy dropped",
"tiling": "r0 = 4*floor(row/4), c0 = 4*floor(col/4); all 16 usable; blocks sorted by (r0, c0); rows row-major (j fastest)",
"split": "week = (date(pace_gkey) - 2024-01-01).days // 7; odd = test, even = train",
"cap": 300,
"draw_seed": 1,
"draw": "numpy default_rng(1) once per sensor and split, files sorted; np.sort(rng.choice(n, min(cap, n), replace=False)) per scene with n >= 1 complete blocks",
"olci_holdout": "a scene whose pace_gkey is a granule of olci_native_blocks keeps no blocks (drawn first, then dropped; scenes.csv excluded)",
"max_files": null
},
"counts": {
"split": "train",
"files_in_dir": 2948,
"scenes_in_split": 1327,
"scenes_with_complete_blocks": 1053,
"scenes_with_blocks": 1051,
"rows_in_split": 55588079,
"usable_rows": 55571292,
"blocks_complete": 494278,
"blocks": 170768,
"cells": 2732288,
"cells_complete_over_usable": 0.14231175334199536,
"cap": 300,
"draw_seed": 1,
"scenes_capped": 404,
"blocks_per_scene_complete": {
"min": 1.0,
"p25": 25.0,
"p50": 150.0,
"p75": 569.0,
"p90": 1341.6000000000001,
"max": 7474.0,
"mean": 469.39981006647673,
"n": 1053
},
"blocks_per_scene": {
"min": 1.0,
"p25": 25.0,
"p50": 150.0,
"p75": 300.0,
"p90": 300.0,
"max": 300.0,
"mean": 162.4814462416746,
"n": 1051
},
"excluded_olci_twin": {
"rule": "olci_test_twin",
"olci_cache": "olci_native_blocks",
"olci_granules": 140,
"scenes": [
"20240803T122338",
"20250421T222652"
],
"blocks_complete": 64,
"blocks_drawn": 64
},
"duplicates": {
"files": 0,
"pixels": 0,
"rows_dropped": 0
}
},
"sanity": {
"green_over_pace": {
"input_band": "Rrs_555",
"input_centroid_nm": 553.9165649414062,
"pace_band": 84,
"pace_nm": 555.0440063476562,
"n": 2732288,
"median": 0.9596077799797058,
"p10": 0.7948426604270935,
"p90": 1.141303539276123
},
"pace_n_px_2_frac": 0.00011126206315000468,
"pace_n_px_max": 2,
"input_n_px": {
"p50": 1.0,
"max": 3
},
"abs_dt_h": {
"p50": 1.6048729112413194,
"max": 2.99559814453125
},
"any_input_band_negative_frac": 0.02169829827602361,
"lat": {
"min": -77.27850341796875,
"max": 82.03050231933594
}
},
"fields": {
"X": "float32 (N,10) real MODISA Rrs (sr^-1) of the 1 km cell, bands input_bands",
"Y32": "float32 (N,172) PACE OCI V3.2 Rrs of the 1 km cell (mean of its pace_n_px store pixels); all finite",
"row, col": "int64 (N,) the cell's store pixel (granule line, pixel) = pair pace_row / pace_col",
"lat, lon": "float32 (N,) 1 km bin centre (pair lat / lon)",
"pace_n_px, input_n_px": "int32 (N,) PACE / sensor pixels averaged in the cell",
"dt_s": "float32 (N,) sensor - PACE time (s)",
"src_row": "int32 (N,) row in the scene's pair file",
"scene": "int32 (N,) row of scenes.csv (= scene_stem index)",
"scene_stem": "str (S,) pair file stem per scenes.csv row",
"block": "int32 (N,) block index; rows 16*b..16*b+15"
},
"wall_s": 82.4
}