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.

Cross-source event matching

This notebook demonstrates the cross-source event pairing methodology. It is an internal working document for sharing and discussing the method: it runs every step on one real event and shows what goes in and what comes out.

The problem. Montandon holds records of disasters from many sources, and each source describes a disaster in its own way: USGS the magnitude, EM-DAT the losses, IDMC the displacement, CEMS the mapping. No shared identifier reliably says that two records are about the same disaster, so the records cannot simply be looked up and joined.

The method, in six steps. Each step is a section below.

  1. Start from one event. The event selected when the run was started.

  2. Decide where and when to look. A time window and a radius around the event. Both depend on the type of hazard.

  3. Collect candidates and read what they carry. Every record from the other sources that falls inside that window, together with its hazard item (for example the magnitude).

  4. Ask Jev. Jev is a decision model. For each candidate it gives the probability that the candidate describes the same disaster as the selected event.

  5. Compare with two methods that need no model. The same correlation id, and the catalogue’s own event-to-event query on hazard code, country and dates, set against Jev’s answers.

  6. Compare the sources. What the matched records report, including their impacts and responses, goes into a fact sheet, an overview of everything linked, a chart and a map.

Terms used below.

  • Record: one entry in one source, for example one USGS earthquake or one EM-DAT disaster.

  • Selected event: the record the matching starts from.

  • Candidate: a record from another source that is close enough in time and place to be worth checking.

  • P(same): Jev’s probability that a candidate describes the same disaster as the selected event.

  • Joined: a candidate whose P(same) is at or above the confidence threshold (default 0.6).

  • Possible: a candidate with P(same) between 0.3 and the threshold.

  • Exact link: a link that Montandon itself holds between two records. These join without asking Jev.

  • Linked items: the hazard, impact and response items that Montandon’s ETL has already linked to a source’s event. They belong to that event by construction, so following the links needs no judgement.

The scores are model estimates. See Limitations at the end.

Source
Source

1. The selected event

This is the record the matching starts from. Every other record is compared with it, so its source, hazard type, date and countries decide where and when the search looks.

Source

2. Where and when to look

Records of the same disaster rarely carry the same date or place. A register such as EM-DAT dates a disaster to a day and places it in a country. A satellite activation can start a day or more later. A seismic catalogue gives an exact point. To allow for this the search uses a window around the selected event: a number of days before and after its dates, and a radius in kilometres around its location.

The window depends on the hazard. An earthquake is over within days, a flood or a cyclone unfolds over weeks, and a drought over months. The table below is the rule set used. It is a run-form parameter, and the row for this event’s hazard is highlighted. Records that a source only places at country level are kept when they share a country with the selected event, whatever their distance.

Source
The selected event started on 24 Jun 2026, so the search accepts records that start between 17 Jun 2026 and 01 Jul 2026.
Records placed in VEN are also asked for, wherever in the country they are.
Loading...

3. Candidates

The catalogue is asked for every record, from every source, that starts inside the window and is either in the same country or inside the box around the selected event. A record carrying the same Montandon correlation id as the selected event is always added, even outside the window.

Records from the selected event’s own source are left out unless Montandon links them to it. When a source files several episodes of one event, only the one closest in time and distance is kept. The rest are ranked by how close they are in time and distance and cut to the number set in the run form (max_candidates), so a busy window can hide a record.

Nothing is judged here. A candidate is only a record worth asking about. The table shows how far in days and kilometres each one is from the selected event, and why it was kept.

Source
74 further records were in the window; only the 100 closest are kept.
Loading...

The candidates on a map

The grey box is the area asked of the catalogue. The orange circle is the hazard’s radius, applied to records with a precise location. Each dot is a candidate, coloured by its source, and the selected event has a larger dot with a black outline. Records that a source places only at country level are drawn at the single point the source gives.

Source

4. What each candidate carries

Within one source, Montandon already knows which items belong together. When the ETL loads a source it links every source event to that source’s own hazard, impact and response items. These links are deterministic: following them needs no judgement, and Jev is never asked to compare, for instance, a USGS hazard with a USGS impact.

The notebook follows those links in two steps.

  • Now, for the selected event and every candidate: the hazard item. It holds the size of the hazard, such as an earthquake’s magnitude or a cyclone’s wind speed. Some sources, EM-DAT for example, keep it on the hazard item and not on the event. Without this step Jev would read “an earthquake in Hatay” with no magnitude. The highest value per unit is added to what Jev reads. Two kinds of value are left out because they are not a measurement of the hazard itself: alert scores (GDACS and GFD publish a score for the alert, GLIDE a level) and extents (CEMS and the Charter give the area or radius of the activation). Only measurements such as a magnitude or a wind speed are kept.

  • Later, for the joined events only: the impacts and the responses. They are not sent to Jev. Sources disagree on impact figures by design, so a different death toll is no evidence of a different disaster. They are shown in section 7.

