casangi / xradio

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

xds returned by create empty image methods have longpole, latpole, and pc incorrect #108

Closed dmehring closed 7 months ago

dmehring commented 7 months ago

Mystery perhaps solved. It is true that in the xds, longpole and latpole are quantities. However, the image_factory xds creation methods were writing these as floats. In addition, the xds.attrs["direction"]["pc"] quantity should be a numpy array, but the image factory xds creation methods were writing this as a python list.