TNO Intern

Commit ff720aa9 authored by Hen Brett's avatar Hen Brett 🐔
Browse files

Improving the testing and allowing the benchmarks to be calculated with the pythermogis way

parent 805d0eac
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@ def calculate_doublet_performance(input_data: xr.Dataset,
                                  utc_properties = None,
                                  rng_seed = None,
                                  p_values: List[float] = [50.0],
                                  injection_temp = None
                                  ) -> xr.Dataset:
    """
    Perform a ThermoGIS Doublet performance simulation. This will occur across all dimensions of the input_data (ie. input data can have a single value for each required variable, or it can be 1Dimensional or a 2Dimensional grid)
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ from pythermogis import *

class ThermoGISDoubletBenchmark(TestCase):
    """
    This is a series of tests which produce the same results as tests found in the Java code, but using the pythermogis xarray style implementation
    This is a series of tests which produce the same results found in the Java code and in test_ThermoGISDoublet_Benchmark, but using the ntended pythermogis implementation
    """

    def test_calculateDoubletPerformanceTest(self):