mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Friction: Add strickler unit.
This commit is contained in:
1 parent
cb41520a20
commit
a5648851f2
2 files changed
+4
-1
No files matched your search
@@ -42,7 +42,7 @@ class PlotStricklers(PamhyrPlot):
|
|||||||
)
|
)
|
||||||
|
|
||||||
self.label_x = self._trad["kp"]
|
self.label_x = self._trad["kp"]
|
||||||
self.label_y = self._trad["stricklers"]
|
self.label_y = self._trad["strickler_plot"]
|
||||||
|
|
||||||
self.line_kp_elevation = [None, None]
|
self.line_kp_elevation = [None, None]
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ class FrictionsTranslate(MainTranslate):
|
|||||||
super(FrictionsTranslate, self).__init__()
|
super(FrictionsTranslate, self).__init__()
|
||||||
|
|
||||||
self._dict["kp"] = self._dict["unit_kp"]
|
self._dict["kp"] = self._dict["unit_kp"]
|
||||||
|
self._dict["strickler_plot"] = _translate(
|
||||||
|
"Frictions", "Strickler ($m^{1/3}/s$)"
|
||||||
|
)
|
||||||
self._dict["stricklers"] = _translate(
|
self._dict["stricklers"] = _translate(
|
||||||
"Frictions", "Stricklers"
|
"Frictions", "Stricklers"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user