Earthquake statistics
eq_statsDetermine Iran's seismic activity. Track earthquake counts by location or magnitude over custom time periods, identifying the strongest recent event.
Instructions
Count earthquakes in Iran over a window: by magnitude band, by place, plus the strongest event.
Use for "how active has Iran been this month". Places are USGS nearest towns or EMSC regions (no province
data). truncated = the source returned its full 3000 rows before the Iran filter, so the count covers only the newest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window length in days, ending now, e.g. 30. | |
| source | No | Data source: 'usgs' (USGS ComCat, default), 'emsc' (EMSC via SeismicPortal) or 'irsc' (Iranian Seismological Center, only its latest ~20 events, with province names). Magnitudes and locations differ slightly between them; ids are not interchangeable. | usgs |
| iran_only | No | True (default): keep only events inside a coarse Iran outline (lat/lon, includes Iranian waters) whose place text names Iran (or Persian Gulf, Gulf of Oman, Caspian Sea); neighbours across the border are dropped. False: everything in the bounding box. | |
| min_magnitude | No | Minimum magnitude counted, e.g. 3.0. |