Loading pyproject.toml +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ platforms = ["win-64", "linux-64"] [tool.pixi.pypi-dependencies] pythermogis = { path = ".", editable = true } pydoubletcalc = { path = 'C:\Users\knappersfy\work\thermogis\pydoubletcalc', editable = true } #pydoubletcalc = { path = 'C:\Users\knappersfy\work\thermogis\pydoubletcalc', editable = true } [tool.pixi.tasks] test = "PYTHONPATH=src/pythermogis pytest -s tests/" Loading tests/utc/test_rosl_roslu.py +24 −24 Original line number Diff line number Diff line import matplotlib.pyplot as plt from pythermogis.workflow.utc.configuration import UTCConfiguration from pythermogis.workflow.utc.utc import run_utc_workflow def test_rosl_roslu(): """ Integration test that runs the whole ROSL_ROSLU aquifer. The input is identical to the java 2.5.3 input. The output is compared to the java output. """ config = UTCConfiguration( input_data_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/input", results_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/output", aquifers=["ROSL_ROSLU"], segment_length=1, p_values=[95] # For now only calculating this value, because it is way faster than 50 ) result = run_utc_workflow(config) result.ROSL_ROSLU.utc_p95.plot() # should match p value in config plt.show() print(result) No newline at end of file # import matplotlib.pyplot as plt # # from pythermogis.workflow.utc.configuration import UTCConfiguration # from pythermogis.workflow.utc.utc import run_utc_workflow # # def test_rosl_roslu(): # """ # Integration test that runs the whole ROSL_ROSLU aquifer. # The input is identical to the java 2.5.3 input. # The output is compared to the java output. # """ # config = UTCConfiguration( # input_data_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/input", # results_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/output", # aquifers=["ROSL_ROSLU"], # segment_length=1, # p_values=[50] # For now only calculating this value, because it is way faster than 50 # ) # result = run_utc_workflow(config) # # result.ROSL_ROSLU.utc_p50.plot() # should match p value in config # plt.show() # # print(result) No newline at end of file Loading
pyproject.toml +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ platforms = ["win-64", "linux-64"] [tool.pixi.pypi-dependencies] pythermogis = { path = ".", editable = true } pydoubletcalc = { path = 'C:\Users\knappersfy\work\thermogis\pydoubletcalc', editable = true } #pydoubletcalc = { path = 'C:\Users\knappersfy\work\thermogis\pydoubletcalc', editable = true } [tool.pixi.tasks] test = "PYTHONPATH=src/pythermogis pytest -s tests/" Loading
tests/utc/test_rosl_roslu.py +24 −24 Original line number Diff line number Diff line import matplotlib.pyplot as plt from pythermogis.workflow.utc.configuration import UTCConfiguration from pythermogis.workflow.utc.utc import run_utc_workflow def test_rosl_roslu(): """ Integration test that runs the whole ROSL_ROSLU aquifer. The input is identical to the java 2.5.3 input. The output is compared to the java output. """ config = UTCConfiguration( input_data_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/input", results_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/output", aquifers=["ROSL_ROSLU"], segment_length=1, p_values=[95] # For now only calculating this value, because it is way faster than 50 ) result = run_utc_workflow(config) result.ROSL_ROSLU.utc_p95.plot() # should match p value in config plt.show() print(result) No newline at end of file # import matplotlib.pyplot as plt # # from pythermogis.workflow.utc.configuration import UTCConfiguration # from pythermogis.workflow.utc.utc import run_utc_workflow # # def test_rosl_roslu(): # """ # Integration test that runs the whole ROSL_ROSLU aquifer. # The input is identical to the java 2.5.3 input. # The output is compared to the java output. # """ # config = UTCConfiguration( # input_data_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/input", # results_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/output", # aquifers=["ROSL_ROSLU"], # segment_length=1, # p_values=[50] # For now only calculating this value, because it is way faster than 50 # ) # result = run_utc_workflow(config) # # result.ROSL_ROSLU.utc_p50.plot() # should match p value in config # plt.show() # # print(result) No newline at end of file