ovro-lwa / distributed-pipeline

A distributed data processing experiment for the OVRO-LWA
https://distributed-pipeline.readthedocs.io/en/latest/
GNU General Public License v3.0
2 stars 0 forks source link

unit test for calibrate/polcal? #43

Open yupinghuang opened 3 years ago

yupinghuang commented 3 years ago

A recent CASA6 upgrade broke polcal; from CASA release notes:

Several poltype modes ('D', 'D+QU', 'Df', 'Df+QU'), have been inadvertedly disabled in the polcal task.

It might help to have unit tests for calibrate just to make sure that its dependencies are sane when I upgrade the dependencies.

To start, I zipped up the tests data on tauceti (see https://github.com/ovro-lwa/distributed-pipeline/blob/main/.travis.yml#L26), and the zip file includes a single subband measurement set. Can there be a unit test that calls calibrate with pol on the measurement set (and the check would be that it doesn't throw an exception).