Night Time Lights in Morocco#

Nighttime lights have become a commonly used resource to estimate changes in local economic activity. This section shows where nighttime lights are concentrated across Morocco and observed changes over time.

Data#

We use nighttime lights data from VIIRS Black Marble data. Raw nighttime lights data requires correction due to cloud cover and stray light, such as lunar light. Black Marble datasets apply algorithms to correct raw nighttime light values and calibrate data so that trends in lights over time can be meaningfully analyzed.

The raw values of nighttime lights are radiance of lights, and the values themselves are not readily interpretable in an economic context. Nighttime light values should be viewed as an index, with larger values reflecting brighter lights—and more economic activity.

For further information, please refer to foundational_datasets.

Methodology#

We extract nighttime lights at different administrative levels. The following code cleans the data:

The following code produces the figures:

Results#

Map of Nighttime Lights#

The below figure shows maps of nighttime lights in different years. Maps of individual years for all years can be found here.

../../_images/ntl_map_12_17_22.png

Fig. 1 Map of Nighttime Lights#

Nighttime Lights: ADM2 and ADM3#

The below tables show average nighttime lights at ADM2 and ADM3 levels for 2014, 2023 (before the earthquake), and 2023 (after the earthquake). For 2023, we take the average of daily nighttime lights for the respective time periods.

The below tables show the 30 administrative zones with the largest earthquake intensities. The csv files here provide data for all administrative zones.

Across all of Morocco, the average nighttime lights in 2014 was 27.80; after the earthquake, average nighttime lights was 40.73—a 46% increase.

../../_images/eq_table_adm2.png

Fig. 8 Annual Nighttime Lights: ADM 2 Level#

../../_images/eq_table_adm3.png

Fig. 9 Annual Nighttime Lights: ADM 3 Level#

The below tables show the percent change in nighttime lights relative to the week before the earthquake.

../../_images/eq_table_weeks_adm2.png

Fig. 10 Percent change in nighttime lights relative to week before earthquake: ADM 2 Level#

../../_images/eq_table_weeks_adm3.png

Fig. 11 Percent change in nighttime lights relative to week before earthquake: ADM 3 Level#

Change in Nighttime Lights#

This section shows the percent change in nighttime lights from 2019, 2020, 2021 until 2022 at different administrative levels.

Maps#

../../_images/pc_map_adm1.png

Fig. 12 Percent Change in Nighttime Lights: ADM 1#

../../_images/pc_map_adm2.png

Fig. 13 Percent Change in Nighttime Lights: ADM 2#

../../_images/pc_map_adm3.png

Fig. 14 Percent Change in Nighttime Lights: ADM 3#

../../_images/pc_map_adm4.png

Fig. 15 Percent Change in Nighttime Lights: ADM 4#

Proportion of lights in earthquake impacted areas#

  • The sum of nighttime lights in earthquake impacts areas (ie, areas where the intensity is rated 7 or above) is: 37914.54

  • The sum of nighttime lights in all of Morocco is: 10999127

  • Consequently, the proportion of nighttime lights in earthquake impacted areas is: (37914 / 10999127) = 0.00344 (or 0.344%).