Reading in Sentinel-3 quality flags netcdf with rioxarray, stores the flag_masks attribute as a np.ndarray which throws up an error when trying to set the flag masks in unpack_flag_attrs in obsarray\templater\dataset_util.py:
flag_mask = attrs["flag_masks"].split(",") if "flag_masks" in attrs else []
flag_mask = [int(m) for m in flag_mask] if flag_mask != [""] else []
AttributeError: 'numpy.ndarray' object has no attribute 'split'
Reading in Sentinel-3 quality flags netcdf with rioxarray, stores the flag_masks attribute as a np.ndarray which throws up an error when trying to set the flag masks in
unpack_flag_attrs
inobsarray\templater\dataset_util.py
:AttributeError: 'numpy.ndarray' object has no attribute 'split'