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.

Disaster Data Analytics

Recipe 8 — Cold-Wave Impact Dashboard

IFRC

What you will learn:

  1. Define target countries using ISO 3166-1 alpha-3 codes and filter with a_contains.

  2. Search multiple impact collections with CQL2-JSON compound filters.

  3. Build interactive Plotly bar charts and line graphs for humanitarian metrics.

  4. Distinguish cold-wave hazard codes across GLIDE, EM-DAT, and UNDRR-ISC 2025.

Environment Setup

Binder
Google Colab
Local

All dependencies are pre-installed. Click Launch Binder at the top of the page — no setup needed.

Step 2 — Target Countries & Hazard Codes

Countries
Hazard Codes

17 countries spanning Nordic, Baltic, Eastern European, Balkan, and Central Asian regions — each identified by its ISO 3166-1 alpha-3 code.

Target Countries: 16
Hazard Codes: 12
Collections: ['desinventar-impacts', 'emdat-impacts', 'ifrcevent-impacts']
Date Range: 2000-01-01 to 2020-12-31

Step 3 — Connect & Fetch Impact Data

======================================================================
AUTHENTICATION REQUIRED
======================================================================

The Montandon STAC API requires a Bearer Token for authentication.

How to get your token:
  1. Visit: https://goadmin-stage.ifrc.org/
  2. Log in with your IFRC credentials
  3. Generate an API token from your account settings

Alternatively, set the MONTANDON_API_TOKEN environment variable:
  PowerShell: $env:MONTANDON_API_TOKEN = 'your_token_here'
  Bash: export MONTANDON_API_TOKEN='your_token_here'

======================================================================
Connected to: stac-fastapi
Connected to: stac-fastapi
Available Impact Collections: 9
Available Impact Collections: 9

Step 4 — Process & Aggregate Impact Records

Build a unified DataFrame from DesInventar, EM-DAT, and IFRC collections, extracting impact type, value, and country metadata.

Searching from 2000 to 2020...
Target: 16 countries, 12 hazard codes
Collections: ['desinventar-impacts', 'emdat-impacts', 'ifrcevent-impacts']
Output: cold_wave_snow_storm_impacts_europe_central_asia.csv
Memory-optimized search: 3 collections, 2 parallel workers
Saving to CSV every 10 records

Year 2000: 16 items
Year 2000: 16 items
Year 2001: 27 items
Year 2001: 27 items
Year 2002: 10 items
Year 2002: 10 items
Year 2003: 1 items
Year 2003: 1 items
Year 2004: 1 items
Year 2004: 1 items
Year 2005: 8 items
Year 2005: 8 items
Year 2006: 12 items
Year 2006: 12 items
Year 2007: 1 items
Year 2007: 1 items
Year 2008: 8 items
Year 2008: 8 items
Year 2009: 13 items
Year 2009: 13 items
  Saved 100 records...
  Saved 100 records...
Year 2010: 10 items
Year 2010: 10 items
Year 2011: 2 items
Year 2011: 2 items
Year 2012: 44 items
Year 2012: 44 items
Year 2013: 7 items
Year 2013: 7 items
Year 2014: 4 items
Year 2014: 4 items
Year 2015: 1 items
Year 2015: 1 items
Year 2016: 2 items
Year 2016: 2 items
Year 2017: 3 items
Year 2017: 3 items
Year 2018: 4 items
Year 2018: 4 items
Year 2019: 3 items
Year 2019: 3 items
Year 2020: 0 items
Year 2020: 0 items

============================================================
✓ Search and Save Complete!
  Total records saved: 177
  Years searched: 2000-2020
  Search time: 504.06 seconds
  Output file: cold_wave_snow_storm_impacts_europe_central_asia.csv
  Memory used: Minimal (batch writes every 10 records)
============================================================

============================================================
✓ Search and Save Complete!
  Total records saved: 177
  Years searched: 2000-2020
  Search time: 504.06 seconds
  Output file: cold_wave_snow_storm_impacts_europe_central_asia.csv
  Memory used: Minimal (batch writes every 10 records)
============================================================
0

📊 Data Collection Summary:
   Total records saved: 177
   Date range: 2000-2020
   Countries: 16
   Hazard codes: 12
   CSV file: cold_wave_snow_storm_impacts_europe_central_asia.csv

   Records by collection:
     - emdat-impacts: 163
     - desinventar-impacts: 14

Step 5 — Data Summary & Quality Check

Data was saved incrementally during search process.
CSV file: cold_wave_snow_storm_impacts_europe_central_asia.csv
Memory optimization: Data was written in batches of 10 records

No additional extraction needed - proceeding to load and analyze...
Loading data from cold_wave_snow_storm_impacts_europe_central_asia.csv...
(Using memory-efficient chunked loading)

✓ Loaded 177 records from CSV

Year range: 2000 - 2019

Countries with data:
country_name
Russia                    36
Albania                   24
Poland                    22
Romania                   20
Ukraine                   16
Serbia                    13
Hungary                   12
Moldova                    9
Bosnia and Herzegovina     7
Kazakhstan                 7
Tajikistan                 6
Lithuania                  5
Name: count, dtype: int64

Optimizing data types for memory efficiency...

Step 6 — Collection & Impact-Type Breakdowns

Impact Records by Collection:
Loading...
Impact Types Distribution:
Loading...

Step 7 — Deaths & Casualties Analysis

Death Records Found: 87

Total Deaths by Country (Cold Wave/Snow Storm 2000-2021):
Loading...

Deaths by Year:
Loading...
Loading...
Loading...

Step 8 — Affected Population Dashboard

Affected Population Records: 56

Total Affected Population by Country:
Loading...
Loading...

Step 9 — Economic Losses Analysis

Economic Impact Records: 6

No USD-denominated losses found. All economic impacts:
Loading...

Step 10 — Temporal Analysis: Events by Month

Cold waves and snow storms peak in the Northern-Hemisphere winter (November–February). The bar chart below confirms this seasonality.

Loading...

Step 11 — Summary & Pivot Table

============================================================
SUMMARY: Cold Wave & Snow Storm Impacts (2000-2021)
   Europe and Central Asia Target Countries
============================================================

Data Sources:
   - desinventar-impacts: 14 impact records
   - emdat-impacts: 163 impact records

Countries with Impact Data: 12

Time Period: 2000 - 2019

Total Deaths: 6,618

Total Affected: 11,399,376

============================================================
Full Impact Summary:
Loading...
Sample Data (first 20 records):
Loading...

Conclusion & Key Findings

Data Sources
Impact Types
Hazard Codes
  • DesInventar — Detailed local disaster impact records Guha-Sapir (2024)

  • EM-DAT — Global disaster database with comprehensive impact metrics Guha-Sapir (2024)

  • IFRC DREF — Red Cross disaster response operations


References
  1. Guha-Sapir, D. (2024). EM-DAT: The Emergency Events Database. Centre for Research on the Epidemiology of Disasters (CRED). https://www.emdat.be