pygmt.datasets.load_japan_quakes
- pygmt.datasets.load_japan_quakes(**kwargs)[source]
(Deprecated) Load a table of earthquakes around Japan as a pandas.DataFrame.
Warning
Deprecated since v0.6.0. This function has been replaced with
load_sample_data(name="japan_quakes")
and will be removed in v0.9.0.Data is from the NOAA NGDC database. This is the
@tut_quakes.ngdc
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. Columns are year, month, day, latitude, longitude, depth (in km), and magnitude of the earthquakes.