casangi / xradio

Xarray Radio Astronomy Data IO
Other
9 stars 5 forks source link

Fix writing of CASA images #120

Closed dmehring closed 6 months ago

dmehring commented 6 months ago

It appears that CASA images are being written with double precision pixels because I am setting the values parameter, which I came to assume was being ignored. If I remove setting this parameter at all and take the default, images with single precision pixels are written. There was a unit test that should have caught this, but was unfortunately written incorrectly so that will be fixed as well.