Clément HAËCK

Results 7 comments of Clément HAËCK

I adapted the code for the interface proposed in the [issue](https://github.com/xarray-contrib/cf-xarray/issues/199#issuecomment-1198723719). The `flags` property returns a Dataset containing all boolean masks. For instance this allows: ``` da.cf.flags.low_battery & ~da.cf.flags.maintenance_mode ```...

Hi! I needed to extract flags masks recently and delved into it a bit. I never used cf-xarray but I am up for working on adding support for `flag_masks`. I...

> > extract flags masks > > What does this mean? You need a time series of booleans for each bit in the mask? The flag variable codes for as...

For example 3.5 it should return a boolean array with dimensions `(time, depth, lat, lon)`, as for `byte sensor_status_qc(time, depth, lat, lon)`.

I'll start working on that then. I still have to see how to make it work with example 3.6 which combines `flag_masks` and `flag_values`...

Thank you @DocOtak, this is well explained, and I also like the proposed interface. I can look into implementing it. One thing though, the interface implemented so far had inequalities...

Thanks for the review, there are plenty of things to improve that's for sure. I am finishing writing my phd manuscript for the coming month so I am not super...