Skip to content

Figure 3: Backgroundmaps #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

yvonnefroehlich
Copy link
Member

This PR adds a JN for backgroundmaps:

  • Downloade on of the GMT remote datasets and plot it via Figure.grdimage
  • Downloade tiled maps using contextily and plot it via Figure.tilemaps

Copy link

gitnotebooks bot commented Dec 24, 2024

Found 1 changed notebook. Review the changes at https://app.gitnotebooks.com/GenericMappingTools/pygmt-paper-figures/pull/8

@seisman
Copy link
Member

seisman commented Apr 22, 2025

@yvonnefroehlich What about extending this example to include more basemap types? Below are four basemaps that can fit in a 2x2 subplot layout.

  • A coastline-type basemap, with coastlines, and colored land/ocean
  • A topographic map [Already in the example]
  • A tilemap-style basemap [Already in the example]
  • Another map that uses one of the remote dataset (e.g., earth_day/earth_geoid) or a contour map?

Users unfamiliar with GMT can get a first impression of the types of basemaps PyGMT offers, while experienced GMT users can discover that PyGMT supports tilemap-style basemaps.

Please let me know that you think and I'd like to help if you don't have time to work on it.

@yvonnefroehlich
Copy link
Member Author

@yvonnefroehlich What about extending this example to include more basemap types? Below are four basemaps that can fit in a 2x2 subplot layout.

  • A coastline-type basemap, with coastlines, and colored land/ocean

There is already an example for Figure.coast (PR #1, https://github.com/GenericMappingTools/pygmt-paper-figures/blob/main/basic-map.ipynb). Do we want to replace this separate example and include it in this basemap example?
In this case, we would save one image for something else. I remember that there is a limit for the number of images by G^3.

  • A topographic map [Already in the example]
  • A tilemap-style basemap [Already in the example]
  • Another map that uses one of the remote dataset (e.g., earth_day/earth_geoid) or a contour map?

Just tried the crustal age dataset, as this one is interesting for the area of Island.

Users unfamiliar with GMT can get a first impression of the types of basemaps PyGMT offers, while experienced GMT users can discover that PyGMT supports tilemap-style basemaps.

Please let me know that you think and I'd like to help if you don't have time to work on it.

I just added the other two maps for the region Island. Feel free to modify the codes, including choosing another area or dataset and re-ordering the maps.

@seisman
Copy link
Member

seisman commented Apr 24, 2025

@yvonnefroehlich What about extending this example to include more basemap types? Below are four basemaps that can fit in a 2x2 subplot layout.

  • A coastline-type basemap, with coastlines, and colored land/ocean

There is already an example for Figure.coast (PR #1, https://github.com/GenericMappingTools/pygmt-paper-figures/blob/main/basic-map.ipynb). Do we want to replace this separate example and include it in this basemap example? In this case, we would save one image for something else. I remember that there is a limit for the number of images by G^3.

I prefer to use the following figure generated by #4 as our Figure 2. It's similar to the one in PR #1, but for a global region.
image

Then in this example, a regional coastline-style base map makes more sense.

I just added the other two maps for the region Island. Feel free to modify the codes, including choosing another area or dataset and re-ordering the maps.

Thanks. My suggestions are:

@weiji14
Copy link
Member

weiji14 commented Apr 28, 2025

Do you want a proper satellite image (e.g. Sentinel-3 or MODIS), or just use Blue Marble @earth_day/load_blue_marble? The satellite image might require quite a few lines of code as I'll need to reproject from UTM to lon/lat (so the frame is consistent across all 4 subplots), but doable. Just depends on what you want to show in the paper.

@seisman seisman changed the title Figure XY: Backgroundmaps Figure 3: Backgroundmaps Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants