Data and code for reconstructing 100 m urban nighttime light structure in Shanghai with parent-scale conservation and spatial validation
Description
This dataset supports a two-track comparison of urban nighttime light downscaling in Shanghai, with and without SDGSAT supervisory labels. Ten model configurations and two baselines were evaluated using a common five-fold spatial protocol under 500 m parent-scale conservation. The files contain 110 fold/seed evaluation records, 12 model/baseline summaries, 210 paired spatial-block bootstrap effect estimates and confidence intervals, 6,776 spatial-block records, frozen fold masks and buffer audits, configurations, run records, Figure 6 data, and diagnostic summaries. Three 2025 Landsat-derived annual auxiliary rasters (NDVI, LST and MNDWI) are included, together with model, preprocessing, evaluation and numerical verification code. The supplementary document provides Tables S1–S4, statistical definitions and Methods S5. Numerical results can be checked using the supplied records. Full retraining requires additional source inputs and reconstruction of intermediate arrays. Original third-party imagery, trained model checkpoints and complete prediction rasters are not included.
Files
Steps to reproduce
1. Download the three files and extract Supplementary_Data.zip and Supplementary_Code.zip into the same parent directory, retaining the directory names Supplementary_Data and Supplementary_Code. 2. Install the dependencies listed in Supplementary_Code/requirements-verification.txt. 3. From the common parent directory, run: python Supplementary_Code/verification/verify_results.py --output-dir verification_results 4. Inspect the generated verification report for fold integrity and buffers, macro-averages, the 20 variability ratios, parent-scale conservation and the 210 bootstrap records. The default bootstrap check uses 5,000 replicates. 5. For full retraining, follow the code README, copy the supplied annual auxiliary TIFFs to inputs/annual_features within Supplementary_Code, acquire the remaining third-party inputs, reconstruct the intermediate arrays, and verify the spatial splits before training. Regenerating annual Landsat features from band mosaics requires ArcGIS Pro and Spatial Analyst.
Institutions
- Tongji UniversityShanghai, Shanghai
Categories
Funders
- National Key R&D Program of ChinaGrant ID: 2024YFF0618400
- Tongji Architectural Design (Group) Co., Ltd.Grant ID: 2025J-JB06