Source
The severity added to what Jev reads. Records that carry a magnitude of their own, such as USGS, keep it and are not listed:
Loading...

5. Asking Jev

Jev is a decision model: it answers a question about some data with a probability instead of a plain yes or no. Here the question is “Does this candidate describe the same disaster as the selected event?”, asked once for every candidate.

What is sent.

  • Candidates are sent one source at a time, at most 25 per request, so Jev compares a candidate with the other records of its own source. That helps when a source holds several records near the selected event.

  • Each request holds the selected event (called the anchor) and the candidates, each described in words and facts: the kind of record, title, description, hazard type, start and end date, the magnitude when the record has one (or the severity read from its hazard item in section 4), and the countries.

  • The days and kilometres between the candidate and the selected event are measured here and passed along. Jev takes them as given.

  • Jev does not see record ids, codes, impact figures, responses or links.

  • Alongside the yes/no question for each candidate there are two more: which candidate is the best match, and whether any candidate matches at all.

What comes back. One probability per candidate, called P(same). Exact links are not sent: they join at 100% because Montandon itself links them.

The next cell shows what a request contains. The one after sends them.

Source
Requests, one source at a time:
  EM-DAT       1 candidates
  GDACS        11 candidates
  GLIDE        1 candidates
  IDMC (IDU)   3 candidates
  IFRC         1 candidates
  PDC          25 candidates
  PDC          9 candidates
  USGS         25 candidates
  USGS         22 candidates

The selected event, as Jev reads it:
{
  "kind": "Copernicus EMS activation",
  "title": "Earthquake in Venezuela",
  "description": "On 24 Jun 2026 22:05 UTC a 7.5M earthquake, preceded by a strong foreshock, occurred in Venezuela. The impact on population was deemed high at the beginning, with low visibility on the extent of the damage. This is why Copernicus EMS Rapid Mapping was requested to provide damage assessment emergency mapping.",
  "hazard": "earthquake",
  "starts": "2026-06-24",
  "ends": "2026-06-24",
  "countries": [
    "VEN"
  ]
}

The closest candidate, as Jev reads it (the last two lines are measured here, not read from the record):
{
  "kind": "EM-DAT disaster database record",
  "title": "Ground movement in Venezuela (Bolivarian Republic of)",
  "description": "Earthquake in Caracas, Trujillo, Carabobo, Aragua, Miranda, La Guaira states., Venezuela (Bolivarian Republic of) of June 2026",
  "hazard": "earthquake",
  "starts": "2026-06-24",
  "ends": "2026-06-24",
  "severity": [
    "7.5 Moment Magnitude"
  ],
  "countries": [
    "VEN"
  ],
  "days_apart": 0,
  "km_apart": 75
}

The question asked about that candidate:
Does `candidates.candidate_1` describe the same disaster as `anchor`? The candidates are records from one source. None, one or several may describe the same disaster as the anchor: a source can hold several records of one disaster, such as an alert for each shock. Judge every candidate against the anchor and against the other candidates; a candidate that fits the anchor worse than a rival, or differs in place or date, is probably a different disaster. `days_apart` and `km_apart` were measured by the application between the anchor and that candidate; take them as given. Aftershocks minutes or hours after a main shock belong to the same disaster; a separate strong earthquake days or weeks later does not.
  true : `candidates.candidate_1` is about the same physical disaster as `anchor`, whatever its date precision, location detail or wording.
  false: `candidates.candidate_1` is a different disaster: a separate earthquake, a later flood or storm, a different hazard, or a distant region.

Jev’s answers

The requests are sent now. The result is one row per candidate with its P(same), sorted from most to least likely, in the table below. A candidate at or above the confidence threshold is joined. One between 0.3 and the threshold is possible. The threshold is a run-form parameter, and the map further down has a slider to change it afterwards.

The cost of the calls is printed under the counts. Without an OPENROUTER_API_KEY secret nothing is sent: the candidates are listed without a score, and only exact links join.

Source
Jev scored 98 of 98 candidates in 9 requests, cost $0.0023.
Loading...

6. Compared with two methods that need no model

Montandon documents two ways to find the same disaster without a model. Both are run here for the selected event, so Jev’s result can be set against them.

  • Same correlation id. Records that carry the selected event’s monty:corr_id. The id is worked out for each record on its own from its date, country and hazard type, so two sources describing one disaster often get different ids. Montandon’s documentation says it is not a key for joining sources.

  • STAC query. This is the event-to-event query in Montandon’s documentation. It asks the catalogue for every event that shares at least one hazard code and one country with the selected event and whose dates overlap the selected event’s dates, with a margin of stac_query_pad_days days either side. It works when sources fill in those three fields in the same way.

