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

Commit

Permalink
Fixed another stupid typo. I need lunch.
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 6, 2022
1 parent 0fdf197 commit d64e121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/swiftest/swiftest/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ def swifter2xr(param, verbose=True):
if verbose: print(f"Successfully converted {ds.sizes['time']} output frames.")
return ds

def process_netcdf_intput(ds, param):
def process_netcdf_input(ds, param):
"""
Performs several tasks to convert raw NetCDF files output by the Fortran program into a form that
is used by the Python side. These include:
Expand Down Expand Up @@ -847,7 +847,7 @@ def swiftest2xr(param, verbose=True):
if ((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 = process_netcdf_intput(ds, param)
ds = process_netcdf_input(ds, param)
else:
print(f"Error encountered. OUT_TYPE {param['OUT_TYPE']} not recognized.")
return None
Expand Down

0 comments on commit d64e121

Please sign in to comment.