Recent earthquakes
Use “Recent earthquakes” in Recued. Recent earthquakes worldwide, or near a place you name.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (31 steps)
wanted
trim
Trim whitespace from setting place
days_back
to_number
Convert setting days to a number
days_neg
math
Calculate: 0 - {{step.days_back}}
start_ts
date_add
Add days neg days to
start_date
date_format
Format as a date
geocode
recued-core.nominatim.geo.search
Search geo on nominatim
skip: step.wanted is_empty
hits
default
Apply default
top
default
Apply default
resolved
default
Apply default
place_missing
all
Check if all conditions are true
place_required
template
Generate text from a template
fail: step.place_missing equal true
lat
to_number
Convert top lat to a number
skip: step.resolved is_empty
lon
to_number
Convert top lon to a number
skip: step.resolved is_empty
near
recued-core.emsc-seismic.event.search
Search event on emsc seismic
skip: step.resolved is_empty
world
recued-core.emsc-seismic.event.search
Search event on emsc seismic
skip: step.resolved is_not_empty
payload
coalesce
Use the first available value from: near result, world result
features
default
Apply default
found
count
Count items in features
rows
map
Extract from each item
sorted
sort
Sort by when
strongest
max_by
Find the maximum by magnitude
scales
pluck
Extract scale from each item
scale_list
unique
Remove duplicates from
scale_count
count
Count items in scale list
scale_text
join
Join items with ", "
where
default
Apply default
card
to_summary
Format results as a summary card
table
to_table
Format results as a data table
skip: step.found equal 0
none_note
template
Generate text from a template
skip: step.found greater 0
scale_note
template
Generate text from a template
skip: step.scale_count less 2
provisional_note
template
Generate text from a template
skip: step.found equal 0
▼
Output
summary
card
table
table
text
none_note
text
scale_note
text
provisional_note
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
days
setting
=
7
place
setting
=
radius deg
setting
=
5
min magnitude
setting
=
4
Uses (2 operations)
Pack operation
Search geo on nominatim
recued-core.nominatim.geo.search
Pack operation
Search event on emsc seismic
recued-core.emsc-seismic.event.search
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.