TNO Intern

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

pixi shenanigans

parent b294fb8f
Loading
Loading
Loading
Loading

pixi.lock

deleted100644 → 0
+0 −1875

File deleted.

Preview size limit exceeded, changes collapsed.

+5 −1
Original line number Diff line number Diff line
@@ -11,7 +11,11 @@ version = "0.1.0"
[dependencies]
python = ">=3.13.2,<3.14"
jpype1 = ">=1.5.2,<2"
matplotlib = ">=3.10.1,<4"
xarray = "2024.9.0.*"
pandas = ">=2.2.3,<3"
pytz = ">=2024.1,<2025"

[pypi-dependencies]
pygridsio = ">=0.3.11, <0.4"

+4 −5
Original line number Diff line number Diff line
@@ -3,10 +3,10 @@ from os import path
from pathlib import Path
from unittest import TestCase


import numpy as np
import xarray as xr
from jpype.types import *
from matplotlib import pyplot as plt
from pygridsio.pygridsio import read_grid

from src.thermogis_classes.doublet import calculate_performance_across_dimensions
@@ -122,8 +122,7 @@ class PyThermoGIS(TestCase):

        # Act
        # Run calculation across all dimensions of input_grids, and all provided P_values
        output_data = calculate_performance_across_dimensions(input_data, p_values=[10, 20, 30, 40, 50, 60, 70, 80, 90])
        # output_data = calculate_performance_across_dimensions(input_data, p_values=[10, 20, 30, 40, 50, 60, 70, 80, 90])

        # Plot some output
        output_data["utc"].plot(x="p_value")
        plt.savefig(self.test_files_out_path / "plotting")
        # Assert: asserting that it actually ran
        self.assertTrue(True)