From 777d6cf40deb496a3b0fd21a6421d21b0453d28a Mon Sep 17 00:00:00 2001 From: Michael Levy Date: Fri, 1 Mar 2024 16:56:31 -0700 Subject: [PATCH] Update netcdf_metadata_check.py netcdf_metadata_check creates a MARBL_settings_class object. I had added new arguments to the constructor, so I now provide argument names. --- MARBL_tools/netcdf_metadata_check.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MARBL_tools/netcdf_metadata_check.py b/MARBL_tools/netcdf_metadata_check.py index 8bbdd5ce..925a8fce 100755 --- a/MARBL_tools/netcdf_metadata_check.py +++ b/MARBL_tools/netcdf_metadata_check.py @@ -110,9 +110,9 @@ def _parse_args(): ds = xr.open_dataset(args.netcdf_file) DefaultSettings = MARBL_settings_class(args.default_settings_file, "settings_file", - None, - args.settings_file_in, - args.unit_system + grid=None, + input_file=args.settings_file_in, + unit_system=args.unit_system ) MARBL_diagnostics = MARBL_diagnostics_class(args.default_diagnostics_file, DefaultSettings,