Skip to content

Commit f58979d

Browse files
committed
Fix bug tests
1 parent 12d50f8 commit f58979d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

tests/ref_data/utils/costg_potential_partial_derivate_longitude.nc renamed to tests/ref_data/utils/costg_potential_partial_derivative_longitude.nc

File renamed without changes.

tests/utils/test_gravity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def test_sh_to_deflection_of_vertical(lenapy_paths):
256256
If the subsampled grid does not match the reference grid exactly.
257257
"""
258258
ref_grid_file = lenapy_paths.ref_data / "utils" / "costg_deflection_of_vertical.nc"
259-
grid_ref = xr.open_dataarray(ref_grid_file)
259+
grid_ref = xr.open_dataset(ref_grid_file)
260260

261261
costg_ds = xr.open_dataset(lenapy_paths.data / "COSTG_n12_2002_2022.nc")
262262
grid = costg_ds.lnharmo.to_deflection_of_vertical()

0 commit comments

Comments
 (0)