Comparing Black Marble Collection 1 and Collection 2 (5200)

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
../_images/caac70b419fb35cc59c8c9d4d3e0afe97cfb3a56584214bd5dd894ae34f60aba.png
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
../_images/d12b89be231236c84c713d0229a0a2f82970cd5c0428efb35f58182dd1389382.png
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
../_images/09cb48afafa426bb3510343cdef682c79c186585d35e7aefd6bf8c6acd3981b9.png
--- 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
../_images/d2673351d5ad3db39fe2ac092b7a653687d34868c8804aa6820a42bd138128f1.png