Browse Source

Merge pull request 'Fix FITS-IDI mount type codes' (#2) from kettenis/jive-toolchain-verify:mntsta into master

Reviewed-on: https://code.jive.eu/verkout/jive-toolchain-verify/pulls/2
master
Harro Verkouter 4 months ago
parent
commit
a21efada2a
  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