{ "what": "Real MODISA x PACE 4x4 blocks on the native V3.2 PACE swath grid, test split (odd PACE weeks, <= 50 blocks per scene drawn with default_rng(0); scenes on OLCI train 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": 50, "draw_seed": 0, "draw": "numpy default_rng(0) 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_train keeps no blocks (drawn first, then dropped; scenes.csv excluded)", "max_files": null }, "counts": { "split": "test", "files_in_dir": 2948, "scenes_in_split": 1621, "scenes_with_complete_blocks": 1264, "scenes_with_blocks": 1262, "rows_in_split": 73328817, "usable_rows": 73295887, "blocks_complete": 620410, "blocks": 47000, "cells": 752000, "cells_complete_over_usable": 0.13543133736822094, "cap": 50, "draw_seed": 0, "scenes_capped": 793, "blocks_per_scene_complete": { "min": 1.0, "p25": 21.0, "p50": 139.5, "p75": 619.25, "p90": 1491.5000000000011, "max": 6797.0, "mean": 490.83069620253167, "n": 1264 }, "blocks_per_scene": { "min": 1.0, "p25": 21.0, "p50": 50.0, "p75": 50.0, "p90": 50.0, "max": 50.0, "mean": 37.24247226624406, "n": 1262 }, "excluded_olci_twin": { "rule": "olci_train_twin", "olci_cache": "olci_native_blocks_train", "olci_granules": 426, "scenes": [ "20240821T061133", "20240823T054207", "20241030T114631", "20241031T104231", "20241031T121548" ], "blocks_complete": 735, "blocks_drawn": 100 }, "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": 752000, "median": 0.9632666110992432, "p10": 0.7923583388328552, "p90": 1.1584633588790894 }, "pace_n_px_2_frac": 0.00013696808510638297, "pace_n_px_max": 2, "input_n_px": { "p50": 1.0, "max": 3 }, "abs_dt_h": { "p50": 1.5766861979166666, "max": 2.9917168511284724 }, "any_input_band_negative_frac": 0.027226063829787234, "lat": { "min": -78.0885009765625, "max": 81.28350067138672 } }, "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": 100.3 }