We currently write the "wcs" dataset (output by meas_mosaic and jointcal) as a tiny Exposure, which means it needs to be loaded with something like the following:
instead of just
I'd like to change this, by writing these datasets instead using FitsCatalogStorage. This will save them as FITS binary tables, with no standard FITS WCS representation in the headers. Given that there's no actual imaged in these files, I don't think that's a concern, and it could also serve as a workaround (or at least a significant mitigation) for
This change would break code that reads the files in their current form (implementing this RFC would involve fixing any such code in the stack), and after being updated, that code would not be able to read WCSs written before this change. To address that, I'm planning to add a new dataset with the same template as the old one and a new name, and have any code that utilizes these datasets fall back to that backwards-compatibility dataset when "wcs" cannot be found.