Skip to content

Compares Population Density Estimates and Satellite Night Light Mesurements

License

Notifications You must be signed in to change notification settings

Rigonz/PopDensity_SatelliteNightLight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PopDensity_SatelliteNightLight

Compares Population Density Estimates and Satellite Night Light Mesurements

Presentation

This repository compares estimates of population density and satellite measurements of night light. It is applied with data for Spain (for simplicity, exclusing Canary Islands), but it can easily be used for different datasets.

Data

The sources for the population density datasets are:

  • 1 WorldPop, UN Adjusted, 2020, 1 km resolution.
  • 2 WorldPop, UN adjusted, unconstrained, 2020, 1 km resolution, which provides population counts and is procesed with the script CALC DENS POP to obtain the required population density raster.
  • 3 GPW v4, rev. 4.11, 2020, 30 arc-sec resolution, unadjusted.
  • 4 GPW v4, rev. 4.11, 2020, 30 arc-sec resolution, adjusted to WPP-UN 2015 country totals.

The sources for the nightlight datasets are:

  • 1 VIIRS-VNL2, median masked measurements for 2019.
  • 2 DMSP-OLS, for 2013, average visible band.
  • 3 DMSP-OLS, for 2010, averaged with radiance calibration.

All raster files have been clipped to (-9.65, 43.9; 4.5, 36.0) deg (lon, lat).

The rasters are, at plain sight, correct as shown in the following snapshots from QGIS with a transparency of 80%: POPDENS_2 POPDENS_4 NL_1 NL_3

Internal correlations

The datasets have been compared within each type of data, with the following main results.

Population Density

The datasets are highly correlated by pairs 1-2 and 3-4, as should be expected, and only moderately correlated across these groups as indicated by the Pearson coefficients (after removing the no-data, maintaining the 0s):

  • DS1-2 = 0.995.
  • DS1-3 = 0.693.
  • DS1-4 = 0.693.
  • DS2-3 = 0.681.
  • DS2-4 = 0.681.
  • DS3-4 = 1.000.

The histograms are controlled by the low densities:

NL_HIST1 NL_HIST2

The bivariate graphs confirm the moderate correlation:

NL_BIVAR

NL_HEAT

Nightlight Measurements

The correlation among the datasets is also just moderate, as indicated by the Pearson coefficients (after removing the 0s and no-data):

  • DS1-2 = 0.632.
  • DS1-3 = 0.507.
  • DS2-3 = 0.646.

Normalizing the data yields a loose relationship:

NL 0-100%

External correlations

The rather low internal correlations among the datasets raises the question of which can actually be the strength of the relationship between population density and night-light measurements, and whether the selection of the appropriate pair of datasets (population density, night-light measurement) becomes a sort of data bazaar.

The results of the bivariate correlations, measured by the Pearson coefficient, are:

  • NL1-PD1 = 0.773.
  • NL1-PD2 = 0.763.
  • NL1-PD3 = 0.560.
  • NL1-PD4 = 0.559.
  • NL2-PD1 = 0.732.
  • NL2-PD2 = 0.732.
  • NL2-PD3 = 0.649.
  • NL2-PD4 = 0.638.
  • NL3-PD1 = 0.447.
  • NL3-PD2 = 0.438.
  • NL3-PD3 = 0.443.
  • NL3-PD4 = 0.441.

The scatter plot for best and worst correlations is:

BEST-WORST

The results improve with a log-log transformation:

  • NL1-PD1 = 0.875.
  • NL1-PD2 = 0.872.
  • NL1-PD3 = 0.570.
  • NL1-PD4 = 0.571.
  • NL2-PD1 = 0.765.
  • NL2-PD2 = 0.762.
  • NL2-PD3 = 0.587.
  • NL2-PD4 = 0.588.
  • NL3-PD1 = 0.829.
  • NL3-PD2 = 0.827.
  • NL3-PD3 = 0.597.
  • NL3-PD4 = 0.600.

And the corresponding heatmaps for the best and worst log-log correlations are:

HEATMAP_BEST HEATMAP_WORST

Scripts

Three scripts are provided:

  • POP CHECK, performs the calculations with the population density rasters.
  • NL CHECK, which does a similar task with the nightlight measurements.
  • NL-POP CROSS, which compares the nightlight measurements to the population density estimates.

The scripts are written in Python. They use the library rasterio, which I have not been able to run under python 3.8, but it works well under python 3.6.

They have been uploaded as they are on my computer: modifying the location of the files and other preferences should be quite straightforward.

About

Compares Population Density Estimates and Satellite Night Light Mesurements

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages