USEPA / SWMM-EPANET_User_Interface

User interface for the Stormwater-Management-Model
111 stars 67 forks source link

Missing land elevation and HGL line on profile #365

Closed michelleannesimon closed 4 years ago

michelleannesimon commented 4 years ago

! image

michelleannesimon commented 4 years ago

The dotted line may be the HGL but the land elevation is missing.

PaulDudaRESPEC commented 4 years ago

It looks like our earlier versions of the profile plot had the HGL, but broke somehow as we moved to python 3 and newer versions of matplotlib. A comment in our UI says "Profile plot based on 'Basic HGL 2-D Video Profile Plot Script by Bryant E. McDonnell'" -- maybe an updated version of that script would help here.

PaulDudaRESPEC commented 4 years ago

The commit above puts the HGL back on the plot. Strangely in the debug environment the plot keeps updating each time step (animating), but not when running. image

PaulDudaRESPEC commented 4 years ago

Since the plot (with the fix above) does show the HGL appropriately in the debug environment, I'm going to take the bug label off this one.

michelleannesimon commented 4 years ago

This appears to be working properly in MTP7r0. I will close this issue.