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 fails to merge rpt data when subcatchments have numeric names #106

Closed
aerispaha opened this issue Oct 2, 2020 · 0 comments · Fixed by #107
Closed
Assignees
Milestone

Comments

@aerispaha
Copy link
Member

aerispaha commented Oct 2, 2020

Subcatchments (and probably other elements) are not properly merging together with RPT data when they have numeric names.

from swmmio.tests.data import MODEL_EX_1
model = swmmio.Model(MODEL_EX_1)
subs = model.subcatchments.dataframe

Here, subs will NaN values in the rpt-derived columns because the rpt parsing does not cast indices as strings before joining with inp dataframes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant