From 80d649d6d447fc20d62c9b185bc5c569e9a55962 Mon Sep 17 00:00:00 2001 From: "Leaf, Andrew T" Date: Fri, 8 Mar 2024 11:43:51 -0600 Subject: [PATCH] refactor(ic.py): default to 'linear' resampling method for initial conditions --- mfsetup/ic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mfsetup/ic.py b/mfsetup/ic.py index 4a709319..f9336178 100644 --- a/mfsetup/ic.py +++ b/mfsetup/ic.py @@ -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,