Skip to content

Commit 9d0efa0

Browse files
Fix tests suite
1 parent 6ad4047 commit 9d0efa0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/pyMoist/tests/savepoint/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919
from .saturation_tables.translate_qsat_functions import Translateqsat_functions
2020
from .saturation_tables.translate_saturation_tables import Translatesaturation_tables
2121
from .translate_aer_activation import TranslateAerActivation
22+
from .translate_compute_uwshcu import TranslateComputeUwshcuInv

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/pyMoist/tests/savepoint/saturation_tables/translate_saturation_tables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from ndsl.stencils.testing.grid import Grid
55
from ndsl.stencils.testing.translate import TranslateFortranData2Py
66
from pyMoist.saturation_tables.formulation import SaturationFormulation
7-
from pyMoist.saturation_tables.tables.main import get_table
7+
from pyMoist.saturation_tables.tables.main import get_saturation_vapor_pressure_table
88

99

1010
class Translatesaturation_tables(TranslateFortranData2Py):
@@ -26,7 +26,7 @@ def __init__(self, grid: Grid, namelist: Namelist, stencil_factory: StencilFacto
2626

2727
def compute(self, inputs):
2828
formulation = SaturationFormulation.Staars
29-
tables = get_table(self.stencil_factory.backend, formulation)
29+
tables = get_saturation_vapor_pressure_table(self.stencil_factory.backend, formulation)
3030
inputs.update(
3131
{
3232
"ESTBLE": tables.ese,

0 commit comments

Comments
 (0)