Loading tests/test_define_calculation_limits.py +2 −0 Original line number Diff line number Diff line Loading @@ -4,12 +4,14 @@ import numpy as np import xarray as xr from pythermogis import calculate_doublet_performance import pytest test_files_path = Path(__file__).parent / "resources" def print_min_max(variable: xr.DataArray): print(f"{variable.name}, {np.min(variable):.2f}, {np.max(variable):.2f}") @pytest.mark.skip("Useful for understanding the range of possible input values, not for pipeline testing") def test_define_calculation_limits(): recalculate_results = False if recalculate_results: Loading Loading
tests/test_define_calculation_limits.py +2 −0 Original line number Diff line number Diff line Loading @@ -4,12 +4,14 @@ import numpy as np import xarray as xr from pythermogis import calculate_doublet_performance import pytest test_files_path = Path(__file__).parent / "resources" def print_min_max(variable: xr.DataArray): print(f"{variable.name}, {np.min(variable):.2f}, {np.max(variable):.2f}") @pytest.mark.skip("Useful for understanding the range of possible input values, not for pipeline testing") def test_define_calculation_limits(): recalculate_results = False if recalculate_results: Loading