Browse Source

Fix FITS-IDI mount type codes

pull/2/head
Mark Kettenis 5 months ago
parent
commit
9e45662ce0
  1. 2
      compare-ms-idi-meta.py

2
compare-ms-idi-meta.py

@ -322,7 +322,7 @@ anname_key = compose(str.upper, str)
anname_key_l = compose(list, Map(anname_key))
# From AIPSMEM114r, integer codes matched to MeasurementSet strings
idi_mntsta_ = { 1:"ALT-AZ", 2:"EQUATORIAL", 2:"ORBITING", 3:"X-Y", 4:"ALT-AZ-NASMYTH-RH", 5:"ALT-AZ-NASMYTH-LH" }
idi_mntsta_ = { 0:"ALT-AZ", 1:"EQUATORIAL", 2:"ORBITING", 3:"X-Y", 4:"ALT-AZ-NASMYTH-RH", 5:"ALT-AZ-NASMYTH-LH" }
idi_mntsta = lambda mntsta: idi_mntsta_.get(mntsta, "UnknownMNTSTA#{0}".format(mntsta))
# in FITS-IDI antenna info is spread over two tables: ANTENNA and ARRAY_GEOMETRY

Loading…
Cancel
Save