Add a sample dataset notre_dame_topography#1920
Conversation
pygmt/datasets/samples.py
Outdated
| "mars_shape": "Table of topographic signature of the hemispheric dichotomy of " | ||
| " Mars from Smith and Zuber (1996)", | ||
| "ocean_ridge_points": "Table of ocean ridge points for the entire world", | ||
| "table511": "Table 5.11 in Davis: Statistics and Data Analysis in Geology.", |
There was a problem hiding this comment.
I don't think table511 is a good name for this dataset, but I have no idea about the content of the dataset.
There was a problem hiding this comment.
The main reason I went with table511 is because that is in line with the GMT remote dataset name. I also have no idea what the content is.
There was a problem hiding this comment.
@PaulWessel Could you please explain what the Table_5_11.txt file has?
There was a problem hiding this comment.
Yikes. My book is sitting on a shelf in Hawaii. I could answer in 12 days when I am back for a few weeks. But vague memory is that is it topography.
There was a problem hiding this comment.
This dataset is used in ex12 (https://docs.generic-mapping-tools.org/latest/gallery/ex12.html).
Our next example operates on a data set of topographic readings non-uniformly distributed in the plane (Table 5.11 in Davis: Statistics and Data Analysis in Geology, J. Wiley).
According to the example description, perhaps we can name the dataset as "unevenly_sampled_topography"?
There was a problem hiding this comment.
Given John Davis worked for the Kansas Geological Survey I am guessing it is either in Kansas or this is Notre Dame University area in Indiana.
There was a problem hiding this comment.
Would notre_dame_topgraphy work?
There was a problem hiding this comment.
Would
notre_dame_topgraphywork?
Sounds a good name to me.
There was a problem hiding this comment.
Presumably meant notre_dame_topography ?
There was a problem hiding this comment.
Yes! The dangers of getting on my computer pre-coffee.
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
|
/format |
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
This adds
@table_5_11.txttoload_sample_data().Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash commands are:
/format: automatically format and lint the code/test-gmt-dev: run full tests on the latest GMT development version