TNO Intern

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

Adding a pythermogis import code

parent 60006ccf
Loading
Loading
Loading
Loading
+1 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ print(results)

```python
from pythermogis import calculate_doublet_performance
from pygridsio.pygridsio import read_grid
from pygridsio import read_grid

input_grids = read_grid("thickness.zmap").to_dataset(name="thickness_mean")
input_grids["thickness_sd"] = read_grid("thickness_sd.zmap")
+2 −2
Changes for pixi.lock: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2293,8 +2293,8 @@ packages:
  timestamp: 1740946648058
- pypi: .
  name: pythermogis
  version: 0.1.20
  sha256: afb41c10120ce181c11b3a1d7052d27b84ac4b0981b6a7e02ddb07549f3dedfb
  version: 0.1.21
  sha256: b3b4bdeede309515768387fdbd6f78b75bdf38738988058c0bcdf91fca1214a0
  requires_dist:
  - jpype1>=1.5.2,<2
  - xarray==2024.9.0.*
+1 −1
Changes for pyproject.toml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pythermoGIS"
version = "0.1.20"
version = "0.1.21"
description = "This repository is used as a python API for the ThermoGIS Doublet simulations"
authors = [
    { name = "Hen Brett", email = "hen.brett@tno.nl" },
+588 B (87.6 KiB)
Loading image diff...
+1 −5
Changes for tests/test_doublet.py: 1 added line, 5 removed lines.
Original line number Diff line number Diff line
import numpy as np
import shutil
import xarray as xr
from os import path
from pathlib import Path
from pygridsio import read_grid
from unittest import TestCase

from pygridsio import read_grid
from pythermogis import *