Skip to content

Commit

Permalink
Added engine parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
HiddeElzinga committed Nov 15, 2024
1 parent aa0ccab commit 5ca7897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests_acceptance/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def test_process_input(input_filename):
filenames_list = list(reference_files_path.glob(outputname))
assert len(filenames_list) > 0, f"No output files generated for {input_filename}"
for filename in filenames_list:
generated_nc = _xr.open_dataset(output_filename.parent / filename.name)
reference_nc = _xr.open_dataset(filename)
generated_nc = _xr.open_dataset(output_filename.parent / filename.name, engine="h5netcdf")
reference_nc = _xr.open_dataset(filename, engine="h5netcdf")

# Compare the datasets if they have matching variables and coordinates
assert generated_nc.equals(
Expand Down

0 comments on commit 5ca7897

Please sign in to comment.