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

Polygons / POLYGONS inp section is causing parsing issues #250

Open
aerispaha opened this issue Feb 11, 2025 · 2 comments
Open

Polygons / POLYGONS inp section is causing parsing issues #250

aerispaha opened this issue Feb 11, 2025 · 2 comments
Labels

Comments

@aerispaha
Copy link
Member

The polygons section of the INP file is special because it is sometimes called [Polygons], not following the typical header syntax with all caps i.e. [POLYGONS].

This seems to be causing issues as we try to add coverage for new INP sections (e.g. in #242). This needs to be resolved.

@aerispaha aerispaha added the bug label Feb 11, 2025
@dickinsonre
Copy link

Is this not a bug in SWMM5 - it seems to be the only section not uppercase

// Export vertex coordinates of subcatchment polygons
S.Add('[Polygons]');

@aerispaha
Copy link
Member Author

@dickinsonre I think you're right. I suppose we could try and fix that bug in SWMM, but I think swmmio will need to deal with this for the foreseeable future either way.

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

No branches or pull requests

2 participants