Closed AntoniaR closed 4 years ago
From looking at the code and my temporary fix script, I think the problem is that the header fields should be in capitals and not lower case. For instance, in the following line it should be "CTYPE3" instead of "ctype3". https://github.com/transientskp/tkp/blob/2aab1d021d10e3d1f3c4c8a836aea96ac6ae413f/tkp/accessors/fitsimage.py#L136 Also, the LOFAR and AARTFAAC images are now typically being made by WSClean so the frequency will also be specified using CTYPE, etc... So I will update the logic for this.
I have just tested my fix with a MeerKAT image that had not had it's headers updated yet and the frequency information was correctly obtained from the header
Currently the WSClean images are not being parsed correctly by TraP as the observing frequency is not found in the fits header.