Skip to content

Commit

Permalink
refactor(ic.py): default to 'linear' resampling method for initial co…
Browse files Browse the repository at this point in the history
…nditions
  • Loading branch information
aleaf committed Mar 8, 2024
1 parent c67df40 commit 63ba038
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mfsetup/ic.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def setup_strt(model, package, strt=None, source_data_config=None,
# data read from binary file with parent model head solution
elif binary_file:
kwargs = get_input_arguments(kwargs, MFBinaryArraySourceData)
if 'resample_method' not in kwargs:
kwargs['resample_method'] = 'linear'
sd = MFBinaryArraySourceData(variable='strt', filename=binary_file,
datatype=datatype,
dest_model=model,
Expand Down

0 comments on commit 63ba038

Please sign in to comment.