File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -651,7 +651,7 @@ def variable_interpolation(
651651 if not isinstance (to_pandas , bool ):
652652 raise TypeError (f"to_pandas must be of type bool. Got: { type (to_pandas )} " )
653653
654- # Avoid Quhall errors by filling in bad sigma values
654+ # Avoid Quhall errors by filling in bad sigma values
655655 if "mesh2d_interface_sigma" in data .variables :
656656 sigma = data ["mesh2d_interface_sigma" ].values
657657 bad = ~ np .isfinite (sigma ) | (np .abs (sigma ) > 0.1 )
@@ -667,9 +667,9 @@ def variable_interpolation(
667667 if neighbors :
668668 avg_neighbor = np .mean (neighbors )
669669 if np .abs (avg_neighbor - (- 1.0 )) < np .abs (avg_neighbor ):
670- sigma [idx ] = - 1.0 # sea bed
670+ sigma [idx ] = - 1.0 # sea bed
671671 else :
672- sigma [idx ] = 0.0 # water surface
672+ sigma [idx ] = 0.0 # water surface
673673 else :
674674 sigma [idx ] = - 1.0
675675
You can’t perform that action at this time.
0 commit comments