CCOFITS now checks error values for NAN and < 0 and flags the data points as bad. This probably will cause some issues with T3 values where the amplitude is not calibrated, but we don't have any option in the OIFITS format to flag only the amplitude as bad.