get_mask_from_flags

HIRS2.get_mask_from_flags(header, lines, max_flagged=0.5)

Set mask in lines, based on header and lines info

Given header and lines such as returned by self.read, determine flags and set them on lines as appropriate. Returns lines as a masked array.