Comparing Black Marble Collection 1 and Collection 2 (5200)#
This notebook demonstrates the usage of the blackmarblepy package with both Collection 1 and Collection 2 (VNP46A2.5200) data from the NASA Black Marble dataset.
Note: Collection 2 requires special handling for grid names in the HDF5 files.
What is different in Collection-2?
The data processing yields better data on a daily level
Collection 2 often has improved stray light correction, better cloud masking, and updated calibration.
Data Loading and Preprocessing#
The following code loads the daily and monthly data extracts from their respective CSV files and performs initial processing.
Daily sum data loaded successfully
Monthly sum data loaded successfully
Collection 1 (merged): min=nan, max=nan, shape=(2400, 4800)
Collection 2 (merged): min=nan, max=nan, shape=(2400, 4800)
Shared color scale: vmin=nan, vmax=nan
Collection 1 (monthly, merged): min=nan, max=nan, shape=(2400, 4800)
Collection 2 (monthly, merged): min=nan, max=nan, shape=(2400, 4800)
Shared color scale: vmin=nan, vmax=nan
--- High-level Summary ---
Collection 1 Daily: count=14, min=0.10, max=2117.30, mean=0.54, median=0.36, std=2.49
Collection 2 Daily: count=14, min=0.00, max=13592.75, mean=0.36, median=0.01, std=4.02
Collection 1 Monthly: count=14, min=0.50, max=1369.80, mean=1.22, median=0.58, std=3.76
Collection 2 Monthly: count=14, min=0.00, max=9524.29, mean=2.30, median=0.70, std=14.64