Like the candidates, both leave out the selected event and other records of its own source, and count a source’s episodes of one event once. A record that either method returns and that was not a candidate in section 3 is also sent to Jev, so every record has a Jev answer.

The table lists every record that any method returns. The last column says which of the three conditions of the STAC query a record fails, using the record’s own fields.

Source

What each method returns, and how it compares with Jev:
Loading...

Every record that any method returns:
Loading...

7. Fact sheet

The joined records are now treated as one disaster. The fact sheet puts what each source reports side by side: one column per source, one row per measure. It starts with the source’s own event ID, then holds the dates and countries, the hazard magnitude, the main people figures and economic loss, and then every other hazard measure, other impact figure and response count that Montandon has linked to the joined events. Section 8 lists the same values item by item.

  • Orange cells mark rows where the sources disagree: the largest figure is at least 1.5 times the smallest. Only figures in the same unit are compared.

  • An asterisk (*) marks a modelled figure: an estimate by the source (USGS PAGER), not a report.

  • A source can hold several records of the disaster. Copernicus figures are summed over its areas of interest, a register’s records for different countries (EM-DAT, GLIDE) are added up, and otherwise the largest figure is shown.

  • A disagreement is a result, not an error. Sources measure different things, so the sheet shows the differences and does not choose between them.

Source
Loading...

8. Everything linked to the joined events

The same values as the fact sheet, item by item, each with the event it belongs to. The table lists every value that Montandon holds for the joined events, source by source, in four kinds of item.

  • Event: the record itself, with its dates, countries and hazard codes.

  • Hazard: the size of the hazard. A hazard with many items (a storm track, for example) is summarised by its highest value.

  • Impact: each figure with its unit and whether it is reported or modelled. Impacts for different categories (people, buildings, cost) are separate rows.

  • Response: the satellite and mapping products that CEMS and the Charter made for the event. They are counted by type and status.

The values are not reconciled: the table is the raw material for comparing what the sources say about one disaster.

Source
137 values from 8 sources, linked to 16 joined events.
Loading...

9. Figures by source

The same numbers as bars, one bar per source, for deaths, people affected and people displaced. Bars that differ a lot show the sources disagreeing. A source with no figure for a measure has no bar. Modelled figures are labelled.

Source

10. Map of the matched records

Every candidate, coloured by source. The slider sets the minimum confidence: records appear and disappear as it moves, including in the published page, so the effect of the threshold can be seen directly. The selected event has a larger marker. Footprints are precise areas from the sources (Copernicus EMS areas, shake areas), never country outlines, and can be switched on and off.

Source

Limitations

  • Scores are model estimates. Jev reads titles, dates, places and magnitudes and returns a probability. It can be wrong in both directions. The default confidence threshold is 0.6.

  • Aftershocks. Earthquakes close to the selected event in time and place, such as aftershocks, are not handled separately. Jev can score a small aftershock as highly as the main shock, and they appear among the candidates. How to treat them is an open question for subject matter experts.

  • Linked items. Hazards, impacts and responses come from the links the ETL writes within each source. An event without such links shows nothing beyond its own fields. Only the hazard severity goes to Jev, and alert scores (GDACS, GFD, GLIDE) and extents (CEMS, Charter) are left out of everything. Impact figures and responses are shown and not used for matching, a choice to revisit. Responses are counted by type and status, not listed one by one.

  • Search scope. The search starts from the selected record. Records outside the time window and radius are not found; both are run-form parameters. Other records of the selected event’s own source are not candidates unless Montandon links them. Candidates are capped at the most plausible by time and distance, so a very busy window can hide a record.

  • Exact links. Only Montandon’s related event links join without Jev, and few exist so far (CEMS to GDACS and Charter). A record with the selected event’s monty:corr_id is always a candidate, including outside the time window and radius and first when the list is capped, but it is scored like any other. A correlation id stands for one date, one country and one hazard type: it can cover separate events of the same day, and it does not cover a disaster’s records in other countries or on other dates. No link is inferred from an id or a register number.

  • Disagreement. Differing figures are not treated as errors. Sources measure different things: reported against modelled, deaths against killed or missing, a country against an area of interest. Modelled figures carry an asterisk. EM-DAT publishes damage in thousands of US dollars, but its catalogue unit says only “count”, so amounts in different units are never compared.

  • The two methods. The comparison asks the catalogue what it holds in the fields it holds them. The STAC query is only as good as the hazard codes, countries and dates of each source, so a record filed under a different code, a placeholder country or a date outside the margin is missed. A correlation id depends on the same fields. Neither method looks at the place of an event or reads a title. Agreement with Jev is not a measure of correctness: Jev is not the truth either.