pygmt.datasets.load_usgs_quakes¶
-
pygmt.datasets.
load_usgs_quakes
()[source]¶ Load a table of global earthquakes form the USGS as a pandas.DataFrame. This is the
@usgs_quakes_22.txt
dataset used in the GMT tutorials. The data are downloaded to a cache directory (usually~/.gmt/cache
) the first time you invoke this function. Afterwards, it will load the data from the cache. So you’ll need an internet connection the first time around. :returns: data (pandas.DataFrame) – The data table. Useprint(data.describe())
to see the availablecolumns.