Skip to content
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

Add function to load Earth relief data #156

Merged
merged 2 commits into from
Apr 3, 2018
Merged

Add function to load Earth relief data #156

merged 2 commits into from
Apr 3, 2018

Conversation

leouieda
Copy link
Member

@leouieda leouieda commented Apr 3, 2018

Implements the function load_earth_relief in gmt.datasets to load
the Earth relief grids distributed with GMT (the @earth_relief_XXm
special file names). Uses gmt.which to download to the user directory
and get the file name. The netCDF grid is loaded and returned as an
xarray.DataArray. Only support the 60 to 1 arc-minute global grids.
Higher resolution arc-second grids are served as tiles and are usually
cut to a specific area, so a region argument will be needed to load
these grids later, probably in conjunction with gmt.grdcut.

@leouieda leouieda merged commit 623991b into master Apr 3, 2018
@leouieda leouieda deleted the earth-relif branch April 3, 2018 03:37
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.

1 participant