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

Updated define_glacier_region to handle a list of DEM sources #1506

Merged
merged 3 commits into from
Nov 29, 2022

Conversation

d-otto
Copy link
Contributor

@d-otto d-otto commented Nov 17, 2022

Still a bit new to PR's, apologies if I missed something.

The docs for tasks.define_glacier_region say source accepts a string or list of strings, but it was not implemented. Passing a list to source now tries listed DEM sources until a valid one is found.

For example, I can now prefer Alaska DEM where it is available :)

@fmaussion fmaussion merged commit b0b4aae into OGGM:master Nov 29, 2022
@fmaussion
Copy link
Member

Thanks! Thats great

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.

None yet

2 participants