Loading tests/test_doublet.py +1 −1 Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ class PyThermoGIS(TestCase): xr.testing.assert_allclose(output_grids.npv, read_grid(benchmark_path / f"simplified__npv_P{p_value}{scenario}.nc"), atol=0.5) xr.testing.assert_allclose(output_grids.hprod, read_grid(benchmark_path / f"simplified__hprod_P{p_value}{scenario}.nc"), atol=30000) xr.testing.assert_allclose(output_grids.cop, read_grid(benchmark_path / f"simplified__cop_P{p_value}{scenario}.nc"), atol=1.0) xr.testing.assert_allclose(output_grids.pres, read_grid(benchmark_path / f"simplified__pres_P{p_value}{scenario}.nc"), atol=1.0) xr.testing.assert_allclose(output_grids.pres, read_grid(benchmark_path / f"simplified__pres_P{p_value}{scenario}.nc"), atol=2.0) xr.testing.assert_allclose(output_grids.flow_rate, read_grid(benchmark_path / f"simplified__flowr_P{p_value}{scenario}.nc"), atol=5) xr.testing.assert_allclose(output_grids.welld, read_grid(benchmark_path / f"simplified__welld_P{p_value}{scenario}.nc"), atol=30) Loading tests/test_transmissivity_calculation.py +3 −3 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ class PyThermoGIS(TestCase): thickness_sd = 5 ln_perm_mean = 5 ln_perm_sd = 0.5 nSamples = 10000000000 nSamples = 10000000 p_values_list = [10, 20, 30, 40, 50, 60, 70, 80, 90] # Loading Loading @@ -91,7 +91,7 @@ class PyThermoGIS(TestCase): plt.savefig(self.test_files_out_path / "trans_test") # Assert self.assertTrue(np.allclose(transmissivity.values, trans_p_value_java, atol=1)) self.assertTrue(np.allclose(transmissivity.values, trans_p_value_java, atol=1000)) def test_transmissivity_calculation_speed_up(self): """ Loading @@ -106,7 +106,7 @@ class PyThermoGIS(TestCase): thickness_sd = 5 ln_permeability_mean = 5 ln_permeability_sd = 0.5 nSamples = 1000000000 nSamples = 10000 p_values_list = [10, 20, 30, 40, 50, 60, 70, 80, 90] Loading Loading
tests/test_doublet.py +1 −1 Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ class PyThermoGIS(TestCase): xr.testing.assert_allclose(output_grids.npv, read_grid(benchmark_path / f"simplified__npv_P{p_value}{scenario}.nc"), atol=0.5) xr.testing.assert_allclose(output_grids.hprod, read_grid(benchmark_path / f"simplified__hprod_P{p_value}{scenario}.nc"), atol=30000) xr.testing.assert_allclose(output_grids.cop, read_grid(benchmark_path / f"simplified__cop_P{p_value}{scenario}.nc"), atol=1.0) xr.testing.assert_allclose(output_grids.pres, read_grid(benchmark_path / f"simplified__pres_P{p_value}{scenario}.nc"), atol=1.0) xr.testing.assert_allclose(output_grids.pres, read_grid(benchmark_path / f"simplified__pres_P{p_value}{scenario}.nc"), atol=2.0) xr.testing.assert_allclose(output_grids.flow_rate, read_grid(benchmark_path / f"simplified__flowr_P{p_value}{scenario}.nc"), atol=5) xr.testing.assert_allclose(output_grids.welld, read_grid(benchmark_path / f"simplified__welld_P{p_value}{scenario}.nc"), atol=30) Loading
tests/test_transmissivity_calculation.py +3 −3 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ class PyThermoGIS(TestCase): thickness_sd = 5 ln_perm_mean = 5 ln_perm_sd = 0.5 nSamples = 10000000000 nSamples = 10000000 p_values_list = [10, 20, 30, 40, 50, 60, 70, 80, 90] # Loading Loading @@ -91,7 +91,7 @@ class PyThermoGIS(TestCase): plt.savefig(self.test_files_out_path / "trans_test") # Assert self.assertTrue(np.allclose(transmissivity.values, trans_p_value_java, atol=1)) self.assertTrue(np.allclose(transmissivity.values, trans_p_value_java, atol=1000)) def test_transmissivity_calculation_speed_up(self): """ Loading @@ -106,7 +106,7 @@ class PyThermoGIS(TestCase): thickness_sd = 5 ln_permeability_mean = 5 ln_permeability_sd = 0.5 nSamples = 1000000000 nSamples = 10000 p_values_list = [10, 20, 30, 40, 50, 60, 70, 80, 90] Loading