Here's a summary of this project:
Goal: Evaluate whether an ABI-trained (GOES-16) contrail detection model (mcast) can be applied to VIIRS data zero-shot or with light fine-tuning, as a path to higher-resolution contrail detection (500 m vs. 2 km).
Core approach:
- viirs_adapter.py remaps VIIRS L1B data into ABI-named variables so mcast runs unchanged
- Channel mapping: M14→C11, M15→C13 and C14 (I5 would be better for C14 but isn't in the test files), M16→C15
- Two test scenes with ground-truth label masks; evaluated via pixel-wise precision/recall/F1/IoU
Key engineering challenge solved: VIIRS bowtie deletion zones (~13% of pixels, in 4-row bands every 16 rows at swath edges) cause NaN propagation through the CNN. The fix (fill_along_track) does column-wise linear interpolation across each 4-row gap — physically reasonable since 4 rows ≈ 3 km.
Results progression: | Approach | Precision | Recall | F1 | IoU | |---|---|---|---|---| | No fill | 0.587 | 0.053 | 0.097 | 0.051 | | Band-mean fill | 0.391 | 0.318 | 0.351 | 0.213 | | Along-track interp (current) | 0.491 | 0.365 | 0.419 | 0.265 |
Planned next steps: 1. Threshold sweep — the 0.42 threshold was tuned on ABI data, not VIIRS 2. Normalisation mismatch — patch in VIIRS-derived channel means/stds instead of ABI training stats
The project is at a promising early stage: F1=0.42 with zero retraining, and two cheap experiments could push it further before any fine-tuning.