- Timestamp:
- 03/14/11 21:04:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MSWriter.cpp
r2027 r2040 1677 1677 // os_ << "start MSWriter::queryType() startSec=" << startSec << LogIO::POST ; 1678 1678 1679 // 2011/03/14 TN 1680 // OBS_MODE string of MS created by importasdm task is slightly 1681 // (but critically) changed. 1679 1682 switch ( type ) { 1680 1683 case SrcType::PSON: 1681 stype = " POSITION_SWITCH.OBSERVE_TARGET.ON_SOURCE" ;1684 stype = "OBSERVE_TARGET_ON_SOURCE,POSITION_SWITCH" ; 1682 1685 b = True ; 1683 1686 t = 0.0 ; … … 1685 1688 break ; 1686 1689 case SrcType::PSOFF: 1687 stype = " POSITION_SWITCH.OBSERVE_TARGET.OFF_SOURCE" ;1690 stype = "OBSERVE_TARGET_OFF_SOURCE,POSITION_SWITCH" ; 1688 1691 b = False ; 1689 1692 t = 0.0 ; … … 1691 1694 break ; 1692 1695 case SrcType::NOD: 1693 stype = " NOD.OBSERVE_TARGET.ON_SOURCE" ;1696 stype = "OBSERVE_TARGET_ON_SOURCE,NOD" ; 1694 1697 b = True ; 1695 1698 t = 0.0 ; … … 1697 1700 break ; 1698 1701 case SrcType::FSON: 1699 stype = " FREQUENCY_SWITCH.OBSERVE_TARGET.ON_SOURCE" ;1702 stype = "OBSERVE_TARGET_ON_SOURCE,FREQUENCY_SWITCH_SIG" ; 1700 1703 b = True ; 1701 1704 t = 0.0 ; … … 1703 1706 break ; 1704 1707 case SrcType::FSOFF: 1705 stype = " FREQUENCY_SWITCH.OBSERVE_TARGET.ON_SOURCE" ;1708 stype = "OBSERVE_TARGET_ON_SOURCE,FREQUENCY_SWITCH_REF" ; 1706 1709 b = False ; 1707 1710 t = 0.0 ; … … 1709 1712 break ; 1710 1713 case SrcType::SKY: 1711 stype = " UNSPECIFIED.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1714 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,UNSPECIFIED" ; 1712 1715 b = False ; 1713 1716 t = 0.0 ; … … 1715 1718 break ; 1716 1719 case SrcType::HOT: 1717 stype = " UNSPECIFIED.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1720 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,UNSPECIFIED" ; 1718 1721 b = False ; 1719 1722 t = 0.0 ; … … 1721 1724 break ; 1722 1725 case SrcType::WARM: 1723 stype = " UNSPECIFIED.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1726 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,UNSPECIFIED" ; 1724 1727 t = 0.0 ; 1725 1728 b = False ; … … 1727 1730 break ; 1728 1731 case SrcType::COLD: 1729 stype = " UNSPECIFIED.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1732 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,UNSPECIFIED" ; 1730 1733 b = False ; 1731 1734 t = 0.0 ; … … 1733 1736 break ; 1734 1737 case SrcType::PONCAL: 1735 stype = " POSITION_SWITCH.CALIBRATE_TEMPERATURE.ON_SOURCE" ;1738 stype = "CALIBRATE_TEMPERATURE_ON_SOURCE,POSITION_SWITCH" ; 1736 1739 b = True ; 1737 1740 t = 1.0 ; … … 1739 1742 break ; 1740 1743 case SrcType::POFFCAL: 1741 stype = " POSITION_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1744 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,POSITION_SWITCH" ; 1742 1745 b = False ; 1743 1746 t = 1.0 ; … … 1745 1748 break ; 1746 1749 case SrcType::NODCAL: 1747 stype = " NOD.CALIBRATE_TEMPERATURE.ON_SOURCE" ;1750 stype = "CALIBRATE_TEMPERATURE_ON_SOURCE,NOD" ; 1748 1751 b = True ; 1749 1752 t = 1.0 ; … … 1751 1754 break ; 1752 1755 case SrcType::FONCAL: 1753 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.ON_SOURCE" ;1756 stype = "CALIBRATE_TEMPERATURE_ON_SOURCE,FREQUENCY_SWITCH_SIG" ; 1754 1757 b = True ; 1755 1758 t = 1.0 ; … … 1757 1760 break ; 1758 1761 case SrcType::FOFFCAL: 1759 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1762 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,FREQUENCY_SWITCH_REF" ; 1760 1763 b = False ; 1761 1764 t = 1.0 ; … … 1763 1766 break ; 1764 1767 case SrcType::FSLO: 1765 stype = " FREQUENCY_SWITCH.OBSERVE_TARGET.ON_SOURCE" ;1768 stype = "OBSERVE_TARGET_ON_SOURCE,FREQUENCY_SWITCH_LOWER" ; 1766 1769 b = True ; 1767 1770 t = 0.0 ; … … 1769 1772 break ; 1770 1773 case SrcType::FLOOFF: 1771 stype = " FREQUENCY_SWITCH.OBSERVE_TARGET.OFF_SOURCE" ;1774 stype = "OBSERVE_TARGET_OFF_SOURCE,FREQUENCY_SWITCH_LOWER" ; 1772 1775 b = False ; 1773 1776 t = 0.0 ; … … 1775 1778 break ; 1776 1779 case SrcType::FLOSKY: 1777 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1780 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,FREQUENCY_SWITCH_LOWER" ; 1778 1781 b = False ; 1779 1782 t = 0.0 ; … … 1781 1784 break ; 1782 1785 case SrcType::FLOHOT: 1783 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1786 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,FREQUENCY_SWITCH_LOWER" ; 1784 1787 b = False ; 1785 1788 t = 0.0 ; … … 1787 1790 break ; 1788 1791 case SrcType::FLOWARM: 1789 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1792 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,FREQUENCY_SWITCH_LOWER" ; 1790 1793 b = False ; 1791 1794 t = 0.0 ; … … 1793 1796 break ; 1794 1797 case SrcType::FLOCOLD: 1795 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1798 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,FREQUENCY_SWITCH_LOWER" ; 1796 1799 b = False ; 1797 1800 t = 0.0 ; … … 1799 1802 break ; 1800 1803 case SrcType::FSHI: 1801 stype = " FREQUENCY_SWITCH.OBSERVE_TARGET.ON_SOURCE" ;1804 stype = "OBSERVE_TARGET_ON_SOURCE,FREQUENCY_SWITCH_HIGHER" ; 1802 1805 b = True ; 1803 1806 t = 0.0 ; … … 1805 1808 break ; 1806 1809 case SrcType::FHIOFF: 1807 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1810 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,FREQUENCY_SWITCH_HIGHER" ; 1808 1811 b = False ; 1809 1812 t = 0.0 ; … … 1811 1814 break ; 1812 1815 case SrcType::FHISKY: 1813 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1816 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,FREQUENCY_SWITCH_HIGHER" ; 1814 1817 b = False ; 1815 1818 t = 0.0 ; … … 1817 1820 break ; 1818 1821 case SrcType::FHIHOT: 1819 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1822 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,FREQUENCY_SWITCH_HIGHER" ; 1820 1823 b = False ; 1821 1824 t = 0.0 ; … … 1823 1826 break ; 1824 1827 case SrcType::FHIWARM: 1825 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1828 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,FREQUENCY_SWITCH_HIGHER" ; 1826 1829 b = False ; 1827 1830 t = 0.0 ; … … 1829 1832 break ; 1830 1833 case SrcType::FHICOLD: 1831 stype = " FREQUENCY_SWITCH.CALIBRATE_TEMPERATURE.OFF_SOURCE" ;1834 stype = "CALIBRATE_TEMPERATURE_OFF_SOURCE,FREQUENCY_SWITCH_HIGHER" ; 1832 1835 b = False ; 1833 1836 t = 0.0 ; … … 1835 1838 break ; 1836 1839 case SrcType::SIG: 1837 stype = " UNSPECIFIED.OBSERVE_TARGET.ON_SOURCE" ;1840 stype = "OBSERVE_TARGET_ON_SOURCE,UNSPECIFIED" ; 1838 1841 b = True ; 1839 1842 t = 0.0 ; … … 1841 1844 break ; 1842 1845 case SrcType::REF: 1843 stype = " UNSPECIFIED.OBSERVE_TARGET.ON_SOURCE" ;1846 stype = "OBSERVE_TARGET_ON_SOURCE,UNSPECIFIED" ; 1844 1847 b = False ; 1845 1848 t = 0.0 ;
Note:
See TracChangeset
for help on using the changeset viewer.