Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Notebook examples

Monitoring socio-economic activities with nighttime light maps

Case study: Creating nighttime light maps with color blending

This notebook demonstrates how to create nighttime light variation maps over a time interval (from 2019 to 2022) with additive color blending for studying the distribution of artificial lighting in urban and rural regions, offering insights into urbanization, infrastructure development, and socio-economic activity. The Nighttime Light Levels indicator can be explored on the EO Dashboard by selecting the EXPLORE DATASETS mode and choosing Night lights indicators.

The study has been carried out by Bumpei Tojo PhD (Associate Professor), School of International and Area Studies, Tokyo University of Foreign Studies, Japan.

The PLES Engineering team (supporting ESA Green Solutions Division, EOP-SG) developed the blending algorithm with the current Notebook implementation and data ingestion on the dashboard (contacts: Federico Rondoni, f.rondoni@stariongroup.eu, Diego Moglioni, d.moglioni@stariongroup.eu).

title Example of a nighttime light map covering Northeastern United States during 2019-2022, representing areas where a decrease in nighttime light level occurred (indicating a presumed reduction in social activity) in red, and areas where an increase occurred (indicating a presumed increase in social activity) in blue.

Input data:

  • This product was developed by JAXA by aggregating the data from the Visible Infrared Imaging Radiometer Suite (VIIRS, onboard the Suomi NPP satellite) on a semi-annual basis (using median image generation) with 10-degree lat/lon (geographic) grid h-v tile as Geo Tiff files.

  • The tiles are 2400 x 2400 pixels, with pixel size of 0.004166 degrees (~464 m at the equator).

  • Metric: nighttime radiance (measured in watts per square centimeter per steradian, [W/cm²/sr]), which represents the brightness of artificial lighting.

VIIRS 10-degree tile scheme

VIIRS tiling scheme.JPG

Running environment:

  • This notebook can be run by installing the provided Anaconda Python environment (data/Nightlights/nightlights-env.yml).

Importing Python libraries

Defining working folders

Visualizing input data

<Figure size 1500x1500 with 8 Axes>

Applying color blending

Additive color blending involves mixing the primary colors of light, red (R), green (G), and blue (B), while adjusting their luminance levels. By manipulating the luminance of these colors, a wide range of hues can be achieved, with the key characteristic being that combining all three colors results in white.

Technique

  • maximum pixel value of images for 2019 (brightest pixel values) is assigned to red (R)

  • minimum pixel value of images for 2020-2021 (darkest pixel values) is assigned to green (G)

  • maximum pixel value of images for 2022 (brightest pixel values) is assigned to blue (B)

Output

  • regions where a decrease in nighttime light level occurred are displayed in red

  • areas that experienced an increase (presumed to indicate an increase in social activity) are shown in blue

  • regions where there was no significant change throughout the pandemic are displayed in a gradient from gray to white.

Employing “urban” stretch processing

The purpose of the stretch processing is to emphasize the nighttime light level of each band (corresponding to 2019, 2020-21, and 2022), focusing on:

  • “urban” nighttime light levels: the display range of each band is adjusted to 25-1000 [watts·cm-2·sr-1], emphasizing brighter areas

Plotting blended image

<Figure size 1500x1500 with 1 Axes>

Overlaying with an interactive map

Saving blended image as Cloud Optimized GeoTIFF

Input file size is 2400, 2400
0...10...20...30...40...50...60...70...80...90...100 - done.
COG file saved as out_urban/Nighttimelevel_Urban_h10v04_2019-2022.tif

Extracting bounding-box coordinates

Adding alpha channel to the blended image

Overlay with OpenStreetMap

Loading...

Using additive color blending images to focus on urban areas in the northeastern United States, particularly the southern part of the Boston-Washington Corridor comprising major cities like New York, Philadelphia, Baltimore, and Washington, D.C., revealed relatively little variation in nighttime lights before and after the COVID-19 pandemic, as indicated by the images appearing white. However, significant reductions in nighttime lights during the COVID-19 pandemic (subsequently recovering to pre-pandemic levels) were evident in other medium to large cities, including Boston and Toronto, among others, as indicated by the images appearing pink to reddish.

Alternative stretch processing approaches

  • “Rural” nighttime light levels: setting each band’s display range to 0-50 [Watts·cm-2·sr-1] to emphasize darker areas

  • For a broader focus (from rural to urban areas): applying a log10 transformation to the values of each band with a display range set to 0-3.6 (equivalent to 0-3981 [Watts·cm-2·sr-1])

Final remarks

This product has been specifically designed for utilization by researchers in applied scientific fields. Potential applications are being explored in environmental and social issue studies, such as disaster recovery, energy, urban land use changes, conflicts, migration, and monitoring of illegal, unreported activities.

To learn more

The presented approach is often referenced in scientific and public health research. For example, Bunpei Tojo (2021) used Nightlights data in the study “Application of Earth observation satellite data to public health: Comparison of night light (VIIRS) and solar radiation (SGLI) and domestic COVID-19 epidemic,” presented at the 12th Federation of Science and Technology conference, to analyze the relationship between nighttime light intensity and public health factors. 東城 (2021).

References
  1. 東城文柄. (2021). 地球観測衛星データの公衆衛生学への応用. In 横幹連合コンファレンス予稿集 (No. 0; Vol. 2021). 特定非営利活動法人 横断型基幹科学技術研究団体連合. 10.11487/oukan.2021.0_B-4-4