Uh oh!
There was an error while loading. Please reload this page.
Add intro tutorial section for creating contour map - #2126
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| # 1. Change the resolution of the grid file to either "01m" (lower resolution) | ||
| # or "15s" (higher resolution). Note that higher resolution grids will have | ||
| # larger file sizes. |
There was a problem hiding this comment.
Maybe link to https://www.generic-mapping-tools.org/remote-datasets/earth-relief.html#usage so users know what are the possible spatial resolutions, and mention explicitly that 01m stands for 1 arc minute (some people might think it's 1 meter).
Uh oh!
There was an error while loading. Please reload this page.
seisman
commented
Oct 28, 2022
Ping @willschlitzer to finalize this PR so that we can merge it. |
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
weiji14
left a comment
There was a problem hiding this comment.
Looks good, thanks @willschlitzer! Just need to comment that pull_request: line in .github/workflows/cache_data.yaml as mentioned in https://github.com/GenericMappingTools/pygmt/pull/2126/files#r1008968590 before merging.
…ols#2126) Co-authored-by: Dongdong Tian <seisman.info@gmail.com> Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
This adds a second section to the Intro to PyGMT tutorial. It covers retrieving and plotting Earth relief data, adding a color palette and color bar, and plotting contour lines.
Preview at https://pygmt-dev--2126.org.readthedocs.build/en/2126/get-started/contour-map.html
Addresses #770
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