HydrologicEngineeringCenter / HEC-FDA

Hydrologic Engineering Center - Flood Damage Analysis
MIT License
11 stars 2 forks source link

impact area name printed to file incorrect #1106

Open rnugent3 opened 1 month ago

rnugent3 commented 1 month ago

we print the impact area alongside all the other structure information in our stage damage detail reporting, but the impact area that shows up appears to be the int model ID for that impact area, not the name of the impact area.

Any study could be used to replicate

rnugent3 commented 1 month ago

This is preventing me from troubleshooting effectively, and will prevent PDTs just the same.

rnugent3 commented 1 month ago

This is not a bug, I just haven't written the code in a way that gets the impact area name into the structure detail report. I print the impact area ID, not the name. @Brennan1994 would you mind taking a look?

https://github.com/HydrologicEngineeringCenter/HEC-FDA/blob/1d1c23380551d20ab0f4ad884c542ccd574ccb40/HEC.FDA.Model/structures/Structure.cs#L286