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

Model.subcatchments now with geo accessors #86

Merged
merged 3 commits into from
May 5, 2020
Merged

Model.subcatchments now with geo accessors #86

merged 3 commits into from
May 5, 2020

Conversation

aerispaha
Copy link
Member

Reduces duplicated code in elements.py and provides geojson, geodataframe accessors for Model.subcatchments object

Closes #85

sect_id = '[{}]'.format(sect_id)
found_sects[sect_id] = data
sect_id = '[{}]'.format(sect_id.upper())
found_sects[sect_id.upper()] = data
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed to make this change to deal with the [Polygons] section that is not full uppercase like the rest of the inp section headers.

@aerispaha aerispaha merged commit 6907653 into master May 5, 2020
@aerispaha aerispaha deleted the feat85 branch May 5, 2020 16:54
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.

provide access to model.subcatchments.geojson
1 participant