When loading a project file, the decimal precision of WSE is not respected in the Discharge tab
When you open a saved project where the WSE has been specified and is a floating point number, the Stations plot and depths in the Discharge Tab are incorrect (this also impacts the computed Q):
If the user makes the WSE lineEdit in the orthorectification tab active (puts the cursor in the field) and then presses enter, xsgeometry.py
will recompute values.
DEBUG:root:WSE Changed: Recompute wetted width. Found the following crossings: [2.6626724615383117, 2.6210777142893202, 50.419126529411756]
Received WSE elevation: 907.9992000000001 meters
C:\REPOS\ivy\.venv\lib\site-packages\areacomp\gui\areasurvey.py:820: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
self.channel_char.iloc[0]["k_factor"] = self.channel_char["k_factor"].sum(
C:\REPOS\ivy\.venv\lib\site-packages\areacomp\gui\areasurvey.py:820: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
self.channel_char.iloc[0]["k_factor"] = self.channel_char["k_factor"].sum(
C:\REPOS\ivy\.venv\lib\site-packages\areacomp\gui\areasurvey.py:820: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
Afterward, the issue is resolved if the User clicks the "Reset Discharge Stations Table" button.