e-merlin / eMERLIN_CASA_pipeline

This is CASA eMERLIN pipeline to calibrate data from the e-MERLIN array. Please fork the repository before making any changes and read the Coding Practices page in the wiki. Please add issues with the pipeline in the issues tab.
GNU General Public License v3.0
14 stars 11 forks source link

flagdata(mode='tfcrop') flags all data when most of the scan is already flagged #65

Closed jmoldon closed 6 years ago

jmoldon commented 6 years ago

This happened with C band data. The 1-hr scan of 1331+305 only contains about 10 minutes of good data. The bad part of the data was previously flagged, and the remaining 10 minutes looked OK.

flagdata, running in mode 'tfcrop', flagged the good 10 minutes of all baselines. I tried changing the parameters but the field was completely flagged every time.

I solved this by running flagdata(mode='tfcrop') on 1331+305 manually setting a timerange that includes only the good data.