comet-toolkit / obsarray

Measurement uncertainty handling in Python
GNU Lesser General Public License v3.0
7 stars 1 forks source link

easy access to DatasetUtil.get_set_flags() #8

Open pdevis opened 1 year ago

pdevis commented 1 year ago

I think getting access to what flags are currently set is very useful. This is currently possible with:

from obsarray.templater.dataset_util import DatasetUtil print([DatasetUtil.get_set_flags(flag) for flag in data["quality_flag"]])

However I think this functionality is so useful that it would be great if it would be more easily accessible. Maybe we can write a little wrapper around it?