diff --git a/src/pymorize/fesom_1p4/nodes_to_levels.py b/src/pymorize/fesom_1p4/nodes_to_levels.py index 308ebbdd..1f55e688 100644 --- a/src/pymorize/fesom_1p4/nodes_to_levels.py +++ b/src/pymorize/fesom_1p4/nodes_to_levels.py @@ -144,6 +144,7 @@ def interpolate_dataset(ds_in, variable, mesh, indices): return interpolate_dataarray(da_in, mesh, indices) +# FIXME(PG): This should be... a method of the mesh object?? def indicies_from_mesh(mesh): # Precompute depth indices indices = { diff --git a/tests/unit/test_fesom_1p4_nodes_to_levels.py b/tests/unit/test_fesom_1p4_nodes_to_levels.py index a6451fe1..b35973a0 100644 --- a/tests/unit/test_fesom_1p4_nodes_to_levels.py +++ b/tests/unit/test_fesom_1p4_nodes_to_levels.py @@ -11,7 +11,7 @@ def test_nodes_to_levels_with_awicm_1p0_recom_data(awicm_1p0_recom_data): mesh = load_mesh_data.load_mesh( f"{awicm_1p0_recom_data}/awi-esm-1-1-lr_kh800/piControl/input/fesom/mesh/" ) - indices = nodes_to_levels.indicies_for_mesh(mesh) + indices = nodes_to_levels.indicies_from_mesh(mesh) ds_out = nodes_to_levels.interpolate_dataarray(ds, mesh, indices) # NOTE(PG): For now, just check if the output object is created # FIXME(PG): Correctness check...