TNO Intern

Commit ca2f5e93 authored by jjflorian's avatar jjflorian
Browse files

filter out skyrocketing utc values

parent 69fd8722
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ def compute_results_for_aquifer(
            )
            return tuple(np.nan for _ in output_names)

        if result.utc > 4000:
        if result.utc > 1000:
            print(
                f"Hmmmmm at x={x:.1f}, y={y:.1f} | "
                f"thick={thickness:.3f}, temp={temperature:.2f}, "
@@ -154,6 +154,7 @@ def compute_results_for_aquifer(
                f"ntg={ntg}, depth={depth:.3f}, porosity={porosity:.3f}, "
                f"utc:{result.utc}"
            )
            result.utc = 1000


        return tuple(result) if result is not None else tuple(np.nan for _ in output_names)