From af1f2a34afa5999e4d70ccce1cc1170940fafa68 Mon Sep 17 00:00:00 2001 From: Scott Staniewicz Date: Mon, 12 Aug 2024 14:29:33 -0400 Subject: [PATCH] set the default `input_conventions` to be same as `output_conventions` (#389) --- src/dolphin/masking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphin/masking.py b/src/dolphin/masking.py index 69f0253c..1a7e58b2 100644 --- a/src/dolphin/masking.py +++ b/src/dolphin/masking.py @@ -89,7 +89,7 @@ def combine_mask_files( raise ValueError(msg) if input_conventions is None: - input_conventions = [MaskConvention.NUMPY] * len(mask_files) + input_conventions = [MaskConvention.ZERO_IS_NODATA] * len(mask_files) elif isinstance(input_conventions, MaskConvention): input_conventions = [input_conventions] * len(mask_files)