diff --git a/kerchunk/combine.py b/kerchunk/combine.py index bbe0644c..f58c053f 100644 --- a/kerchunk/combine.py +++ b/kerchunk/combine.py @@ -212,7 +212,11 @@ def append( ) mzz.coos = {} for var, selector in mzz.coo_map.items(): - if selector.startswith("cf:") and "M" not in mzz.coo_dtypes.get(var, ""): + if ( + isinstance(selector, str) + and selector.startswith("cf:") + and "M" not in mzz.coo_dtypes.get(var, "") + ): import cftime import datetime