Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Changed engine in open_dataset call to h5netcdf
  • Loading branch information
daminton committed Sep 22, 2022
1 parent 1e30eaf commit 9f4c5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/swiftest/swiftest/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ def swiftest2xr(param, verbose=True):

elif ((param['OUT_TYPE'] == 'NETCDF_DOUBLE') or (param['OUT_TYPE'] == 'NETCDF_FLOAT')):
if verbose: print('\nCreating Dataset from NetCDF file')
ds = xr.open_dataset(param['BIN_OUT'], mask_and_scale=False)
ds = xr.open_dataset(param['BIN_OUT'], mask_and_scale=False, engine='h5netcdf')
ds = clean_string_values(ds)
else:
print(f"Error encountered. OUT_TYPE {param['OUT_TYPE']} not recognized.")
Expand Down

0 comments on commit 9f4c5f3

Please sign in to comment.