The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 34 new columns ({'event_id', 'sources', 'depth_class', 'day', 'country_region', 'tsunami_flag', 'longitude', 'depth_km', 'latitude', 'alert_level', 'magnitude_type', 'weekday', 'n_sources', 'cdi', 'magnitude_class', 'year', 'network', 'felt_reports', 'hour', 'min_distance_deg', 'review_status', 'significance', 'mmi', 'month', 'rms_residual', 'event_type', 'url', 'date', 'place', 'n_stations', 'magnitude', 'updated_utc', 'time_utc', 'azimuthal_gap_deg'}) and 3 missing columns ({'data_type', 'column', 'description'}).
This happened while the csv dataset builder was generating data using
hf://datasets/EduDevCommons/global-earthquake-catalog/global_earthquakes.csv (at revision 6995f0b97e2c21d7a4dd89eedad09f8f8f907de8), ['hf://datasets/EduDevCommons/global-earthquake-catalog@6995f0b97e2c21d7a4dd89eedad09f8f8f907de8/data_dictionary.csv', 'hf://datasets/EduDevCommons/global-earthquake-catalog@6995f0b97e2c21d7a4dd89eedad09f8f8f907de8/global_earthquakes.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
event_id: string
time_utc: string
date: string
year: int64
month: int64
day: int64
hour: int64
weekday: string
updated_utc: string
place: string
country_region: string
latitude: double
longitude: double
depth_km: double
depth_class: string
magnitude: double
magnitude_type: string
magnitude_class: string
n_stations: double
azimuthal_gap_deg: double
min_distance_deg: double
rms_residual: double
network: string
event_type: string
review_status: string
tsunami_flag: int64
felt_reports: double
cdi: double
mmi: double
alert_level: string
significance: int64
n_sources: int64
sources: string
url: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 4279
to
{'column': Value('string'), 'data_type': Value('string'), 'description': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 34 new columns ({'event_id', 'sources', 'depth_class', 'day', 'country_region', 'tsunami_flag', 'longitude', 'depth_km', 'latitude', 'alert_level', 'magnitude_type', 'weekday', 'n_sources', 'cdi', 'magnitude_class', 'year', 'network', 'felt_reports', 'hour', 'min_distance_deg', 'review_status', 'significance', 'mmi', 'month', 'rms_residual', 'event_type', 'url', 'date', 'place', 'n_stations', 'magnitude', 'updated_utc', 'time_utc', 'azimuthal_gap_deg'}) and 3 missing columns ({'data_type', 'column', 'description'}).
This happened while the csv dataset builder was generating data using
hf://datasets/EduDevCommons/global-earthquake-catalog/global_earthquakes.csv (at revision 6995f0b97e2c21d7a4dd89eedad09f8f8f907de8), ['hf://datasets/EduDevCommons/global-earthquake-catalog@6995f0b97e2c21d7a4dd89eedad09f8f8f907de8/data_dictionary.csv', 'hf://datasets/EduDevCommons/global-earthquake-catalog@6995f0b97e2c21d7a4dd89eedad09f8f8f907de8/global_earthquakes.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
column string | data_type string | description string |
|---|---|---|
event_id | string | Unique USGS event identifier. |
time_utc | datetime | Origin time of the event in UTC (YYYY-MM-DD HH:MM:SS). |
date | date | Origin date (UTC). |
year | integer | Origin year. |
month | integer | Origin month (1-12). |
day | integer | Origin day of month. |
hour | integer | Origin hour (0-23, UTC). |
weekday | string | Day of week of the origin time. |
updated_utc | datetime | Timestamp of the most recent revision of the event record. |
place | string | Human-readable location description. |
country_region | string | Last component of the place string, usually the country or region. |
latitude | float | Epicentre latitude in decimal degrees. |
longitude | float | Epicentre longitude in decimal degrees. |
depth_km | float | Hypocentre depth in kilometres below sea level. |
depth_class | category | Depth band: shallow (<70 km), intermediate (<300 km), deep. |
magnitude | float | Preferred magnitude. |
magnitude_type | category | Magnitude scale used (ml, mb, mww, md, ...). |
magnitude_class | category | Descriptive band: minor, light, moderate, strong, major, great. |
n_stations | integer | Number of seismic stations used in the location solution. |
azimuthal_gap_deg | float | Largest azimuthal gap between stations, in degrees (lower is better). |
min_distance_deg | float | Distance to the nearest station in degrees. |
rms_residual | float | Root-mean-square travel-time residual of the location, in seconds. |
network | string | Contributing seismic network code (e.g. us, ak, ci). |
event_type | category | Event type: earthquake, quarry blast, explosion, ice quake, ... |
review_status | category | Review status of the solution: reviewed or automatic. |
tsunami_flag | boolean | 1 if the event is in a region where a tsunami could be generated. |
felt_reports | integer | Number of DYFI 'felt it' reports received. |
cdi | float | Maximum Community Decimal Intensity from felt reports. |
mmi | float | Maximum estimated Modified Mercalli Intensity. |
alert_level | category | PAGER alert level: green, yellow, orange or red. |
significance | integer | USGS significance score combining magnitude, felt reports and impact. |
n_sources | integer | Number of contributing data sources. |
sources | string list | Semicolon-separated contributing source codes. |
url | string | USGS event page URL. |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
Global Earthquake Catalog 2015โ2026 โ 337,247 Events, 34 Parameters
Subtitle: A decade of worldwide seismicity (M โฅ 2.5) with hypocentre geometry, magnitude scales, station counts, PAGER alerts, tsunami flags and significance scores.
๐ Description
This is a clean, single-file extract of the USGS ANSS Comprehensive Catalog covering 1 January 2015 โ 19 November 2026, filtered to magnitude 2.5 and above. That yields 337,247 earthquakes โ enough for time-series work, spatial statistics and genuine machine-learning experiments, while staying small enough to load in a laptop dataframe (94 MB).
Unlike the raw GeoJSON feeds scattered around the web, every field here is already parsed from the nested properties object into its own column, with derived temporal and geophysical features added:
- Time features โ UTC timestamp, date, year, month, day, hour, weekday, and the last update time.
- Hypocentre geometry โ latitude, longitude, depth in km, plus a
depth_classband (shallow < 70 km, intermediate < 300 km, deep โฅ 300 km). - Magnitude โ preferred magnitude, the magnitude scale (
magType: ml, mb, mww, md, โฆ), and a descriptivemagnitude_class(minor โ great). - Solution quality โ
n_stations,azimuthal_gap_deg,min_distance_deg,rms_residual. These are exactly the features you need if you want to predict magnitude reliability. - Impact โ
tsunami_flag, DYFIfelt_reports,cdi,mmi, PAGERalert_level, and the USGSsignificancescore. - Provenance โ contributing
network, eventtype(earthquake, quarry blast, explosion, ice quakeโฆ), review status, source count and list, event page URL.
๐งพ Columns (34)
event_id, time_utc, date, year, month, day, hour, weekday, updated_utc, place, country_region, latitude, longitude, depth_km, depth_class, magnitude, magnitude_type, magnitude_class, n_stations, azimuthal_gap_deg, min_distance_deg, rms_residual, network, event_type, review_status, tsunami_flag, felt_reports, cdi, mmi, alert_level, significance, n_sources, sources, url
Full descriptions in data_dictionary.csv.
๐ก Ideas for using this data
- Seismic hotspot mapping โ hexbin or kernel-density maps of epicentres; identify the Ring of Fire and mid-ocean ridges.
- GutenbergโRichter law โ fit the magnitudeโfrequency distribution and estimate b-values per region.
- Aftershock sequences โ detect mainshock/aftershock clusters with spatial-temporal windows (e.g. the 2023 TรผrkiyeโSyria sequence).
- Magnitude prediction โ regress
magnitudeon depth, station geometry and location features. - Alert-level classification โ predict PAGER
alert_levelfrom magnitude, depth and population proxies (imbalanced classification). - Tsunami risk screening โ which magnitude/depth combinations actually trigger
tsunami_flag? - Data quality study โ how do
n_stationsandazimuthal_gap_degrelate to review status and magnitude uncertainty?
โ ๏ธ Caveats
- Only events of M โฅ 2.5 are included; completeness varies strongly by region and over time because global station coverage improved over the decade.
felt_reports,cdi,mmiandalert_levelare mostly populated for significant events; blanks are normal.placeis a free-text human description, not a normalised gazetteer โcountry_regionis a convenience extraction of its last component.- Depths are reported relative to sea level and can be negative for some events.
๐ Provenance & licence
- Source: U.S. Geological Survey, ANSS Comprehensive Earthquake Catalog (ComCat) FDSN event service โ public domain (U.S. Government work).
- Query:
minmagnitude=2.5, 2015-01-01 โ 2026-11-19, all event types. - Snapshot: November 2026. 337,247 rows ร 34 columns.
- Downloads last month
- 44