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 inp coverage for new SWMM5.2 Features: STREETS, INLETS, INLET_USAGE #191

Merged
merged 4 commits into from
Apr 28, 2023

Conversation

aerispaha
Copy link
Member

Summary

This adds coverage for the new model objects introduced in SWMM5.2, as described here. Doctests are also provided for each new inp section showing how to get/set data in the STREETS, INLETS, and INLET_USAGE sections.

Usage

model = swmmio.Model('path-to-model-file.inp')

# get the streets dataframe 
model.inp.streets

# get inlets dataframe 
model.inp.inlets

# get inlets_usage dataframe 
model.inp.inlet_usage

Closes #180
Makes progress on #57

@aerispaha aerispaha merged commit e379193 into master Apr 28, 2023
@aerispaha aerispaha deleted the feat/180 branch April 28, 2023 16:52
@bemcdonnell
Copy link
Member

@aerispaha you're from da model.inp.streets!

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.

SWMM5.2 Features
2 participants