mdtanker / polartoolkit

Helpful tools for polar researchers

Home Page:http://polartoolkit.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set region strings for commonly plotted areas

mdtanker opened this issue · comments

Description of the desired feature:

In antarctic_plots.utils add variables for commonly plotted Antarctic regions, such as the major ice shelves, EANT, WANT, and the ice drainages. These variables can then be used to easily set the figure regions.

For example:

ross_embayment =  [-760e3, 600e3, -2200e3, -350e3] 

Then when plotting, you can use:

bed = fetch.bedmachine(layer = 'bed', region = ross_embayment)
maps.plot_grid(bed , region = ross_embayment)

Are you willing to help implement and maintain this feature?

Yes

The QGIS plugin BoundingBox can output the bounding regions of the current map view, which is useful for defining regions interactively.

Various regions have been added to antarctic_plots.regions.py and are shown in tutorial/regions_plot.ipynb. This notebook is now included in the docs via tutorials.ipynb. All part of commit: e19c196