pygmt.datasets.load_mars_shape
- pygmt.datasets.load_mars_shape(**kwargs)[source]
(Deprecated) Load a table of data for the shape of Mars.
Warning
Deprecated since v0.6.0. This function has been replaced with
load_sample_data(name="mars_shape")
and will be removed in v0.9.0.This is the
@mars370d.txt
dataset used in GMT examples, with data and information from Smith, D. E., and M. T. Zuber (1996), The shape of Mars and the topographic signature of the hemispheric dichotomy. Data columns are “longitude,” “latitude”, and “radius (meters).”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 with columns “longitude”, “latitude”, and “radius(m)”.