<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0"><?xmltex \makeatother\@nolinetrue\makeatletter?>
  <front>
    <journal-meta><journal-id journal-id-type="publisher">AMT</journal-id><journal-title-group>
    <journal-title>Atmospheric Measurement Techniques</journal-title>
    <abbrev-journal-title abbrev-type="publisher">AMT</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Atmos. Meas. Tech.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1867-8548</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/amt-14-1715-2021</article-id><title-group><article-title>A Compact Rayleigh Autonomous Lidar (CORAL) for <?xmltex \hack{\break}?> the middle atmosphere</article-title><alt-title>Compact Rayleigh Autonomous Lidar</alt-title>
      </title-group><?xmltex \runningtitle{Compact Rayleigh Autonomous Lidar}?><?xmltex \runningauthor{B. Kaifler and N. Kaifler}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <name><surname>Kaifler</surname><given-names>Bernd</given-names></name>
          <email>bernd.kaifler@dlr.de</email>
        <ext-link>https://orcid.org/0000-0002-5891-242X</ext-link></contrib>
        <contrib contrib-type="author" corresp="no">
          <name><surname>Kaifler</surname><given-names>Natalie</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-3118-6480</ext-link></contrib>
        <aff id="aff1"><institution>Deutsches Zentrum für Luft- und Raumfahrt, Institut für Physik der Atmosphäre, Oberpfaffenhofen, Germany</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Bernd Kaifler (bernd.kaifler@dlr.de)</corresp></author-notes><pub-date><day>2</day><month>March</month><year>2021</year></pub-date>
      
      <volume>14</volume>
      <issue>2</issue>
      <fpage>1715</fpage><lpage>1732</lpage>
      <history>
        <date date-type="received"><day>21</day><month>October</month><year>2020</year></date>
           <date date-type="rev-request"><day>26</day><month>October</month><year>2020</year></date>
           <date date-type="rev-recd"><day>14</day><month>January</month><year>2021</year></date>
           <date date-type="accepted"><day>18</day><month>January</month><year>2021</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2021 Bernd Kaifler</copyright-statement>
        <copyright-year>2021</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021.html">This article is available from https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021.html</self-uri><self-uri xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021.pdf">The full text article is available as a PDF file from https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021.pdf</self-uri>
      <abstract><title>Abstract</title>
    <p id="d1e88">The Compact Rayleigh Autonomous Lidar (CORAL) is the first fully autonomous middle atmosphere lidar system to provide density and temperature profiles from 15 to approximately 90 <inline-formula><mml:math id="M1" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude. From October 2019 to October 2020, CORAL acquired temperature profiles on 243 out of the 365 nights (66 %) above Río Grande, southern Argentina, a cadence which is 3–8 times larger as compared to conventional human-operated lidars. The result is an unprecedented data set with measurements on 2 out of 3 nights on average and high temporal (20 <inline-formula><mml:math id="M2" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula>) and vertical (900 <inline-formula><mml:math id="M3" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>) resolution. The first studies using CORAL data have shown, for example, the evolution of a strong atmospheric gravity wave event and its impact on the stratospheric circulation. We describe the instrument and its novel software which enables automatic and unattended observations over periods of more than a year. A frequency-doubled diode-pumped pulsed Nd:YAG laser is used as the light source, and backscattered photons are detected using three elastic channels (532 <inline-formula><mml:math id="M4" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength) and one Raman channel (608 <inline-formula><mml:math id="M5" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength). Automatic tracking of the laser beam is realized by the implementation of the conical scan (conscan) method. The CORAL software detects blue sky conditions and makes the decision to start the instrument based on local meteorological measurements, detection of stars in all-sky images, and analysis of European Center for Medium-range Weather Forecasts Integrated Forecasting System data. After the instrument is up and running, the strength of the lidar return signal is used as additional information to assess sky conditions. Safety features in the software allow for the operation of the lidar even in marginal weather, which is a prerequisite to achieving the very high observation cadence.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e140">For several decades, light detection and ranging (LiDAR; also spelled lidar) has been used to profile the atmosphere and retrieve information on aerosols, trace gases, and atmospheric density, temperature, and wind <xref ref-type="bibr" rid="bib1.bibx10" id="paren.1"><named-content content-type="pre">see, e.g.,</named-content></xref>. Following the invention of the laser, first observations of tropospheric clouds were reported in the early 1960s. Soon thereafter more powerful lasers and sensitive detectors led to detection of stratospheric aerosols by lidar <xref ref-type="bibr" rid="bib1.bibx2 bib1.bibx34" id="paren.2"><named-content content-type="pre">e.g.,</named-content></xref>. But it took  until the early 1980s before the lidar technology was developed far enough to enable measurements of atmospheric density and temperature in the mesosphere <xref ref-type="bibr" rid="bib1.bibx14" id="paren.3"/>. In contrast to their tropospheric counterparts, the mesospheric lidars were rather complex experiments requiring a great deal of labor to set up and operate, with some systems filling entire buildings <xref ref-type="bibr" rid="bib1.bibx40" id="paren.4"/>. Hence, these lidars were run only during campaigns, or, e.g., in the case of stations belonging to the Network for the Detection of Atmospheric Composition Change, operation was limited to certain days per week when the weather forecast looked favorable and trained operators were available. The intermittent operation not only limited the amount of data but also made statistical studies that require a dense temporal sampling of the atmosphere, e.g., the investigation of the evolution of atmospheric gravity wave events <xref ref-type="bibr" rid="bib1.bibx21" id="paren.5"><named-content content-type="pre">e.g.,</named-content></xref>, next to impossible. Gravity wave climatologies which do not require a dense sampling were published by, e.g., <xref ref-type="bibr" rid="bib1.bibx41" id="text.6"/>, <xref ref-type="bibr" rid="bib1.bibx35" id="text.7"/>, <xref ref-type="bibr" rid="bib1.bibx31" id="text.8"/>, <xref ref-type="bibr" rid="bib1.bibx23" id="text.9"/>, <xref ref-type="bibr" rid="bib1.bibx28" id="text.10"/>, and <xref ref-type="bibr" rid="bib1.bibx18" id="text.11"/>.</p>
      <?pagebreak page1716?><p id="d1e183">In recent years, a number of autonomous tropospheric lidar systems have been developed to address the shortcomings of the earlier manually operated instruments and increase the data output <xref ref-type="bibr" rid="bib1.bibx13 bib1.bibx32 bib1.bibx37 bib1.bibx7 bib1.bibx38" id="paren.12"/>. But until today, to the knowledge of the authors, no attempts were made to build autonomous middle atmosphere lidars. There may have been several factors contributing to the stalled development. First, lidars capable of sounding the mesosphere require a much higher sensitivity given the exponential decrease in air density with altitude. Consequently, mesospheric lidars use powerful lasers, large aperture receiving telescopes, and highly efficient receivers, which makes some of the solutions generally used in the development of autonomous tropospheric lidars impractical, as, for instance, a window covering the telescope to protect it from the environment. Second, because of the technical challenges and lower interest in the middle atmosphere as compared to the troposphere, there are only a few groups operating middle atmosphere lidar instruments.</p>
      <p id="d1e189">The primary objective of the Compact Rayleigh Autonomous Lidar (CORAL) is the demonstration of a fully autonomous lidar system which can be used for studying atmospheric dynamics in the stratosphere and mesosphere. That the instrument should be capable of fully automatic observations was not seen as a practical feature but rather as pure necessity resulting from the lack of human effort to operate the instrument. For the same reason, the instrument should require only a bare minimum of maintenance work. In other words, the instrument should happily sit by itself, monitor itself, and collect atmospheric measurements whenever weather conditions allow for optical soundings. Human interaction should be limited to approximately weekly downloads of scientific data and yearly maintenance. Moreover, CORAL should be transportable, fully independent of infrastructure expect for electrical power, robust enough to withstand environmental conditions from the tropics to the Arctic and Antarctic, easy to replicate, and in relative terms low cost. In short, we wanted to develop a lidar system which can be set up at some remote location and left there for years collecting atmospheric data, much like ceilometers are used today by the weather services. If such a system was possible, it would surely mark the transition from the conventional, laboratory style and labor-intensive lidar systems commonly in use today and run by lidar experts to a new generation of operational lidar systems which can be run by experts and non-experts alike. There are several benefits expected from such a new generation of lidars.
<list list-type="order"><list-item>
      <p id="d1e194">As the cost of lidar operators contribute significantly to the operating costs of conventional lidars, the use of autonomous systems will bring the cost per operating hour down. Lower costs will enable a more widespread use of lidar systems for atmospheric research and climate monitoring.</p></list-item><list-item>
      <p id="d1e198">Not having to rely on human operators to acquire soundings facilitates the collection of large and continuous data sets, thus offering new possibilities for statistical analysis of the temperature structure on timescales from years to minutes.</p></list-item><list-item>
      <p id="d1e202">A computer in charge of operating the lidar removes any sampling biases caused by the work schedule of human operators, for example less measurements during weekends and holidays.</p></list-item></list>
Given these compelling advantages, it is almost incomprehensible why, in the past, little effort has been undertaken to develop autonomous middle atmosphere lidar systems. One of the reasons is certainly that lidar scientists and engineers are often not well trained in software design and software development. As we will show later, it takes considerable effort and time to develop and test the software required for autonomous lidar operation. In the case of CORAL, the hardware of the instrument is rather unexceptional, and it is indeed the software which contains most of the complexity of the system. Another reason is that operators are required for safety reasons at some sites.</p>
      <p id="d1e206">The purpose of this paper is threefold. First, we want to demonstrate the functionality of an autonomous operated middle atmosphere lidar. Second, given the advances in computer power and software development tools, this paper will demonstrate that the building of an autonomous lidar instrument is not overly complicated. Third, as we will argue in the discussion (Sect. <xref ref-type="sec" rid="Ch1.S5"/>), the large and continuous data sets produced by autonomous instruments facilitate advances in science that are hardly possible with conventional human-operated lidar instruments. Following this agenda, we describe the lidar instrument in Sect. <xref ref-type="sec" rid="Ch1.S2"/>, followed by the description of the software used for autonomous lidar operation in Sect. <xref ref-type="sec" rid="Ch1.S3"/>. In Sect. <xref ref-type="sec" rid="Ch1.S4"/>, we briefly discuss our implementation of the temperature retrieval.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>The lidar instrument</title>
      <p id="d1e225">Development of CORAL started in 2014 as a copy of the German Aerospace Center's first mobile middle atmosphere lidar system, TELMA (Temperature Lidar for Middle Atmosphere Research), which was employed with much success during the deep propagating gravity wave experiment (DEEPWAVE) field campaign in New Zealand <xref ref-type="bibr" rid="bib1.bibx9 bib1.bibx17 bib1.bibx5 bib1.bibx39 bib1.bibx8" id="paren.13"/>. CORAL measures atmospheric density in the altitude range 15–95 <inline-formula><mml:math id="M6" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> and thus covers most of the stratosphere and mesosphere. The system uses a pulsed laser at 532 <inline-formula><mml:math id="M7" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength as light source and a receiver equipped with several channels for detecting both elastic scattering and inelastic scattering at 608 <inline-formula><mml:math id="M8" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength. Atmospheric temperature is retrieved by hydrostatic integration of the measured density profiles <xref ref-type="bibr" rid="bib1.bibx14" id="paren.14"/>.</p>
      <p id="d1e258">The lidar instrument is integrated into an 8 foot (2.4 m) steel container (see Fig. <xref ref-type="fig" rid="Ch1.F1"/>) which serves both as transport container and enclosure during lidar operation. The container<?pagebreak page1717?> is divided into two compartments: an air-conditioned room accommodates the transmitter, receiver, and data acquisition systems, while the telescope is located in a separate room with a large hatch in the roof for direct access to the sky. The technical specifications of the lidar instrument are summarized in Table <xref ref-type="table" rid="Ch1.T1"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><?xmltex \currentcnt{1}?><?xmltex \def\figurename{Figure}?><label>Figure 1</label><caption><p id="d1e267"><bold>(a)</bold> A picture of the CORAL instrument container taken during lidar measurements at the Sodankylä Geophysical Observatory, Finland, in September 2015. <bold>(b)</bold> A view into the container through the open front door showing the lidar rack with the receiver (1), data acquisition computer (2), lidar electronics (3), telescope electronics (4), laser head (5), laser power supply (6), laser cooler (7), and an Advanced Mesospheric Temperature Mapper (AMTM) as a guest instrument (8). <bold>(c)</bold> The telescope in the back of the container. Pictures by N. Kaifler.</p></caption>
        <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f01.jpg"/>

      </fig>

<table-wrap id="Ch1.T1" specific-use="star"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e287">A summary of the lidar technical specifications.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Laser</oasis:entry>
         <oasis:entry colname="col2">120 <inline-formula><mml:math id="M9" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mJ</mml:mi></mml:mrow></mml:math></inline-formula> pulse energy at 532 <inline-formula><mml:math id="M10" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength, 100 <inline-formula><mml:math id="M11" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">Hz</mml:mi></mml:mrow></mml:math></inline-formula> pulse rate</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Telescope</oasis:entry>
         <oasis:entry colname="col2">63.5 <inline-formula><mml:math id="M12" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">cm</mml:mi></mml:mrow></mml:math></inline-formula> diameter, 361 <inline-formula><mml:math id="M13" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:mrow></mml:math></inline-formula> field of view, 60 <inline-formula><mml:math id="M14" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:mrow></mml:math></inline-formula> (2<inline-formula><mml:math id="M15" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula>) spot size</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Receiver</oasis:entry>
         <oasis:entry colname="col2">Three elastic channels and one Raman channel (608 <inline-formula><mml:math id="M16" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Data acquisition</oasis:entry>
         <oasis:entry colname="col2">Single pulse acquisition with 800 <inline-formula><mml:math id="M17" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">ps</mml:mi></mml:mrow></mml:math></inline-formula> (1.2 <inline-formula><mml:math id="M18" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">cm</mml:mi></mml:mrow></mml:math></inline-formula>) resolution</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Data products</oasis:entry>
         <oasis:entry colname="col2">Temperature profiles 15–90 <inline-formula><mml:math id="M19" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude; resolution 900 <inline-formula><mml:math id="M20" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M21" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 20 <inline-formula><mml:math id="M22" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> (vertical <inline-formula><mml:math id="M23" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> time);</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">higher resolutions possible for reduced altitude ranges</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Transmitter</title>
      <p id="d1e486">Figure <xref ref-type="fig" rid="Ch1.F2"/> shows the schematics of the optical paths inside the lidar instrument. The laser (SpitLight DPSS 250-100 from InnoLas GmbH) is a diode-pumped Nd:YAG master oscillator power amplifier system operating at 1064 <inline-formula><mml:math id="M24" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength and 100 <inline-formula><mml:math id="M25" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">Hz</mml:mi></mml:mrow></mml:math></inline-formula> pulse repetition frequency. It delivers 120 <inline-formula><mml:math id="M26" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mJ</mml:mi></mml:mrow></mml:math></inline-formula> per pulse after conversion to the second harmonic at 532 <inline-formula><mml:math id="M27" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength. The remaining infrared light is separated and subsequently dumped using a dichroic mirror and water-cooled beam dump. A folding mirror mounted on a fast tip/tilt piezo actuator with a 7 <inline-formula><mml:math id="M28" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mrad</mml:mi></mml:mrow></mml:math></inline-formula> angular range directs the green beam towards a <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></inline-formula> beam expander which reduces the beam divergence to approximately 170 <inline-formula><mml:math id="M30" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:mrow></mml:math></inline-formula> and the pointing jitter to <inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">50</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> full angle. The resulting effective beam divergence is thus <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">220</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> or approximately half of the telescope field of view (FOV). Finally, the beam exits the laser box through an anti-reflection coated window. A motorized mirror located in the telescope compartment of the container directs the laser beam into the sky at a position that is approximately 0.4 <inline-formula><mml:math id="M33" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> offset from the optical axis of the receiving telescope.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><?xmltex \def\figurename{Figure}?><label>Figure 2</label><caption><p id="d1e594">Schematics of the lidar instrument and optical paths.</p></caption>
          <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f02.png"/>

        </fig>

</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Receiver</title>
      <p id="d1e611">The backscattered light is collected using a 63.5 <inline-formula><mml:math id="M34" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">cm</mml:mi></mml:mrow></mml:math></inline-formula> diameter parabolic f/2.4 mirror with a spot size of <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">60</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M36" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>. An optical fiber (type FG550LEC; 550 <inline-formula><mml:math id="M37" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> core diameter, 0.22 numerical aperture) mounted on the focal plane guides the collected light to the receiver. The fiber mount consists of a spring-loaded piston traveling inside a fixed tube with the piston pushing against a linear motor (Thorlabs Z812). With the help of the motor, the position of the fiber end can be adjusted in the <inline-formula><mml:math id="M38" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> direction with <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M40" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> resolution, thus facilitating the easy adjustment of the telescope focus. The outer tube is held by a three-legged spider mounted on an aluminum ring with a diameter slightly larger than the mirror. The ring is supported by six vertical carbon fiber tubes that connect it to the base plate holding the telescope mirror, and the whole telescope assembly sits on adjustment screws that allow the telescope to be pointed to zenith. The use of carbon fiber tubes results in the high thermal stability of the telescope. A 50 <inline-formula><mml:math id="M41" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">K</mml:mi></mml:mrow></mml:math></inline-formula> change in temperature causes the focal point to shift by 160 <inline-formula><mml:math id="M42" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> in the vertical. As shown in the Supplement, this shift has a negligible impact on the fiber coupling performance. During the setup of the instrument, the optimum position is determined by slowly moving the fiber end up and down using the motor and recording the strength of the lidar return signal integrated over the altitude range of 40–50 <inline-formula><mml:math id="M43" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> as a function of motor position. Repeated scans are performed and measurements averaged in order to reduce the effect of potential changes in atmospheric transmission during the scans. The focal position is determined as the position with the maximum lidar signal.</p>
      <p id="d1e706">With the bistatic setup, full geometric overlap between the laser beam and the telescope FOV is achieved at approximately 5 <inline-formula><mml:math id="M44" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude. However, range-dependent defocusing of the telescope causes the overlap function to vary slightly with altitude. This variable overlap results in a bias in retrieved temperature profiles of less than <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.4</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M46" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">K</mml:mi></mml:mrow></mml:math></inline-formula> for altitudes above 40 <inline-formula><mml:math id="M47" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> which increases to <inline-formula><mml:math id="M48" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.95</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M49" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">K</mml:mi></mml:mrow></mml:math></inline-formula> at 15 <inline-formula><mml:math id="M50" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude (see Sect. S2 in the Supplement).</p>
      <p id="d1e770">The optical bench of the receiver resides in a four-unit 19 in. (482.6 mm) rack mount enclosure. The optical fiber enters the enclosure at the back side and terminates in front of a mechanical chopper with three slits rotating at 100 revolutions per second. The firing time of the laser is synchronized with the rotation of the chopper such that laser light scattered in the lower 14 <inline-formula><mml:math id="M51" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> of the atmosphere is blocked by the chopper blades and does not hit the sensitive  detectors. As shown in Fig. <xref ref-type="fig" rid="Ch1.F2"/>, after passing through the collimation optics, the collimated beam is spectrally divided into two parts by a dichroic mirror, separating the elastic scattering at 532 <inline-formula><mml:math id="M52" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength and the nitrogen rotational Raman scattering at <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">608</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M54" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength. The Raman scattering is detected using a photomultiplier (Hamamatsu H7421; approximately 35 % detection efficiency at 600 <inline-formula><mml:math id="M55" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula>) with a 3 <inline-formula><mml:math id="M56" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wide interference filter (80 % peak transmission, out-of-band blocking optical depth, OD, <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula>) mounted in front. The dichroic mirror has a transmission of 1.2 % at 532 <inline-formula><mml:math id="M58" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength, and this results in a total blocking of the elastic scattering in the Raman channel of OD <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">8</mml:mn></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e854">In order to increase the dynamic range of the detection, the beam containing the elastic scattering is further split into three beams with a splitting ratio of approximately <inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:mn mathvariant="normal">92.0</mml:mn><mml:mo>:</mml:mo><mml:mn mathvariant="normal">7.4</mml:mn><mml:mo>:</mml:mo><mml:mn mathvariant="normal">0.6</mml:mn></mml:mrow></mml:math></inline-formula>, i.e., the detector of the far channel sees 92 % of the light, while only 0.6 % of the light reaches the low channel. Both the high- and mid-channel detectors are avalanche photo diodes (APDs) operated in Geiger mode (SPCM-AQRH-16 from Excelitas; <inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">50</mml:mn></mml:mrow></mml:math></inline-formula> % detection efficiency at 532 <inline-formula><mml:math id="M62" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wavelength) with 0.8 <inline-formula><mml:math id="M63" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wide interference filters (83 % peak transmission) mounted in front. The APDs are gated to limit peak count rates to about 5 <inline-formula><mml:math id="M64" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">MHz</mml:mi></mml:mrow></mml:math></inline-formula>. The low channel detector is again a photo multiplier tube (Hamamatsu H12386-210) with a 3 <inline-formula><mml:math id="M65" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">nm</mml:mi></mml:mrow></mml:math></inline-formula> wide cost-efficient interference filter (60 % peak transmission).</p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Data acquisition and control</title>
      <p id="d1e924">The data acquisition system comprises three units: the acquisition computer, the control electronics, and the MCS6A photon counter. The MCS6A produced by FAST ComTec GmbH is a five-channel multi-event digitizer with 800 <inline-formula><mml:math id="M66" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">ps<?pagebreak page1718?></mml:mi></mml:mrow></mml:math></inline-formula> resolution. It converts the electrical pulses coming from the detectors to timestamps indicating the elapsed time since the firing of the laser. The data acquisition software running on the computer reads out the MCS6A after each laser pulse and stores the timestamps on solid state drives for postprocessing, as well as sorts them into histograms for displaying the photon count profiles in real-time.</p>
      <p id="d1e935">Trigger signals for the laser, chopper, and APD gating are produced by the control electronics. Its core is a National Instruments sbRIO-9633 embedded single-board computer with a field-programmable gate array (FPGA). The trigger chain of the lidar is implemented in the FPGA, and programmable delays in the outputs allow for adjusting the timing between the signals, for example, setting the phase and thus the opening altitude of the chopper and controlling the gating of the APDs. Analog outputs of the sbRIO drive the tip/tilt piezo mirror inside the laser through high voltage amplifiers also located in the electronics box. Prior to outputting the analog signals, the drive signals for the piezo mirror are conditioned and limited in bandwidth by digital filters implemented in the FPGA to prevent the mirror from overshooting the target position and excitation of resonant modes. Finally, the electronics box also houses the power supplies for the detectors and relays that are controlled by the FPGA for switching the detectors on and off.</p>
<sec id="Ch1.S2.SS3.SSS1">
  <label>2.3.1</label><title>Automatic tracking of the laser beam</title>
      <p id="d1e945">One problem with container-based lidar systems is the limited thermal stability. When the telescope hatch opens and the telescope compartment cools down, thermal drifts result in misalignment between the telescope boresight and the laser beam. This drift is especially problematic for lidar systems which use narrow field of views in the order of few hundred microradians for low background noise, and active tracking of the laser beam position is usually required. Two methods are commonly used to track the laser beam. With manual tracking, an operator performs a quadrant search by moving the laser beam by a small angle in alternating directions while monitoring the strength of the lidar return signal. When the scan is completed, the beam angles which yield the strongest lidar signal are chosen as the new beam position. The search is repeated at regular intervals, e.g., hourly.  <xref ref-type="bibr" rid="bib1.bibx15" id="text.15"/> describe an automatic autoguiding system which uses a camera looking through the receiving telescope to image the spot of the laser beam in the atmosphere at a certain altitude. A piece of software analyzes the images and<?pagebreak page1719?> computes the beam position. Any deviation from the predetermined target position is nulled by a servo loop. The target needs to be found by other means, e.g., manual search. While the latter method is suitable for an automatic lidar like CORAL, we opted to implement the conscan method that is widely used for tracking spacecraft <xref ref-type="bibr" rid="bib1.bibx11" id="paren.16"><named-content content-type="pre">see e.g.,</named-content></xref>. Its main advantages over the autoguiding method <xref ref-type="bibr" rid="bib1.bibx15" id="paren.17"/> are the possibility to evaluate the lidar signal for tracking purposes in the stratosphere and thus well above any potential cloud layer and that there is no requirement for a predetermined target position. In particular, the resilience to clouds is attractive as CORAL is designed to operate in marginal weather conditions. To our knowledge, this is the first application of conscan to mesospheric lidars.</p>
      <p id="d1e959">The basic principle of conscan is depicted in Fig. <xref ref-type="fig" rid="Ch1.F3"/>. A scan mirror rotates about the <inline-formula><mml:math id="M67" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M68" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axes in a sinusoidal motion, causing the laser beam to rotate around the telescope boresight in a conical scan (see Fig. <xref ref-type="fig" rid="Ch1.F4"/>). If the center of the cone is offset from the boresight of the telescope, the angle between the laser beam and the telescope boresight <inline-formula><mml:math id="M69" display="inline"><mml:mi mathvariant="normal">Θ</mml:mi></mml:math></inline-formula> periodically becomes smaller and larger due to the conical motion of the laser beam. Assuming the offset of the cone is sufficiently large, the modulation of <inline-formula><mml:math id="M70" display="inline"><mml:mi mathvariant="normal">Θ</mml:mi></mml:math></inline-formula> leads to an incomplete overlap between the telescope FOV and the laser beam. This in turn causes a modulation in the signal strength of the lidar return signal which can be demodulated and the information used to infer the direction the axis of the cone needs to be shifted to in order to obtain a complete overlap. An example of such a demodulated signal is shown in Fig. <xref ref-type="fig" rid="Ch1.F5"/>. Looking at the geometry depicted in Fig. <xref ref-type="fig" rid="Ch1.F6"/>, it becomes clear that maximum overlap is achieved if vector <inline-formula><mml:math id="M71" display="inline"><mml:mi mathvariant="bold-italic">r</mml:mi></mml:math></inline-formula> points in the same direction as vector <inline-formula><mml:math id="M72" display="inline"><mml:mi mathvariant="bold-italic">s</mml:mi></mml:math></inline-formula>. The corresponding direction in the coordinate system of the scan mirror is given by the vector
              <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M73" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfenced close="" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">ϑ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">ϑ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo mathsize="2.0em">)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϑ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the phase angle with the largest demodulated lidar return signal.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3"><?xmltex \currentcnt{3}?><?xmltex \def\figurename{Figure}?><label>Figure 3</label><caption><p id="d1e1066">The coordinate system of the scan mirror.</p></caption>
            <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f03.png"/>

          </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4"><?xmltex \currentcnt{4}?><?xmltex \def\figurename{Figure}?><label>Figure 4</label><caption><p id="d1e1078">Angular modulation of the scan mirror.</p></caption>
            <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f04.png"/>

          </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5"><?xmltex \currentcnt{5}?><?xmltex \def\figurename{Figure}?><label>Figure 5</label><caption><p id="d1e1089">Example of a demodulated conscan signal acquired with CORAL. The dashed line indicates the mean signal that would be obtained in the case of a perfect beam overlap and no modulation.</p></caption>
            <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f05.png"/>

          </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6"><?xmltex \currentcnt{6}?><?xmltex \def\figurename{Figure}?><label>Figure 6</label><caption><p id="d1e1100">Position of the laser beam and telescope boresight during a conscan <xref ref-type="bibr" rid="bib1.bibx11" id="paren.18"><named-content content-type="pre">adapted from</named-content></xref>.</p></caption>
            <?xmltex \igopts{width=199.169291pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f06.png"/>

          </fig>

      <?pagebreak page1720?><p id="d1e1114">Equation (<xref ref-type="disp-formula" rid="Ch1.E1"/>) tells us in which direction we have to move the laser beam in order to achieve complete overlap, but we do not know how far along <inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> we have to go in order to reach the point defined by <inline-formula><mml:math id="M76" display="inline"><mml:mi mathvariant="bold-italic">s</mml:mi></mml:math></inline-formula>. Based on the data at hand, there is no way to determine the scaling factor <inline-formula><mml:math id="M77" display="inline"><mml:mi>l</mml:mi></mml:math></inline-formula> in the relation <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">s</mml:mi><mml:mo>=</mml:mo><mml:mi>l</mml:mi><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, but we can estimate <inline-formula><mml:math id="M79" display="inline"><mml:mi>l</mml:mi></mml:math></inline-formula> from the amplitude of the conscan signal. For simplicity, we initially assume a perfect lidar producing noise-free measurements. Let us consider the situation in which the mean <inline-formula><mml:math id="M80" display="inline"><mml:mi mathvariant="normal">Θ</mml:mi></mml:math></inline-formula> equals half of the telescope FOV and the amplitude of the modulation signal driving the conscan, <inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mo>|</mml:mo></mml:mrow></mml:math></inline-formula>, is so large that the lidar return signal oscillates between zero (no overlap) and a maximum (complete overlap) and that the demodulated conscan signal, in the following denoted as <inline-formula><mml:math id="M82" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula>, shows oscillations between zero and one. This can be achieved only if <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mo>|</mml:mo></mml:mrow></mml:math></inline-formula> also equals half of the telescope FOV. When the modulation amplitude or mean <inline-formula><mml:math id="M84" display="inline"><mml:mi mathvariant="normal">Θ</mml:mi></mml:math></inline-formula> are smaller, the minimum lidar return signal must be larger than zero as there is always a partial overlap. In this case, <inline-formula><mml:math id="M85" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> contains a nonzero offset <inline-formula><mml:math id="M86" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula>, and the amplitude of the sinusoidal part <inline-formula><mml:math id="M87" display="inline"><mml:mi>a</mml:mi></mml:math></inline-formula> is smaller than 1, and we can rewrite <inline-formula><mml:math id="M88" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> as
              <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M89" display="block"><mml:mrow><mml:mi>A</mml:mi><mml:mo>=</mml:mo><mml:mi>c</mml:mi><mml:mo>+</mml:mo><mml:mi>a</mml:mi><mml:mi>cos⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="italic">ϑ</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϑ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
            On the other hand, for the other extreme case in which the conscan modulation and mean <inline-formula><mml:math id="M90" display="inline"><mml:mi mathvariant="normal">Θ</mml:mi></mml:math></inline-formula> are so small that the laser beam is always completely inside the telescope FOV, we expect no variation in <inline-formula><mml:math id="M91" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> and hence <inline-formula><mml:math id="M92" display="inline"><mml:mrow><mml:mi>a</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>. Thus, the amplitude <inline-formula><mml:math id="M93" display="inline"><mml:mi>a</mml:mi></mml:math></inline-formula> can be used as an estimate of the overlap. For simplicity, in the following we assume a linear relationship and approximate <inline-formula><mml:math id="M94" display="inline"><mml:mi mathvariant="bold-italic">s</mml:mi></mml:math></inline-formula> as
              <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M95" display="block"><mml:mrow><mml:mi mathvariant="bold-italic">s</mml:mi><mml:mo>≈</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">s</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mfenced open="{" close=""><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="cases" columnalign="left left" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">10</mml:mn><mml:mi>a</mml:mi><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mtext>if</mml:mtext><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi>a</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mtext>otherwise</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
            The factor <inline-formula><mml:math id="M96" display="inline"><mml:mn mathvariant="normal">10</mml:mn></mml:math></inline-formula> in the first case facilitates faster convergence when the overlap is almost complete (<inline-formula><mml:math id="M97" display="inline"><mml:mi>a</mml:mi></mml:math></inline-formula> is small). We note that a more accurate relation can be derived from the calculation of the geometric overlap function based on the actual beam profile of the laser, but the approximation in Eq. (<xref ref-type="disp-formula" rid="Ch1.E3"/>) is sufficient for our purposes. After a conscan is completed, the orientation of the conical scan is updated by adding <inline-formula><mml:math id="M98" display="inline"><mml:mover accent="true"><mml:mi mathvariant="bold-italic">s</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover></mml:math></inline-formula> to the current orientation and a new conscan is started. This cycle of scanning and updating of the beam pointing is constantly repeated during the lidar measurement, causing the mean position of the laser beam to track the telescope FOV.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7" specific-use="star"><?xmltex \currentcnt{7}?><?xmltex \def\figurename{Figure}?><label>Figure 7</label><caption><p id="d1e1415">Performance of the conscan system during the measurement on 3 November 2019. <bold>(a)</bold> Mean scan mirror angles, <bold>(b)</bold> lidar return signal integrated between 45 and 55 <inline-formula><mml:math id="M99" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude, <bold>(c)</bold> phase and <bold>(d)</bold> amplitude of the demodulated conscan signal, and <bold>(e)</bold> goodness of the fit.</p></caption>
            <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f07.png"/>

          </fig>

      <p id="d1e1448">In our implementation of conscan, we set <inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mo>|</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">43</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> and the speed of the conical motion to 0.4 <inline-formula><mml:math id="M101" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">Hz</mml:mi></mml:mrow></mml:math></inline-formula>. Furthermore, we bin the conscan signal <inline-formula><mml:math id="M102" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> using bins of 18<inline-formula><mml:math id="M103" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> width and average it over 20 <inline-formula><mml:math id="M104" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">s</mml:mi></mml:mrow></mml:math></inline-formula>, i.e., 8 revolutions of the laser beam and 100 laser pulses per bin. The averaging reduces the impact of statistical variations in atmospheric transmission (e.g., caused by clouds) and fluctuations in laser power. Figure <xref ref-type="fig" rid="Ch1.F5"/> shows such an averaged conscan signal that was acquired on 3 November 2019 05:15 UTC in the altitude range 45–55 <inline-formula><mml:math id="M105" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> using the far channel detector. The demodulated signal contains a significant noise portion, but a sinusoidal modulation with a maximum at about 75<inline-formula><mml:math id="M106" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> is nevertheless evident. In order to get a better estimate of the amplitude and phase of the maximum, we perform a sinusoidal fit using the MPFIT algorithm <xref ref-type="bibr" rid="bib1.bibx26" id="paren.19"/>. For the example shown in Fig. <xref ref-type="fig" rid="Ch1.F5"/>, we obtained values of <inline-formula><mml:math id="M107" display="inline"><mml:mrow><mml:mi>a</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.0105</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϑ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">71.5</mml:mn></mml:mrow></mml:math></inline-formula><inline-formula><mml:math id="M109" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> which, according to Eq. (<xref ref-type="disp-formula" rid="Ch1.E3"/>), cause a shift of 3.5 <inline-formula><mml:math id="M110" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:mrow></mml:math></inline-formula> towards the telescope boresight when the conscan algorithm is executed. Figure <xref ref-type="fig" rid="Ch1.F7"/> shows mean angles of the scan mirror for a 4 <inline-formula><mml:math id="M111" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">h</mml:mi></mml:mrow></mml:math></inline-formula> long lidar measurement. After startup of the instrument, the warming-up of the laser and cooling-down of the telescope compartment of the container caused a drift of about 300 <inline-formula><mml:math id="M112" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:mrow></mml:math></inline-formula> (distance in both axes) during the first hour. That is significant compared to the telescope FOV of 361 <inline-formula><mml:math id="M113" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:mrow></mml:math></inline-formula> and would lead to dramatic losses in the lidar return signal if no beam tracking were used. However, as shown in Fig. <xref ref-type="fig" rid="Ch1.F7"/>, with beam tracking enabled the lidar return signal remained fairly<?pagebreak page1721?> stable throughout the lidar measurement. Note that while the lidar return signal was impacted by broken clouds during the first hour, conscan allowed robust beam tracking as indicated by the peaks in the lidar return signal reaching values of <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">8</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, which is approximately the same value as later when the clouds disappeared.</p>
      <p id="d1e1628">Panels c–e of Fig. <xref ref-type="fig" rid="Ch1.F7"/> show the phase, amplitude, and <inline-formula><mml:math id="M115" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">χ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> value determined from the fits to the conscan signal. The <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">χ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> value is used as an indicator of the quality of the conscan signal. Note that we do not normalize the conscan signal prior to fitting the data, and hence, the average <inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">χ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> value is about 20 instead of unity even for signals with a large signal-to-noise ratio. A large <inline-formula><mml:math id="M118" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">χ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> value – we use 300 as threshold – indicates that the conscan signal could not be properly demodulated. In this case, the conscan cycle is aborted, and the beam pointing is not updated. In cloudy conditions, as many as 9 out of 10 conscans may fail in that way, but the succeeding conscans are still sufficient for beam tracking as thermal drifts happen on relatively long time scales. If more than 10 successive conscans fail, subsequent intervals are marked in the raw data files of the lidar as potentially having incomplete beam overlap and are discarded in the temperature retrieval. Moreover, beam pointing increments and conscan parameters are stored in raw data files for offline analysis. As evident from Fig. <xref ref-type="fig" rid="Ch1.F7"/>e, only a few conscan measurements exceed the threshold of <inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">χ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">300</mml:mn></mml:mrow></mml:math></inline-formula> even though the lidar return signal was strongly impacted by clouds in the period 04:00–05:00 UTC. The larger uncertainties in that period are also reflected in the larger amplitude estimates (Fig. <xref ref-type="fig" rid="Ch1.F7"/>d).</p>
      <p id="d1e1697">It is important to note that conscan always evaluates the lidar signal within a constant altitude range in the stratosphere. This is in particular beneficial for bistatic lidars in which in an autoguiding setup <xref ref-type="bibr" rid="bib1.bibx15" id="paren.20"/>, the camera images the laser beam at an angle in the lower troposphere as scattering in the stratosphere is too weak for imaging. Due to the finite exposure time, the camera integrates the beam profile along a certain height range. If a cloud drifts through the beam within this height range, the image will be dominated by the strong Mie scattering. If that happens at the bottom (top) of the height range, camera-based autoguiding optimizes the beam overlap for low (high) altitudes in bistatic lidar configurations. The use of conscan avoids that problem.</p>
</sec>
<sec id="Ch1.S2.SS3.SSS2">
  <label>2.3.2</label><title>Adaptive detector gating</title>
      <p id="d1e1711">As one of the goals of CORAL is to obtain measurements as often as possible, it was clear from the very beginning that CORAL would also operate in marginal weather, e.g., haze and variable cloud cover. Although these conditions diminish the lidar return signal, being a Rayleigh lidar, CORAL has still enough power margin to produce scientifically usable measurements in the stratosphere and lower mesosphere. However, the weaker signal requires that the gating of the APDs and the opening of the chopper have to be adjusted to lower altitudes to make use of the full dynamic range of the detectors and allow for assembly of the individually retrieved temperature profiles into a single continuous profile (see Fig. <xref ref-type="fig" rid="Ch1.F8"/>).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8" specific-use="star"><?xmltex \currentcnt{8}?><?xmltex \def\figurename{Figure}?><label>Figure 8</label><caption><p id="d1e1718"><bold>(a)</bold> Photon count profiles acquired on 3 November 2019 between 05:20 and 05:50 UTC and binned to 100 <inline-formula><mml:math id="M120" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> vertical resolution, and <bold>(b)</bold> retrieved temperature profiles at 900 <inline-formula><mml:math id="M121" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> vertical resolution. The shaded areas indicate the temperature uncertainties as determined by the retrieval (see Sect. <xref ref-type="sec" rid="Ch1.S4"/>). For comparison, the corresponding SABER profile (acquired at 525 <inline-formula><mml:math id="M122" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> mean distance to the west of CORAL at 05:38 UTC) and 06:00 UTC ECMWF integrated forecasting system (IFS) profile (0.125<inline-formula><mml:math id="M123" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> resolution, grid point 53.75<inline-formula><mml:math id="M124" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> S, 67.75<inline-formula><mml:math id="M125" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> W, 3.9 <inline-formula><mml:math id="M126" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> distance to CORAL) are also shown as gray lines and black dashed lines, respectively.</p></caption>
            <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f08.png"/>

          </fig>

      <p id="d1e1797">Our implementation of adaptive controls for detector gating is rather simple. The data acquisition software integrates photon counts for 2 s intervals and calculates peak count rates for each detector channel. If the peak count rate is outside a predefined dead band, the delay of the gating signal for the respective channel is increased by 3 <inline-formula><mml:math id="M127" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:mrow></mml:math></inline-formula> if the count rate is high or decreased by 3 <inline-formula><mml:math id="M128" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:mrow></mml:math></inline-formula> if the count rate is low. The change is equivalent to an increase or decrease in the gating altitude in steps of 450 <inline-formula><mml:math id="M129" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>. We use different dead bands <inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:mfenced close="]" open="["><mml:mrow><mml:mn mathvariant="normal">4.0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">5.5</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mrow class="unit"><mml:mi mathvariant="normal">MHz</mml:mi></mml:mrow></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:mfenced open="[" close="]"><mml:mrow><mml:mn mathvariant="normal">5.5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">6.5</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mrow class="unit"><mml:mi mathvariant="normal">MHz</mml:mi></mml:mrow></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:mfenced close="]" open="["><mml:mrow><mml:mn mathvariant="normal">8.0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">9.0</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mrow class="unit"><mml:mi mathvariant="normal">MHz</mml:mi></mml:mrow></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> for the far channel, mid-channel, and low channel, respectively. The lowest peak count rates are reserved for the far channel in order to limit thermal heating of the APD and thus reduce<?pagebreak page1722?> nonlinear effects that may strongly affect retrieved temperatures at upper mesospheric altitudes where the lidar return signal is low. Nonlinear effects at low count rates are of less importance in the case of the other channels because, at the top of the profiles, there is sufficient overlap with temperature profiles retrieved from other channels.</p>
</sec>
<sec id="Ch1.S2.SS3.SSS3">
  <label>2.3.3</label><title>Air traffic safety</title>
      <p id="d1e1892">Eye safety is an important consideration for an automatic lidar system. The laser beam emitted by CORAL can be dangerous for eyesight even at altitudes of aircraft if one looks into the beam, and measures must be taken to avoid accidental exposure. A common method is to employ a radar to track aircraft and automatically block the laser beam or shut down the laser when an aircraft approaches the lidar station <xref ref-type="bibr" rid="bib1.bibx37" id="paren.21"><named-content content-type="pre">see e.g.,</named-content></xref>. At the southern tip of South America, air traffic is so low that no particular safety measures are requested by the authorities in Argentina. We use an automatic dependent surveillance-broadcast (ADS-B) receiver for receiving positional data of nearby aircraft. This information is used by the lidar computers to automatically shut down the laser when the aircraft enters a circle of 800 <inline-formula><mml:math id="M133" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> radius centered at the location of CORAL, and measurements are resumed when the aircraft has exited the circle. However, due to the low air traffic and CORAL being located close to the local airport but outside the flight corridors, within the 3 years of operation, no single aircraft was detected within the critical zone. At other sites in Europe, we employed a combination of an ADS-B receiver and a camera-based setup for tracking position lights of aircraft. Because CORAL operates only in darkness, the bright position lights result in a good signal-to-noise ratio in the camera images and can be easily tracked using motion detection algorithms. For protection against software crashes, a kill timer, reset by the ADS-B decoder and optical tracker software, is implemented in the FPGA controlling the laser. In case the software crashes, the kill timer runs out and the laser is automatically shut down after 3 <inline-formula><mml:math id="M134" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">s</mml:mi></mml:mrow></mml:math></inline-formula>.</p>
</sec>
</sec>
<sec id="Ch1.S2.SS4">
  <label>2.4</label><title>Container</title>
      <p id="d1e1925">The CORAL container provides all the necessary infrastructure for the operation of the CORAL lidar instrument. It has two large doors, one in the front providing access to the air-conditioned compartment and one in the back for servicing the telescope (see Fig. <xref ref-type="fig" rid="Ch1.F9"/>). Two smaller hatches equipped with actuators serve as inlet and outlet for the air needed by the chiller. A third motorized hatch of size 0.8 <inline-formula><mml:math id="M135" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> by 0.8 <inline-formula><mml:math id="M136" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> is located above the telescope (see also Fig. <xref ref-type="fig" rid="Ch1.F1"/>). Finally, two smaller openings of size 0.4 <inline-formula><mml:math id="M137" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> by 0.4 <inline-formula><mml:math id="M138" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> in the roof enable the installation of transparent domes for passive optical instruments. While one dome is usually occupied by a cloud monitoring all-sky camera, the other dome is available to guest instruments such as the Advanced Mesospheric Temperature Mapper <xref ref-type="bibr" rid="bib1.bibx29 bib1.bibx33" id="paren.22"/>. The domes can be removed and covers installed to seal the openings for shipment of the container. A weather station measuring wind speed, temperature, humidity, and precipitation completes the external additions.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9" specific-use="star"><?xmltex \currentcnt{9}?><?xmltex \def\figurename{Figure}?><label>Figure 9</label><caption><p id="d1e1970"><bold>(a)</bold> The CORAL container at the Sodankylä Geophysical Observatory, Finland, with access door (1), optical dome for passive instruments (2), optical dome for all-sky cloud camera (3), telescope hatch (4), and weather station (5). <bold>(b)</bold> Layout of the interior with the water chiller (A) (no air ducts shown), lidar rack (B), telescope (C), space for passive optical instruments (D), motorized chiller hatches (E), and access doors (F). Picture by B. Kaifler.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f09.png"/>

        </fig>

      <?pagebreak page1723?><p id="d1e1984">The layout of the interior is sketched in Fig. <xref ref-type="fig" rid="Ch1.F9"/>b. The larger of the two compartments is insulated and air conditioned to <inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:mn mathvariant="normal">22</mml:mn><mml:mo>±</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M140" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula><inline-formula><mml:math id="M141" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>, whereas the smaller telescope compartment is only equipped with low-power electrical heaters to raise its temperature slightly above the ambient temperature in order to reduce the humidity when the lidar is not in operation and the telescope hatch closed. The chiller, which is mounted below the ceiling, provides cold glycol with a cooling capacity of 2.4 <inline-formula><mml:math id="M142" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">kW</mml:mi></mml:mrow></mml:math></inline-formula> and is used for both secondary cooling of the laser and air conditioning. All of the lidar hardware with the exception of the telescope is installed in the laser rack below the chiller. The space between the two boxes marked with “D” in Fig. <xref ref-type="fig" rid="Ch1.F9"/>b is normally kept empty and can be used by a person for servicing the lidar or manual on-site control of the lidar.</p>
<sec id="Ch1.S2.SS4.SSS1">
  <label>2.4.1</label><title>Control</title>
      <p id="d1e2035">Control of the container systems, such as heatings, hatch actuators, fans, and chiller, is exercised by two ATMEGA644 8-bit microcontroller units on custom designed electronics boards. The microcontroller units serve as multiplexers and demultiplexers (MDMs) by providing discrete signals to relays supplying power to the various subsystems and reading data from the weather station, as well as other internal sensors, e.g., level sensors and temperature sensors in the glycol tank of the chiller. Aggregated sensor and status data are sent to, as well as commands received from, a high-level container control computer (COCON) via serial RS-232 links. Whereas a single-task program with a global event loop runs on the bare hardware of each MDM, COCON is a standard x86-compatible computer running the Linux operating system and application software written in C/C<inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:mo>+</mml:mo><mml:mo>+</mml:mo></mml:mrow></mml:math></inline-formula>. The MDMs and COCON normally run in tandem. For example, COCON would send a high-level command to switch the chiller on to MDM #1. The MDM decodes the command and translates it into a set of low-level instructions for immediate or deferred execution: commanding the actuators to open the hatches for air cooling, wait until the hatches are fully open, close the relay to supply power to the chiller. At the same time, a steady stream of sensor data is flowing from the MDM back to COCON containing, e.g., angle measurements of the hatches and the coolant temperatures.</p>
      <p id="d1e2048">In addition to the multiplexing and demultiplexing functionality, the software running on the MDMs also includes a basic set of fault protection routines (FPRs). The sole purpose of these FPRs is to guarantee that the CORAL system is always in a consistent and safe state. There are FPRs dealing with technical faults, as well as, in the view of CORAL, dangerous environmental conditions. For example, an FPR prevents the opening of the telescope hatch if the wind speed as measured by the weather station exceeds a certain threshold, and another FPR is responsible for shutting down the laser and closing of the telescope hatch when precipitation is detected. The implementation of the most critical FPRs at the MDM level represents a safeguard against adverse effects of software errors. Because the software running on the MDMs is less than 3000 lines in total and does not rely on an intercalated operating system, the probability of a software error causing a fatal crash or deadlock is much lower than is the case for the application software running on COCON with its hundreds of thousands of lines. In that we cannot guarantee that the high-level application software is free of errors, we <italic>have to</italic> assume that it fails at some point, and hence, with no operator in the loop to intervene, the MDMs must be capable on their own of maintaining the safety and a consistent state of the CORAL system to prevent fatal outcomes such as leaving the hatch open in a rain shower. Following this requirement, most FPRs trigger a routine called “safe mode” which shuts down the lidar, disables the chiller, closes hatches, and reconfigures the heating and ventilation system. It is then up to the application software running on COCON to recover from the fault that caused the safe mode. Following the example with high wind speed, the application software monitors data coming from the weather station and, after the wind has sufficiently abated, restarts the lidar operation.</p>
      <p id="d1e2054">Another more severe example is power failure. All critical computers, sensor busses and actuators are powered off an uninterruptible power supply (UPS). The only exception is MDM #2 which, for reasons of redundancy, is directly connected to the main power supply. In the event of a power<?pagebreak page1724?> failure, MDM #2 thus shuts down. Since both MDMs are constantly monitoring each other by sending heart beat signals, MDM #1 detects power failures as an absence of the MDM #2 heart beat signal and triggers the corresponding FPR. On a higher level, the application software running on COCON also monitors the state of the UPS and has access to additional information such as the battery charging level. While the FPR on MDM #1 triggers the closing of all hatches in the event of a power failure, the application software may shut down the computers if the charging level becomes too low. The computers boot up automatically after power is restored.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Autonomous lidar operation</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Software architecture</title>
      <p id="d1e2074">The three key ingredients that make autonomous lidar operation possible are (i) the ability to control every aspect of the lidar instrument and container subsystems by means of a computer program, (ii) the availability of robust data based on which the decision can be made whether lidar operation is currently feasible, and (iii) the implementation of this decision-making logic.</p>
      <p id="d1e2077">The first is a pure technical aspect which we realized by implementing a message-based data exchange system on top of a client–server architecture. The functionality of each subsystem such as lidar data acquisition, laser, and autocontrol – this part contains the decision-making logic – is implemented in separate computer programs that communicate via the message system. For example, autocontrol inquires from the data acquisition about the strength of the lidar return signal, and the data acquisition reports the numbers back to autocontrol by replying to that message. In another example,  the autotrack program which tracks the laser beam requests photon count data from the data acquisition, processes the data, and sends a message to the lidar electronics to update the beam pointing. Short messages that may contain only few parameters or data values are implemented using the Standard Commands for Programmable Instruments (SCPI) protocol <xref ref-type="bibr" rid="bib1.bibx36" id="paren.23"/>, while larger data sets are sent as binary blobs preceded by a unique identifier. SCPI is a human readable protocol. For example, the command <italic>laser:shutter 1</italic> prompts the laser to open its shutter. All aspects of the lidar system can be controlled without the need for a graphical user interface by typing SCPI commands in a terminal. This simplified the testing and debugging of the software a lot given that in total more than 1000 commands are currently implemented in the lidar software, the majority representing configuration parameters. SCPI commands also can be collected in text files that are loaded and sent automatically at the startup of a program.</p><?xmltex \hack{\newpage}?>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Data sources and decision-making</title>
      <p id="d1e2095">The decision-making process behind the autonomous capability of CORAL is implemented in a program called autocontrol. Autocontrol is a rule-based system that seeks answers to questions such as the following. Is it cloudy? Is the cloud layer solid (no lidar observations possible) or broken clouds (lidar observation possible but signal degraded)? What is the probability for rain within the next hour? The individual answers are then combined in logical connections to arrive at the yes/no decision to start or stop the lidar.</p>
      <p id="d1e2098">In order for autocontrol to find answers, we have to feed it with data. The current implementation uses five main data sources: the solar elevation angle, the local weather station, the cloud monitoring camera, ECMWF integrated forecasting system (IFS) data, and lidar data if the lidar instrument is already running. The solar elevation angle is determined by the fixed location of the instrument and the local time <xref ref-type="bibr" rid="bib1.bibx27" id="paren.24"/>. Because CORAL can operate in darkness only, we use the elevation angle to restrict operation times to periods when the solar elevation is below <inline-formula><mml:math id="M144" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">7</mml:mn></mml:mrow></mml:math></inline-formula><inline-formula><mml:math id="M145" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>. The weather station is used for monitoring precipitation and wind speed. A rain signal or the wind speed exceeding a threshold prevents the automatic start of the lidar or, in cases when the lidar is already running, triggers an immediate shutdown. The cloud monitoring camera is a 1.3 megapixel monochrome charge-coupled device (CCD) camera (Basler acA1300-30gm) combined with a 1.4 <inline-formula><mml:math id="M146" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi></mml:mrow></mml:math></inline-formula> f/1.4 fishy eye lens (Fujinon FE185C046HA-1). We use a blob finding algorithm to detect stars in long exposures, and stars are counted within a region extending from zenith to 50<inline-formula><mml:math id="M147" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> off-zenith. The star count is used by autocontrol to assess whether the sky is clear (large number of detected stars) or cloudy (low number of detected stars). An example image along with a map containing positions of detected stars is shown in Fig. <xref ref-type="fig" rid="Ch1.F10"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10" specific-use="star"><?xmltex \currentcnt{10}?><?xmltex \def\figurename{Figure}?><label>Figure 10</label><caption><p id="d1e2143"><bold>(a)</bold> Image acquired by the cloud monitoring camera and <bold>(b)</bold> detected stars. Image by N. Kaifler.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f10.png"/>

        </fig>

      <p id="d1e2158">Relying solely on star images to discern clear sky has the disadvantage that this information is only available when the sky is sufficiently dark for stars to be seen (solar elevation angle <inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">11</mml:mn></mml:mrow></mml:math></inline-formula><inline-formula><mml:math id="M149" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>). However, in order to facilitate early starts of the lidar and thus maximize the run time, we need information on sky condition already at twilight. This information is retrieved from ECMWF forecast data in the form of the parameters total cloud cover and total precipitation for the grid point nearest to the location of CORAL. Lidar start is allowed if the cloud fraction is below 0.5 and accumulated precipitation within the next 2 <inline-formula><mml:math id="M150" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">h</mml:mi></mml:mrow></mml:math></inline-formula> is below 0.1 <inline-formula><mml:math id="M151" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e2197">After the lidar is up and running, the strength of the lidar return signal is used as additional information for the assessment of clouds. If the signal strength is greater than 70 % of the expected maximum signal, the sky is classified as clear and lidar operation is allowed to continue even in cases of ECMWF forecasting precipitation. The reasoning behind this rule is that the predicted occurrence of rain showers is often off by more than 1 h and the effect of rain showers<?pagebreak page1725?> can be very localized in the surroundings and not necessarily at the precise location of CORAL. By allowing the lidar to continue observations when the signal is good prevents unnecessary shutdowns. The idea here is that precipitation is preceded by a cloud layer that can be indirectly detected by the lidar as drop in the lidar return signal strength. Following that, the lidar is stopped in cases when the signal drops below 70 % and ECMWF forecasts <inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M153" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi></mml:mrow></mml:math></inline-formula> of precipitation. But even if no precipitation is forecasted, the clouds may thicken enough that continuing the lidar operation is not worthwhile anymore because of the low lidar signal. For this case we implemented a 15 <inline-formula><mml:math id="M154" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> count down timer that is started when the lidar signal drops below 20 %, and the lidar is stopped when the counter reaches zero. In order to let the lidar continue its observations in broken clouds, the counter is reset to 15 <inline-formula><mml:math id="M155" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> every time the signal increases beyond the 20 % threshold. A final rule introduces a mandatory wait period of 30 <inline-formula><mml:math id="M156" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> following a shutdown triggered by low signal. This rule was implemented after we discovered that light scattered off dust particles on the optical dome covering the all-sky camera is sometimes misinterpreted as stars. In some cases, the high number of artificial stars leads to a constant startup–shutdown cycle even though the sky was overcast and no meaningful lidar observations could be obtained. The implementation of the wait period reduces the number of start attempts to a level that does not cause excessive wear.</p>
      <p id="d1e2242">The current state of the lidar is tracked in a global state machine where violations of the rules described above trigger state changes. Rules are evaluated once per second, though data tables may be updated at different intervals depending on the data source and how often new data become available.</p>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Example</title>

      <?xmltex \floatpos{t}?><fig id="Ch1.F11" specific-use="star"><?xmltex \currentcnt{11}?><?xmltex \def\figurename{Figure}?><label>Figure 11</label><caption><p id="d1e2255"><bold>(a–f)</bold> Example data used by autocontrol to make start/stop decisions and <bold>(g)</bold> retrieved temperature profiles. Red areas mark periods with violated conditions, and beige areas indicate actual instrument run times.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f11.png"/>

          <p id="d1e2268">.</p>
        </fig>

      <p id="d1e2272">Figure <xref ref-type="fig" rid="Ch1.F11"/> shows the data used by autocontrol to make start/stop decisions on the night of 23–24 August 2020. The ECMWF cloud fraction (Fig. <xref ref-type="fig" rid="Ch1.F11"/>b) is below 0.4 during the whole night, indicating to autocontrol that no significant cloudy periods are to be expected. The startup of the lidar is blocked until the solar elevation angle (Fig. <xref ref-type="fig" rid="Ch1.F11"/>a) decreases below <inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">7</mml:mn></mml:mrow></mml:math></inline-formula><inline-formula><mml:math id="M158" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>, which happens at 22:15 UTC. Then autocontrol verifies that the precipitation forecasted by ECMWF for the next 2 h is below 0.1 <inline-formula><mml:math id="M159" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi></mml:mrow></mml:math></inline-formula> (Fig. <xref ref-type="fig" rid="Ch1.F11"/>c), the measured wind speed is below the threshold of 110 (equivalent to approximately 15 <inline-formula><mml:math id="M160" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>), and the rain sensor does not detect any rain. No conditions are violated and autocontrol initiates the starting sequence of the instrument. Data collection begins approximately 5 <inline-formula><mml:math id="M161" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> later with photon count rates averaged between 50 and 60 <inline-formula><mml:math id="M162" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude reaching about 340 <inline-formula><mml:math id="M163" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">kHz</mml:mi></mml:mrow></mml:math></inline-formula> (Fig. <xref ref-type="fig" rid="Ch1.F11"/>f). At 23:08 UTC, a fault protection routine within autocontrol detects the crash of the experimental data acquisition software we were testing at that time and triggered a shutdown of the instrument. The crash is evident in the photon count rate being constant, indicating that a key metric of the data acquisition software is not updated any more. At the same time, the ECMWF precipitation forecast exceeds the threshold of 0.1 <inline-formula><mml:math id="M164" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi></mml:mrow></mml:math></inline-formula> and thus prevents autocontrol from restarting the instrument until 2 h later, though the sky remains mostly cloudless as indicated by the high number of detected stars (Fig. <xref ref-type="fig" rid="Ch1.F11"/>e). Finally, at 02:15 UTC, a simultaneous decrease in photon count rate and number of detected stars suggest the appearance of clouds. Lidar measurements continue until about 30 <inline-formula><mml:math id="M165" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> later when the wind speed crosses briefly the threshold and autocontrol triggers another shutdown of the instrument. The number of detected stars remains zero while a short rain event is detected at 03:20 UTC. Although the star count increases shortly after, the startup of the lidar is blocked by the 30 <inline-formula><mml:math id="M166" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> wait period following a shutdown. This is a safety mechanism as it is not clear whether the nonzero star count is due to real stars being detected (cloudless sky) or due to light scattered off rain droplets on the camera dome. Half an hour later, the star count goes to zero, indicating clouds. When the star count increases again at about 04:00 UTC, autocontrol initiates the startup of the instrument. Data collection continues until 4 h later when the photon count rate and the star count reach low values. At 09:00 UTC, the sky clears up again, and autocontrol restarts the lidar, which then runs until the solar elevation angle increases beyond <inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">7</mml:mn></mml:mrow></mml:math></inline-formula><inline-formula><mml:math id="M168" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>.</p>
      <?pagebreak page1726?><p id="d1e2398">The example shown in Fig. <xref ref-type="fig" rid="Ch1.F11"/> is representative of an observation that would have kept a human operator busy throughout the night. Instead, the CORAL instrument took all decisions on its own and even recovered from a software crash without human intervention. About 2 <inline-formula><mml:math id="M169" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">h</mml:mi></mml:mrow></mml:math></inline-formula> of data were lost due to the crash, as high photon count rates normally take precedence over the ECMWF precipitation forecast and, in this case, would have allowed the observation to continue.</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Temperature retrieval</title>
      <p id="d1e2420">Our implementation of the temperature retrieval is based on the integration method developed by <xref ref-type="bibr" rid="bib1.bibx14" id="text.25"/>. In the absence of aerosols and absorption by trace gases such as ozone and after taking into account the geometric factor <inline-formula><mml:math id="M170" display="inline"><mml:mrow><mml:msup><mml:mi>z</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> stemming from the formation of spherical waves of the scattered light, the lidar return signal can be assumed as proportional to the Rayleigh backscatter of the atmosphere <xref ref-type="bibr" rid="bib1.bibx22" id="paren.26"><named-content content-type="pre">e.g.,</named-content></xref>. Because Rayleigh scattering is directly proportional to the number density of air, the Rayleigh backscatter profile equates to a profile of relative number density. In the retrieval, the atmosphere is split up in discrete layers, and the relative number density is evaluated at these layers from layer averages of the Rayleigh backscatter profile assuming that the number density varies exponentially across layers. Using the ideal gas law and assuming hydrostatic equilibrium, temperatures are calculated by integrating relative number densities from top to bottom. One complication arises from the requirement to start the integration at infinity in which the density is zero. Since this is impractical because of the large noise in lidar measurements at very high altitudes, the integration is instead split into two parts. Above a certain reference altitude <inline-formula><mml:math id="M171" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, the integration is assumed to evaluate to a reference temperature <inline-formula><mml:math id="M172" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> that is then used to initialize or “seed” the integration of the second part starting at <inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. Typically, <inline-formula><mml:math id="M174" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is chosen as the upper boundary of the lidar return profile where the signal is still reliable, and the corresponding <inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is taken from other measurements or models <xref ref-type="bibr" rid="bib1.bibx3 bib1.bibx1" id="paren.27"><named-content content-type="pre">e.g</named-content></xref>. The condition “no aerosols present” can be relaxed if inelastic (Raman) scattering, e.g., for nitrogen molecules, is used instead of the elastic scattering to derive profiles of relative number density.</p>
      <p id="d1e2506">In our implementation of the retrieval, the basic preparatory steps prior to the integration are binning the photon count data to a 100 <inline-formula><mml:math id="M176" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> vertical grid and a desired temporal resolution, the correction of detector dead-time effects, subtraction of the background which is estimated from photon count profiles between 130 and 200 <inline-formula><mml:math id="M177" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude, correction of the two-way Rayleigh extinction, range-correction by multiplication with the range squared, and vertical smoothing to 900 <inline-formula><mml:math id="M178" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> effective vertical resolution to improve the signal-to-noise ratio (SNR). After performing these steps, temperatures are computed by integration of the profiles of relative density. This process is repeated independently for each<?pagebreak page1727?> detector channel. The question is now, where do we get the seed value from? We start off with the nightly mean profile of the far-channel which we seed with an approximately co-located SABER (Sounding of the Atmosphere using Broadband Emission Radiometry instrument on the Thermosphere Ionosphere Mesosphere Energetics Dynamics, TIMED, satellite) profile at typical altitudes of 98–108 <inline-formula><mml:math id="M179" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula>. As coincidence criteria, we chose a maximum horizontal distance of 1000 <inline-formula><mml:math id="M180" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> between the mean location of the satellite measurement and the location of CORAL. Because the density profiles from the lower channels overlap with an upper channel, we can then seed the retrieval of the mid-channel temperature profile with a temperature value from the far-channel. In a similar way, both the low channel and Raman channel are seeded with a value taken from the mid-channel temperature profile. The altitude where the integration starts and the seed value is taken is determined by the SNR <inline-formula><mml:math id="M181" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mo>/</mml:mo><mml:msqrt><mml:mi>N</mml:mi></mml:msqrt></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M182" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> is the number of detected photons per 100 <inline-formula><mml:math id="M183" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> bin and <inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mo>*</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> the desired signal (background subtracted). We define the seed altitude as the maximum altitude with <inline-formula><mml:math id="M185" display="inline"><mml:mrow><mml:mi mathvariant="normal">SNR</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:math></inline-formula> (far-channel) and <inline-formula><mml:math id="M186" display="inline"><mml:mrow><mml:mi mathvariant="normal">SNR</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">15</mml:mn></mml:mrow></mml:math></inline-formula> (all other channels). The criterion <inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:mi mathvariant="normal">SNR</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:math></inline-formula> at 100 <inline-formula><mml:math id="M188" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> bin width translates to a relative uncertainty in pseudo-density of 8.3 % in the case of the default resolution of 900 <inline-formula><mml:math id="M189" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> and 6.5 % for 1500 <inline-formula><mml:math id="M190" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> resolution. For reference, a threshold of 10 % was used by <xref ref-type="bibr" rid="bib1.bibx1" id="text.28"/>.</p>
      <p id="d1e2656">The individual temperature profiles are then merged into a single continuous profile. In order to guarantee a smooth transition from one profile to another, we compute a weighted average in the overlapping region using the weighting function <inline-formula><mml:math id="M191" display="inline"><mml:mrow><mml:mi>w</mml:mi><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn><mml:mi>cos⁡</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="italic">π</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>z</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>/</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> within the transition region starting at altitude <inline-formula><mml:math id="M192" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and vertical extent <inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula>. The bottom of the upper of the two profiles is typically chosen as <inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula>. Figure <xref ref-type="fig" rid="Ch1.F8"/> shows an example of individually retrieved temperature profiles and overlapping regions. Note the large discrepancy between the Raman temperature profile (channel 4) and the elastic temperature profile (channel 3) at about 20 <inline-formula><mml:math id="M196" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude, which is caused by stratospheric aerosols. We mitigate the impact of stratospheric aerosols by transitioning to Raman temperatures below 32 <inline-formula><mml:math id="M197" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude when merging profiles.</p>
      <p id="d1e2770">In order to achieve higher temporal resolutions, we implemented the iterative approach sketched in Fig. <xref ref-type="fig" rid="Ch1.F12"/>a. After retrieving the nightly mean profile seeded with SABER data, we bin the photon count data to overlapping 120 <inline-formula><mml:math id="M198" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> wide bins that are offset by 30 <inline-formula><mml:math id="M199" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula>. Temperature profiles are then retrieved from these binned data using seed values taken from the nightly mean profile. This works because the SNR of the 120 <inline-formula><mml:math id="M200" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> binned photon count profiles is always lower (or equal) to the SNR of the nightly mean profile for the same altitude. The result of such a coarse temperature retrieval is shown in Fig. <xref ref-type="fig" rid="Ch1.F12"/>b. Having completed the 120 <inline-formula><mml:math id="M201" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> retrieval, we bin the photon count data to 60 <inline-formula><mml:math id="M202" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> resolution using 15 <inline-formula><mml:math id="M203" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> offsets from one bin to the next bin and start the process over again. This time the seed values are taken from the 120 <inline-formula><mml:math id="M204" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> temperature profiles. In the next iteration, the temporal resolution is increased to 30 <inline-formula><mml:math id="M205" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> using seed values taken from the 60 <inline-formula><mml:math id="M206" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> profiles. Iteration by iteration, a pyramid with ever increasing resolution is built up until the desired resolution is reached and at which point the algorithm stops. In Fig. <xref ref-type="fig" rid="Ch1.F12"/>b and c, we show an example to demonstrate the effect of increasing resolution on temperature profiles. Where the 120 <inline-formula><mml:math id="M207" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> retrieval reveals only large-scale structures, in this case signatures of an internal gravity wave with a period of <inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M209" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">h</mml:mi></mml:mrow></mml:math></inline-formula> and 22 <inline-formula><mml:math id="M210" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> vertical wavelength, the high-resolution retrieval (Fig. <xref ref-type="fig" rid="Ch1.F12"/>c) yields a multitude of fine details including smaller-scale waves. The semidiurnal tide with a period of 12 <inline-formula><mml:math id="M211" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">h</mml:mi></mml:mrow></mml:math></inline-formula> may also be present in Fig. <xref ref-type="fig" rid="Ch1.F12"/>b and c but is overshadowed by internal gravity waves with much larger amplitudes. <xref ref-type="bibr" rid="bib1.bibx4" id="text.29"/> show measurements of tides acquired with a predecessor instrument of CORAL above New Zealand with peak amplitudes of <inline-formula><mml:math id="M212" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M213" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">K</mml:mi></mml:mrow></mml:math></inline-formula> at 85–90 <inline-formula><mml:math id="M214" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude (their Fig. 12).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F12" specific-use="star"><?xmltex \currentcnt{12}?><?xmltex \def\figurename{Figure}?><label>Figure 12</label><caption><p id="d1e2932"><bold>(a)</bold> Sketch of the pyramid of integration times that is built up by the retrieval when moving from longer to shorter integration periods. The horizontal bars with dark colors mark the altitude where the retrieval is seeded using the temperature profile from the preceding level. <bold>(b, c)</bold> Temperature profiles retrieved with <bold>(b)</bold> 120 <inline-formula><mml:math id="M215" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> integration time and <bold>(c)</bold> 20 <inline-formula><mml:math id="M216" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> integration time. Dashed lines highlight phase lines of gravity waves (see text for details).</p></caption>
        <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f12.png"/>

      </fig>

      <p id="d1e2968">The implementation of our retrieval also allows us to increase the vertical resolution to, e.g., 500 and 300 <inline-formula><mml:math id="M217" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> in regions where the SNR is sufficient. A high vertical resolution is especially important for retrieving accurately the large vertical temperature gradients induced by large-amplitude waves that are on the verge of becoming convectively unstable. Due to the SNR required, generally, these very high-resolution retrievals are limited to altitudes of 30–70 <inline-formula><mml:math id="M218" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e2987">A common way for estimating the uncertainty of retrieved temperatures <inline-formula><mml:math id="M219" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mfenced open="(" close=")"><mml:mi>z</mml:mi></mml:mfenced></mml:mrow></mml:math></inline-formula> is computing the error propagation in the hydrostatic integration of the density profiles. Here, the assumed errors of the density profiles are the photon count uncertainties <inline-formula><mml:math id="M220" display="inline"><mml:msqrt><mml:mrow><mml:mi>N</mml:mi><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced></mml:mrow></mml:msqrt></mml:math></inline-formula> scaled accordingly. In our implementation, we use a different approach. Starting with the photon count profile <inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mfenced open="(" close=")"><mml:mi>z</mml:mi></mml:mfenced></mml:mrow></mml:math></inline-formula> and its uncertainty <inline-formula><mml:math id="M222" display="inline"><mml:msqrt><mml:mrow><mml:mi>N</mml:mi><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced></mml:mrow></mml:msqrt></mml:math></inline-formula>, we perform a set of 200 Monte Carlo experiments for each profile. In these experiments, the number of detected photons per bin <inline-formula><mml:math id="M223" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> is replaced with <inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:msqrt><mml:mi>N</mml:mi></mml:msqrt></mml:mrow></mml:math></inline-formula>, with <inline-formula><mml:math id="M225" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> being random numbers drawn from a Gaussian distribution with a standard deviation of one and zero mean. Then we apply the data reduction steps described above and run the retrieval separately for each of the 200 synthetic photon count profiles. In a last step, the final temperature profile is computed as the mean of all 200 retrieved profiles, and its uncertainty is given by the standard deviation.</p>
      <?pagebreak page1728?><p id="d1e3066">The Monte Carlo method has the big advantage that all data reduction steps are included in the assessment of temperature uncertainties <inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>T</mml:mi><mml:mfenced open="(" close=")"><mml:mi>z</mml:mi></mml:mfenced></mml:mrow></mml:math></inline-formula> in a completely natural way. That also applies to the initial seed temperatures taken from the SABER profile during the first iteration, i.e., retrieval of the nightly mean profile. Of course, the seed temperature is also fraught with uncertainty due to true measurement errors but also because the SABER measurements may have been acquired up to 1000 <inline-formula><mml:math id="M227" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> away from the location of CORAL. In order to include the impact of variations in seed temperature, we generate a set of seed profiles in the form <inline-formula><mml:math id="M228" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">seed</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced><mml:mo>+</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>T</mml:mi><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced></mml:mrow></mml:math></inline-formula>, one for each of the 200 synthetic photon count profiles, with <inline-formula><mml:math id="M229" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> being again random numbers that are different for each <inline-formula><mml:math id="M230" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> and have a standard deviation of one and zero mean. In the case of the SABER profile, <inline-formula><mml:math id="M231" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>T</mml:mi><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced></mml:mrow></mml:math></inline-formula> is assumed constant with a value of 20 <inline-formula><mml:math id="M232" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">K</mml:mi></mml:mrow></mml:math></inline-formula>, whereas for subsequent iterations, we use the uncertainty of the temperature profile retrieved in the previous iteration. This scheme ensures that the initialization error caused by the SABER profile is passed on to all lidar temperature profiles, resulting in robust uncertainty estimates for retrieved profiles.</p>
</sec>
<sec id="Ch1.S5">
  <label>5</label><title>Discussion</title>
      <p id="d1e3160">The CORAL instrument is the first middle atmosphere lidar that is capable of operating fully autonomously for extended periods. By putting computer software in charge and not relying on human operators to start, monitor, and stop the instrument, CORAL is destined to acquire atmospheric profiles whenever weather conditions allow for optical soundings. This not only maximizes the data return but also minimizes potential sampling biases. As demonstrated in Fig. <xref ref-type="fig" rid="Ch1.F11"/>, CORAL also operates in marginal weather and records data during short windows with gaps in the cloud layer, an opportunity normally not seized by conventional lidars because of the waste of time of the human operator. We believe that probing the atmosphere as often as possible is critical to capturing the true state of the atmosphere, in particular with regard to atmospheric gravity waves. There is a long-standing and ongoing discussion as to whether lidars in general underestimate wave activity because, being optical instruments, lidars are typically run during stable weather and clear skies conditions. However, for example, it is reasonable to assume that strong forcing of mountain waves occurs in stormy weather conditions, which are often accompanied by clouds. In contrast to conventional lidars, CORAL may operate under these conditions and thus capture strong wave responses not previously observed by other lidars. A study trying to quantify this potential “nice weather” bias is in preparation.</p>
      <p id="d1e3165">On the other hand, frequent observations – even if they are short – can reveal new insights in the evolution of gravity wave events and the question about their intermittency. <xref ref-type="bibr" rid="bib1.bibx21" id="text.30"/> detected large-amplitude and long-lasting (several days) mountain waves in CORAL measurements above Río Grande in southern Argentina. The magnitude of this event would have been certainly heavily underestimated given the coarser sampling of conventional lidars. <xref ref-type="bibr" rid="bib1.bibx6" id="text.31"/> compared CORAL gravity wave measurements acquired above Sodankylä, northern Finland, to gravity wave potential energy densities retrieved from the ECMWF IFS. In their study, <xref ref-type="bibr" rid="bib1.bibx6" id="text.32"/> showed that IFS forecasted the evolution of wave events reasonably well although wave amplitudes in the upper stratosphere were heavily underestimated. Again, the high cadence of the CORAL measurements turned out to be crucial for this study. A third example highlighting the importance of frequent observations is the work by <xref ref-type="bibr" rid="bib1.bibx17" id="text.33"/> who investigated the influences of source conditions on mountain wave penetration into the mesosphere above New Zealand using a predecessor instrument of CORAL. Finally, <xref ref-type="bibr" rid="bib1.bibx19" id="text.34"/> analyzed CORAL data for signatures of downward propagating gravity waves. Since these are relatively rare events, collecting as much observations as possible greatly improves the chances for finding cases in which the downward propagating waves are not masked by interference with strong upward propagating waves. During a previous campaign in the Bavarian Forest in Germany, CORAL also was able to capture a rare midlatitude noctilucent cloud event <xref ref-type="bibr" rid="bib1.bibx20" id="paren.35"/>.</p>
      <?pagebreak page1729?><p id="d1e3187">The above examples clearly demonstrate the scientific value of autonomous lidar systems. However, we also note that site selection plays an important role in the data return of an instrument as even the most powerful lidars can not operate if there is a constant thick cloud layer above. Based on our experience, sites in the lee of mountains are good places for setting up optical instrumentation. Figure <xref ref-type="fig" rid="Ch1.F13"/> shows nightly mean profiles acquired by CORAL at Río Grande, southern Argentina, in the lee of the southern Andes. Over the 12-month period, CORAL conducted observations on 243 nights, which equals about two out of three nights or 66.4 %. To our knowledge, no other lidar instrument achieved a similar high cadence over such a long period. <xref ref-type="bibr" rid="bib1.bibx18" id="text.36"/> report 74 observations with a daylight-capable iron lidar in 2011 (20 %). <xref ref-type="bibr" rid="bib1.bibx24" id="text.37"/> state 154 nights with sodium lidar observations in 2012–2016 (8 %), <xref ref-type="bibr" rid="bib1.bibx16" id="text.38"/> 519 Rayleigh lidar observations in 1994–2013 (7 %), and <xref ref-type="bibr" rid="bib1.bibx25" id="text.39"/> 302 Rayleigh lidar observations in 2005–2015 (8 %). The comparison of latter numbers (7 %–20 %) with CORAL observations (66 %) shows the extraordinariness of the CORAL data set.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F13"><?xmltex \currentcnt{13}?><?xmltex \def\figurename{Figure}?><label>Figure 13</label><caption><p id="d1e3207">Nightly mean temperature profiles acquired by CORAL over a 12-month period in 2019 and 2020.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f13.png"/>

      </fig>

      <p id="d1e3216">The reliability of CORAL measurements is demonstrated in Fig. <xref ref-type="fig" rid="Ch1.F14"/> which shows a comparison between a radiosonde and a lidar temperature profile. The coincident radiosonde sounding was acquired on 16 November 2019 during the Southern Hemisphere Transport, Dynamics and Chemistry (SOUTHTRAC) campaign <xref ref-type="bibr" rid="bib1.bibx30" id="paren.40"/>. The radiosonde was launched at the Río Grande airport at <inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M234" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> distance from the location of CORAL at 00:09 UTC. Almost 2 h later, a hole in the cloud layer of <inline-formula><mml:math id="M235" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">35</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M236" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> duration enabled lidar observations and the retrieval of a temperature profile with 20 <inline-formula><mml:math id="M237" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> integration period centered at 02:13 UTC. This period coincides with the upper part of the radiosonde sounding. Both profiles are in nearly perfect agreement with a mean difference of <inline-formula><mml:math id="M238" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0.6</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M239" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">K</mml:mi></mml:mrow></mml:math></inline-formula> between 28 and 33 <inline-formula><mml:math id="M240" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude. While mean differences increase to <inline-formula><mml:math id="M241" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">2.7</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M242" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">K</mml:mi></mml:mrow></mml:math></inline-formula> at the bottom of the lidar profile, we should keep in mind that the radiosonde crossed these altitudes about 1 <inline-formula><mml:math id="M243" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">h</mml:mi></mml:mrow></mml:math></inline-formula> earlier and atmospheric conditions have likely changed in the meantime. The lidar measurement was acquired in fully automatic mode demonstrating that the conscan method achieved beam overlap and tracking in less than 10 <inline-formula><mml:math id="M244" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> after a cold start of the system. Furthermore, the comparison shown in Fig. <xref ref-type="fig" rid="Ch1.F14"/> supports the conclusion that range-dependent defocusing of the telescope is not significant as otherwise we should see a dramatically diverging lidar temperature profile at altitudes below 20 <inline-formula><mml:math id="M245" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> (see Sect. S2 in the Supplement).</p>

      <fig id="Ch1.F14"><?xmltex \currentcnt{14}?><?xmltex \def\figurename{Figure}?><label>Figure 14</label><caption><p id="d1e3341">Radiosonde and lidar profile acquired on 16 November 2019. The arrows indicate the height of the radiosonde at different times. Reception of the radiosonde signal was briefly lost at 28 <inline-formula><mml:math id="M246" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> altitude. The shaded area marks the uncertainty of the lidar profile.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://amt.copernicus.org/articles/14/1715/2021/amt-14-1715-2021-f14.png"/>

      </fig>

      <p id="d1e3358">From an operational point of view, after the completion of the testing phase, CORAL exceeded all expectations. The instrument has been collecting data on a routine basis for the last 13 months without requiring any on-site service and is still operating normally as of October 2020. That not only demonstrates the robustness of the system but has also proven the very importance of the continuation of the long-term observations given the ongoing travel restrictions due to the COVID-19 pandemic. The performance of the lidar is slowly degrading due to a buildup of dust on the telescope mirror and laser turning mirror. However, the lidar system has enough performance reserves to continue observations for another year before cleaning will be necessary. The other limiting factor is the lifetime of the deionization cartridge in the primary cooling loop of the laser, which normally lasts about 1 year. Accepting a higher risk of failure, based on our experience the laser can be operated with the same cartridge for up to 2 years. The addition of a conductivity meter for monitoring the coolant is planned as part of a larger upgrade of the lidar instrument.</p>
      <p id="d1e3361">Most of the teething problems in the early days of CORAL were caused by or related to software problems. For example, a race condition in the software of one of the two MDMs resulted in the telescope hatch not closing during an approaching rain shower, causing flooding of the telescope compartment. In another incident, a configuration error prevented the successful transfer of authority from one MDM to the other when the first MDM was disabled by a faulty power supply. As a result, environmental control was lost, and the freezing of the primary cooling loop of the laser led to permanent damage and made replacement necessary. These examples show that quality assurance in software development is of similar criticality for the success of an instrument like CORAL as the design of the hardware. Whereas most of the hardware comprises off-the-shelf components, the software that empowers CORAL to make autonomous observations is unique. The same applies to the beam tracking system described in Sect. <xref ref-type="sec" rid="Ch1.S2.SS3.SSS1"/>, which to our knowledge is the first application of the conical scan method to middle atmosphere lidars. Again, the hardware is rather simple and<?pagebreak page1730?> straightforward to implement in lidars, and it is the software that represents a major advancement in technology.</p>
      <p id="d1e3366">Based on the above examples, we argue that, in the past, the software was an often overlooked and underappreciated aspect in the development of lidar technologies. That even may have been a natural consequence given that most lidars are built by physicists and engineers who usually are not trained software developers. In order to facilitate the development of new technologies including advances in hardware and software, we propose to include trained software developers in lidar teams. Furthermore, we encourage the lidar community to share algorithms and software. Based on our experience with CORAL, it takes considerable efforts and resources to develop software and test it. In our opinion, it is a waste of resources if every group has to start from scratch developing more or less the same set of tools.</p>
</sec>
<sec id="Ch1.S6" sec-type="conclusions">
  <label>6</label><title>Conclusions</title>
      <p id="d1e3377">This work has described a new autonomous middle atmosphere temperature lidar that is capable of performing fully automatic observations over extended periods, potentially years. This capability represents a major advancement over conventional lidars that are operated only during campaigns or during certain days per week. Not only does the automatic system result in significantly reduced operating costs as no personnel is needed to run the lidar, but the high cadence of the observations also enables new scientific studies. Thus, the CORAL system is a valuable tool for the scientific community, and its success may prompt the development and installation of a whole new class of middle atmosphere lidars that can be used for a broad range of scientific studies, e.g., atmospheric gravity wave research, climate monitoring, and satellite data validation. In order to facilitate scientific progress and seed the development of CORAL-type lidars, we will make the CORAL software available to the community.</p>
</sec>

      
      </body>
    <back><notes notes-type="codeavailability"><title>Code availability</title>

      <p id="d1e3384">The CORAL software is available to the community upon request. It may be placed in a public software repository in future.</p>
  </notes><notes notes-type="dataavailability"><title>Data availability</title>

      <p id="d1e3390">Quicklook plots and real-time status information are available through the web site <uri>https://halo-db.pa.op.dlr.de/mission/111</uri> <xref ref-type="bibr" rid="bib1.bibx12" id="paren.41"/>.</p>
  </notes><app-group>
        <supplementary-material position="anchor"><p id="d1e3399">The supplement related to this article is available online at: <inline-supplementary-material xlink:href="https://doi.org/10.5194/amt-14-1715-2021-supplement" xlink:title="pdf">https://doi.org/10.5194/amt-14-1715-2021-supplement</inline-supplementary-material>.<?xmltex \hack{\newpage}?></p></supplementary-material>
        </app-group><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e3409">BK designed the CORAL system and wrote the paper. NK and BK developed the CORAL software. NK contributed Figs. 10 and 11.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e3415">The authors declare that they have no conflict of interest.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e3421">The authors thank Christian Büdenbender (laser modification) and Philipp Roßi (electronics) for their support during the construction and maintenance of CORAL, Jose Luis Hormaechea for resolving technical issues on-site, and Sonja Gisinger for the radiosonde data. Robert Reichert supported the installation and maintenance during on-site visits. Access to ECMWF forecast data was granted through the special project “Vertical Propagation of Internal Gravity Waves” by Andreas Dörnbrack.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e3426">This research has been supported by the European Commission's Horizon 2020 Framework Programme (ARISE2 (grant no. 653980)) and the Helmholtz-Gemeinschaft (grant no. PD-206).<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?>The article processing charges for this open-access <?xmltex \hack{\newline}?> publication  were covered by a Research <?xmltex \hack{\newline}?> Centre of the Helmholtz Association.</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e3440">This paper was edited by Gerd Baumgarten and reviewed by Philippe Keckhut and one anonymous referee.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><?xmltex \def\ref@label{{Alexander et~al.(2011)Alexander, Klekociuk, and
Murphy}}?><label>Alexander et al.(2011)Alexander, Klekociuk, and
Murphy</label><?label alexander:2011?><mixed-citation>Alexander, S. P., Klekociuk, A. R., and Murphy, D. J.: Rayleigh lidar
observations of gravity wave activity in the winter upper stratosphere and
lower mesosphere above Davis, Antarctica (69<inline-formula><mml:math id="M247" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>S, 78<inline-formula><mml:math id="M248" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>E), J.
Geophys. Res.-Atmos., 116, D13109,
<ext-link xlink:href="https://doi.org/10.1029/2010JD015164" ext-link-type="DOI">10.1029/2010JD015164</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx2"><?xmltex \def\ref@label{{Collis(1965)}}?><label>Collis(1965)</label><?label Collis1965?><mixed-citation>Collis, R. T. H.: Lidar Observation of Cloud, Science, 149, 978–981,
<ext-link xlink:href="https://doi.org/10.1126/science.149.3687.978" ext-link-type="DOI">10.1126/science.149.3687.978</ext-link>, 1965.</mixed-citation></ref>
      <ref id="bib1.bibx3"><?xmltex \def\ref@label{{Duck et~al.(2001)Duck, Sipler, Salah, and Meriwether}}?><label>Duck et al.(2001)Duck, Sipler, Salah, and Meriwether</label><?label duck:2001?><mixed-citation>Duck, T. J., Sipler, D. P., Salah, J. E., and Meriwether, J. W.: Rayleigh lidar
observations of a mesospheric inversion layer during night and day,
Geophys. Res. Lett., 28, 3597–3600,
<ext-link xlink:href="https://doi.org/10.1029/2001GL013409" ext-link-type="DOI">10.1029/2001GL013409</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx4"><?xmltex \def\ref@label{{Eckermann et~al.(2018)Eckermann, Ma, Hoppel, Kuhl, Allen, Doyle,
Viner, Ruston, Baker, Swadley, Whitcomb, Reynolds, Xu, Kaifler, Kaifler,
Reid, Murphy, and Love}}?><label>Eckermann et al.(2018)Eckermann, Ma, Hoppel, Kuhl, Allen, Doyle,
Viner, Ruston, Baker, Swadley, Whitcomb, Reynolds, Xu, Kaifler, Kaifler,
Reid, Murphy, and Love</label><?label eckermann:2018?><mixed-citation>Eckermann, S. D., Ma, J., Hoppel, K. W., Kuhl, D. D., Allen, D. R., Doyle,
J. A., Viner, K. C., Ruston, B. C., Baker, N. L., Swadley, S. D., Whitcomb,
T. R., Reynolds, C. A., Xu, L., Kaifler, N., Kaifler, B., Reid, I. M.,
Murphy, D. J., and Love, P. T.: High-Altitude (0–100 km) Global Atmospheric
Reanalysis System: Description and Application to the 2014 Austral Winter of
the Deep Propagating Gravity Wave Experiment (DEEPWAVE), Mon. Weather
Rev., 146, 2639–2666, <ext-link xlink:href="https://doi.org/10.1175/MWR-D-17-0386.1" ext-link-type="DOI">10.1175/MWR-D-17-0386.1</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx5"><?xmltex \def\ref@label{{Ehard et~al.(2017)Ehard, Kaifler, D\"{o}rnbrack, Preusse, Eckermann,
Bramberger, Gisinger, Kaifler, Liley, Wagner, and Rapp}}?><label>Ehard et al.(2017)Ehard, Kaifler, Dörnbrack, Preusse, Eckermann,
Bramberger, Gisinger, Kaifler, Liley, Wagner, and Rapp</label><?label ehard2017?><mixed-citation>Ehard, B., Kaifler, B., Dörnbrack, A.,<?pagebreak page1731?> Preusse, P., Eckermann, S., Bramberger,
M., Gisinger, S., Kaifler, N., Liley, B., Wagner, J., and Rapp, M.:
Horizontal propagation of large-amplitude mountain waves into the polar night
jet, J. Geophys. Res., 122, 1423–1436,
<ext-link xlink:href="https://doi.org/10.1002/2016JD025621" ext-link-type="DOI">10.1002/2016JD025621</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx6"><?xmltex \def\ref@label{{Ehard et~al.(2018)Ehard, Malardel, D\"{o}rnbrack, Kaifler, Kaifler, and
Wedi}}?><label>Ehard et al.(2018)Ehard, Malardel, Dörnbrack, Kaifler, Kaifler, and
Wedi</label><?label Ehard2018?><mixed-citation>Ehard, B., Malardel, S., Dörnbrack, A., Kaifler, B., Kaifler, N., and Wedi,
N.: Comparing ECMWF high-resolution analyses with lidar temperature
measurements in the middle atmosphere, Q. J. Roy.
Meteor. Soc., 144, 633–640, <ext-link xlink:href="https://doi.org/10.1002/qj.3206" ext-link-type="DOI">10.1002/qj.3206</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx7"><?xmltex \def\ref@label{{Engelmann et~al.(2016)Engelmann, Kanitz, Baars, Heese, Althausen,
Skupin, Wandinger, Komppula, Stachlewska, Amiridis, Marinou, Mattis, Linn\'{e},
and Ansmann}}?><label>Engelmann et al.(2016)Engelmann, Kanitz, Baars, Heese, Althausen,
Skupin, Wandinger, Komppula, Stachlewska, Amiridis, Marinou, Mattis, Linné,
and Ansmann</label><?label engelmann2016?><mixed-citation>Engelmann, R., Kanitz, T., Baars, H., Heese, B., Althausen, D., Skupin, A., Wandinger, U., Komppula, M., Stachlewska, I. S., Amiridis, V., Marinou, E., Mattis, I., Linné, H., and Ansmann, A.: The automated multiwavelength Raman polarization and water-vapor lidar Polly<inline-formula><mml:math id="M249" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">XT</mml:mi></mml:msup></mml:math></inline-formula>: the neXT generation, Atmos. Meas. Tech., 9, 1767–1784, <ext-link xlink:href="https://doi.org/10.5194/amt-9-1767-2016" ext-link-type="DOI">10.5194/amt-9-1767-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx8"><?xmltex \def\ref@label{{Fritts et~al.(2019)Fritts, Wang, Taylor, Pautet, Criddle, Kaifler,
Eckermann, and Liley}}?><label>Fritts et al.(2019)Fritts, Wang, Taylor, Pautet, Criddle, Kaifler,
Eckermann, and Liley</label><?label fritts2019deepwave?><mixed-citation>Fritts, D., Wang, L., Taylor, M., Pautet, P.-D., Criddle, N., Kaifler, B.,
Eckermann, S., and Liley, B.: Large-Amplitude Mountain Waves in the
Mesosphere Observed on 21 June 2014 During DEEPWAVE: 2. Nonlinear Dynamics,
Wave Breaking, and Instabilities, J. Geophys. Res.-Atmos., 124, 10006–10032, <ext-link xlink:href="https://doi.org/10.1029/2019JD030899" ext-link-type="DOI">10.1029/2019JD030899</ext-link>,
2019.</mixed-citation></ref>
      <ref id="bib1.bibx9"><?xmltex \def\ref@label{{Fritts et~al.(2016)Fritts, Smith, Taylor, Doyle, Eckermann,
D\"{o}rnbrack, Rapp, Williams, Pautet, Bossert, Criddle, Reynolds, Reinecke,
Uddstrom, Revell, Turner, Kaifler, Wagner, Mixa, Kruse, Nugent, Watson,
Gisinger, Smith, Lieberman, Laughman, Moore, Brown, Haggerty, Rockwell,
Stossmeister, Williams, Hernandez, Murphy, Klekociuk, Reid, and
Ma}}?><label>Fritts et al.(2016)Fritts, Smith, Taylor, Doyle, Eckermann,
Dörnbrack, Rapp, Williams, Pautet, Bossert, Criddle, Reynolds, Reinecke,
Uddstrom, Revell, Turner, Kaifler, Wagner, Mixa, Kruse, Nugent, Watson,
Gisinger, Smith, Lieberman, Laughman, Moore, Brown, Haggerty, Rockwell,
Stossmeister, Williams, Hernandez, Murphy, Klekociuk, Reid, and
Ma</label><?label fritts:deepwave?><mixed-citation>Fritts, D. C., Smith, R. B., Taylor, M. J., Doyle, J. D., Eckermann, S. D.,
Dörnbrack, A., Rapp, M., Williams, B. P., Pautet, P.-D., Bossert, K.,
Criddle, N. R., Reynolds, C. A., Reinecke, P. A., Uddstrom, M., Revell,
M. J., Turner, R., Kaifler, B., Wagner, J. S., Mixa, T., Kruse, C. G.,
Nugent, A. D., Watson, C. D., Gisinger, S., Smith, S. M., Lieberman, R. S.,
Laughman, B., Moore, J. J., Brown, W. O., Haggerty, J. A., Rockwell, A.,
Stossmeister, G. J., Williams, S. F., Hernandez, G., Murphy, D. J.,
Klekociuk, A. R., Reid, I. M., and Ma, J.: The Deep Propagating Gravity Wave
Experiment (DEEPWAVE): An Airborne and Ground-Based Exploration of Gravity
Wave Propagation and Effects from Their Sources throughout the Lower and
Middle Atmosphere, B. Am. Meteorol. Soc., 97,
425–453, <ext-link xlink:href="https://doi.org/10.1175/BAMS-D-14-00269.1" ext-link-type="DOI">10.1175/BAMS-D-14-00269.1</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx10"><?xmltex \def\ref@label{{Fujii(2005)}}?><label>Fujii(2005)</label><?label Fujii2005?><mixed-citation>
Fujii, T.: Laser Remote Sensing, CRC Press, Abingdon, UK,
2005.</mixed-citation></ref>
      <ref id="bib1.bibx11"><?xmltex \def\ref@label{{{Gawronski} and {Craparo}(2002)}}?><label>Gawronski and Craparo(2002)</label><?label gawronski:2002?><mixed-citation>Gawronski, W. and Craparo, E. M.: Antenna scanning techniques for
estimation of spacecraft position, IEEE Antennas and Propagation Magazine,
44, 38–45, <ext-link xlink:href="https://doi.org/10.1109/MAP.2002.1167263" ext-link-type="DOI">10.1109/MAP.2002.1167263</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bibx12"><?xmltex \def\ref@label{{German Aerospace Center(2021)}}?><label>German Aerospace Center(2021)</label><?label DLR2021?><mixed-citation>German Aerospace Center: The HALO Database, Mission: SOUTHWAVE, available at: <uri>https://halo-db.pa.op.dlr.de/mission/111</uri>, last access: 22 February 2021.</mixed-citation></ref>
      <ref id="bib1.bibx13"><?xmltex \def\ref@label{{Goldsmith et~al.(1998)Goldsmith, Blair, Bisson, and
Turner}}?><label>Goldsmith et al.(1998)Goldsmith, Blair, Bisson, and
Turner</label><?label goldsmith1998?><mixed-citation>Goldsmith, J. E. M., Blair, F. H., Bisson, S. E., and Turner, D. D.: Turn-key
Raman lidar for profiling atmospheric water vapor, clouds, and aerosols,
Appl. Opt., 37, 4979–4990, <ext-link xlink:href="https://doi.org/10.1364/AO.37.004979" ext-link-type="DOI">10.1364/AO.37.004979</ext-link>, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx14"><?xmltex \def\ref@label{{Hauchecorne and Chanin(1980)}}?><label>Hauchecorne and Chanin(1980)</label><?label hauchecorne:1980?><mixed-citation>Hauchecorne, A. and Chanin, M.-L.: Density and temperature profiles obtained by
lidar between 35 and 70 km, Geophys. Res. Lett., 7, 565–568,
<ext-link xlink:href="https://doi.org/10.1029/GL007i008p00565" ext-link-type="DOI">10.1029/GL007i008p00565</ext-link>, 1980.</mixed-citation></ref>
      <ref id="bib1.bibx15"><?xmltex \def\ref@label{{Innis et~al.(2007)Innis, Cunningham, Graham, and
Klekociuk}}?><label>Innis et al.(2007)Innis, Cunningham, Graham, and
Klekociuk</label><?label Innis:2007?><mixed-citation>Innis, J. L., Cunningham, A. P., Graham, A. D., and Klekociuk, A. R.:
Automatically guiding a telescope to a laser beam on a biaxial antarctic
light detection and ranging system, Opt. Eng., 46, 1–8,
<ext-link xlink:href="https://doi.org/10.1117/1.2801411" ext-link-type="DOI">10.1117/1.2801411</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx16"><?xmltex \def\ref@label{{Jalali et~al.(2018)Jalali, Sica, and Haefele}}?><label>Jalali et al.(2018)Jalali, Sica, and Haefele</label><?label Jalali2018?><mixed-citation>Jalali, A., Sica, R. J., and Haefele, A.: Improvements to a long-term Rayleigh-scatter lidar temperature climatology by using an optimal estimation method, Atmos. Meas. Tech., 11, 6043–6058, <ext-link xlink:href="https://doi.org/10.5194/amt-11-6043-2018" ext-link-type="DOI">10.5194/amt-11-6043-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx17"><?xmltex \def\ref@label{{Kaifler et~al.(2015{\natexlab{a}})Kaifler, Kaifler, Ehard,
D\"{o}rnbrack, Rapp, and Fritts}}?><label>Kaifler et al.(2015a)Kaifler, Kaifler, Ehard,
Dörnbrack, Rapp, and Fritts</label><?label kaifler2015?><mixed-citation>Kaifler, B., Kaifler, N., Ehard, B., Dörnbrack, A., Rapp, M., and Fritts,
D. C.: Influences of source conditions on mountain wave penetration into the
stratosphere and mesosphere, Geophys. Res. Lett., 42, 9488–9494,
<ext-link xlink:href="https://doi.org/10.1002/2015GL066465" ext-link-type="DOI">10.1002/2015GL066465</ext-link>, 2015a.</mixed-citation></ref>
      <ref id="bib1.bibx18"><?xmltex \def\ref@label{{Kaifler et~al.(2015{\natexlab{b}})Kaifler, L\"{u}bken, H\"{o}ffner, Morris,
and Viehl}}?><label>Kaifler et al.(2015b)Kaifler, Lübken, Höffner, Morris,
and Viehl</label><?label kaifler2015jgr?><mixed-citation>Kaifler, B., Lübken, F.-J., Höffner, J., Morris, R. J., and Viehl, T. P.:
Lidar observations of gravity wave activity in the middle atmosphere over
Davis (69<inline-formula><mml:math id="M250" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>S, 78<inline-formula><mml:math id="M251" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>E), Antarctica, J. Geophys. Res.-Atmos., 120, 4506–4521, <ext-link xlink:href="https://doi.org/10.1002/2014JD022879" ext-link-type="DOI">10.1002/2014JD022879</ext-link>, 2015b.</mixed-citation></ref>
      <ref id="bib1.bibx19"><?xmltex \def\ref@label{{Kaifler et~al.(2017)Kaifler, Kaifler, Ehard, Gisinger, D\"{o}rnbrack,
Rapp, Kivi, Kozlovsky, Lester, and Liley}}?><label>Kaifler et al.(2017)Kaifler, Kaifler, Ehard, Gisinger, Dörnbrack,
Rapp, Kivi, Kozlovsky, Lester, and Liley</label><?label kaifler2017?><mixed-citation>Kaifler, N., Kaifler, B., Ehard, B., Gisinger, S., Dörnbrack, A., Rapp, M.,
Kivi, R., Kozlovsky, A., Lester, M., and Liley, B.: Observational indications
of downward-propagating gravity waves in middle atmosphere lidar data,
J. Atmos. Sol.-Terr. Phy., 162, 16–27,
<ext-link xlink:href="https://doi.org/10.1016/j.jastp.2017.03.003" ext-link-type="DOI">10.1016/j.jastp.2017.03.003</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx20"><?xmltex \def\ref@label{{Kaifler et~al.(2018)Kaifler, Kaifler, Wilms, Rapp, Stober, and
Jacobi}}?><label>Kaifler et al.(2018)Kaifler, Kaifler, Wilms, Rapp, Stober, and
Jacobi</label><?label kaifler2018?><mixed-citation>Kaifler, N., Kaifler, B., Wilms, H., Rapp, M., Stober, G., and Jacobi, C.:
Mesospheric Temperature During the Extreme Midlatitude Noctilucent Cloud
Event on 18/19 July 2016, J. Geophys. Res.-Atmos., 123,
13775–13789, <ext-link xlink:href="https://doi.org/10.1029/2018JD029717" ext-link-type="DOI">10.1029/2018JD029717</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx21"><?xmltex \def\ref@label{{Kaifler et~al.(2020)Kaifler, Kaifler, D{\"{o}}rnbrack, Rapp,
Hormaechea, and de~la Torre}}?><label>Kaifler et al.(2020)Kaifler, Kaifler, Dörnbrack, Rapp,
Hormaechea, and de la Torre</label><?label Kaifler2020?><mixed-citation>Kaifler, N., Kaifler, B., Dörnbrack, A., Rapp, M., Hormaechea, J. L., and
de la Torre, A.: Lidar observations of large-amplitude mountain waves in the
stratosphere above Tierra del Fuego, Argentina, Sci. Rep., 10,
14529, <ext-link xlink:href="https://doi.org/10.1038/s41598-020-71443-7" ext-link-type="DOI">10.1038/s41598-020-71443-7</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx22"><?xmltex \def\ref@label{{Leblanc et~al.(1998)Leblanc, McDermid, Hauchecorne, and
Keckhut}}?><label>Leblanc et al.(1998)Leblanc, McDermid, Hauchecorne, and
Keckhut</label><?label leblanc:1998?><mixed-citation>Leblanc, T., McDermid, I. S., Hauchecorne, A., and Keckhut, P.: Evaluation of
optimization of lidar temperature analysis algorithms using simulated data,
J. Geophys. Res.-Atmos., 103, 6177–6187,
<ext-link xlink:href="https://doi.org/10.1029/97JD03494" ext-link-type="DOI">10.1029/97JD03494</ext-link>, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx23"><?xmltex \def\ref@label{{Li et~al.(2010)Li, Leblanc, McDermid, Wu, Dou, and Wang}}?><label>Li et al.(2010)Li, Leblanc, McDermid, Wu, Dou, and Wang</label><?label li:2010?><mixed-citation>Li, T., Leblanc, T., McDermid, I. S., Wu, D. L., Dou, X., and Wang, S.:
Seasonal and interannual variability of gravity wave activity revealed by
long-term lidar observations over Mauna Loa Observatory, Hawaii, J.
Geophys. Res.-Atmos., 115, D13103,
<ext-link xlink:href="https://doi.org/10.1029/2009JD013586" ext-link-type="DOI">10.1029/2009JD013586</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx24"><?xmltex \def\ref@label{{Li et~al.(2018)Li, Ban, Fang, Li, Wu, Feng, Plane, Xiong, Marsh,
Mills, and Dou}}?><label>Li et al.(2018)Li, Ban, Fang, Li, Wu, Feng, Plane, Xiong, Marsh,
Mills, and Dou</label><?label li2018?><mixed-citation>Li, T., Ban, C., Fang, X., Li, J., Wu, Z., Feng, W., Plane, J. M. C., Xiong, J., Marsh, D. R., Mills, M. J., and Dou, X.: Climatology of mesopause region nocturnal temperature, zonal wind and sodium density observed by sodium lidar over Hefei, China (32<inline-formula><mml:math id="M252" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N, 117<inline-formula><mml:math id="M253" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> E), Atmos. Chem. Phys., 18, 11683–11695, <ext-link xlink:href="https://doi.org/10.5194/acp-18-11683-2018" ext-link-type="DOI">10.5194/acp-18-11683-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx25"><?xmltex \def\ref@label{{Llamedo et~al.(2019)Llamedo, Salvador, de~la Torre, Quiroga,
Alexander, Hierro, Schmidt, Pazmi\~{n}o, and Quel}}?><label>Llamedo et al.(2019)Llamedo, Salvador, de la Torre, Quiroga,
Alexander, Hierro, Schmidt, Pazmiño, and Quel</label><?label alexander2019?><mixed-citation>Llamedo, P., Salvador, J., de la Torre, A., Quiroga, J., Alexander, P., Hierro,
R., Schmidt, T., Pazmiño, A., and Quel, E.: 11 Years of Rayleigh Lidar
Observations of Gravity Wave Activity Above the Southern Tip of South
America, J. Geophys. Res.-Atmos., 124, 451–467,
<ext-link xlink:href="https://doi.org/10.1029/2018JD028673" ext-link-type="DOI">10.1029/2018JD028673</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx26"><?xmltex \def\ref@label{{Markwardt(2009)}}?><label>Markwardt(2009)</label><?label markwardt:2009?><mixed-citation>
Markwardt, C.: Non-linear least squares fitting in IDL with MPFIT, in: Proceedings
of Astronomical Data Analysis Software and Systems, Québec City, QC, Canada, 2–5 November 2008, Astronomical Data Analysis Software and Systems XVIII ASP Conference Series, Vol. 411, edited by: Bohlender, D. A., Durand, D., and Dowler, P., Astronomical Society of the Pacific, San Francisco, 251 pp., 2009.</mixed-citation></ref>
      <ref id="bib1.bibx27"><?xmltex \def\ref@label{{Montenbruck and Pfleger(2013)}}?><label>Montenbruck and Pfleger(2013)</label><?label Montenbruck2013astronomy?><mixed-citation>Montenbruck, O. and Pfleger, T.: Astronomy on the Personal Computer, Springer, Berlin, Heidelberg, Germany,
<ext-link xlink:href="https://doi.org/10.1007/978-3-642-03436-7" ext-link-type="DOI">10.1007/978-3-642-03436-7</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx28"><?xmltex \def\ref@label{{Mz\'{e} et~al.(2014)Mz\'{e}, Hauchecorne, Keckhut, and Th\'{e}tis}}?><label>Mzé et al.(2014)Mzé, Hauchecorne, Keckhut, and Thétis</label><?label mze:2014?><mixed-citation>Mzé, N., Hauchecorne, A., Keckhut, P., and Thétis, M.: Vertical dis<?pagebreak page1732?>tribution
of gravity wave potential energy from long-term Rayleigh lidar data at a
northern middle-latitude site, J. Geophys. Res.-Atmos.,
119, 12069–12083, <ext-link xlink:href="https://doi.org/10.1002/2014JD022035" ext-link-type="DOI">10.1002/2014JD022035</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx29"><?xmltex \def\ref@label{{Pautet et~al.(2014)Pautet, Taylor, Pendleton, Zhao, Yuan, Esplin, and
McLain}}?><label>Pautet et al.(2014)Pautet, Taylor, Pendleton, Zhao, Yuan, Esplin, and
McLain</label><?label Pautet2014?><mixed-citation>Pautet, P.-D., Taylor, M. J., Pendleton, W. R., Zhao, Y., Yuan, T., Esplin, R.,
and McLain, D.: Advanced mesospheric temperature mapper for high-latitude
airglow studies, Appl. Opt., 53, 5934–5943, <ext-link xlink:href="https://doi.org/10.1364/AO.53.005934" ext-link-type="DOI">10.1364/AO.53.005934</ext-link>,
2014.</mixed-citation></ref>
      <ref id="bib1.bibx30"><?xmltex \def\ref@label{{Rapp et~al.(2020)Rapp, Kaifler, D\"{o}rnbrack, Gisinger, Mixa, Reichert,
Kaifler, Knobloch, Eckert, Wildmann, Giez, Krasauskas, Preusse, Geldenhuys,
Riese, Woiwode, Friedl-Vallon, Sinnhuber, de~la Torre, Alexander, Hormaechea,
Janches, Garhammer, Chau, Conte, Hoor, and Engel}}?><label>Rapp et al.(2020)Rapp, Kaifler, Dörnbrack, Gisinger, Mixa, Reichert,
Kaifler, Knobloch, Eckert, Wildmann, Giez, Krasauskas, Preusse, Geldenhuys,
Riese, Woiwode, Friedl-Vallon, Sinnhuber, de la Torre, Alexander, Hormaechea,
Janches, Garhammer, Chau, Conte, Hoor, and Engel</label><?label rapp:2020?><mixed-citation>Rapp, M., Kaifler, B., Dörnbrack, A., Gisinger, S., Mixa, T., Reichert, R.,
Kaifler, N., Knobloch, S., Eckert, R., Wildmann, N., Giez, A., Krasauskas,
L., Preusse, P., Geldenhuys, M., Riese, M., Woiwode, W., Friedl-Vallon, F.,
Sinnhuber, B.-M., de la Torre, A., Alexander, P., Hormaechea, J. L., Janches,
D., Garhammer, M., Chau, J. L., Conte, J. F., Hoor, P., and Engel, A.:
SOUTHTRAC-GW: An airborne field campaign to explore gravity wave dynamics at
the world's strongest hotspot, B. Am. Meteorol.
Soc., 1–60, <ext-link xlink:href="https://doi.org/10.1175/BAMS-D-20-0034.1" ext-link-type="DOI">10.1175/BAMS-D-20-0034.1</ext-link>, online first, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx31"><?xmltex \def\ref@label{{Rauthe et~al.(2008)Rauthe, Gerding, and L\"{u}bken}}?><label>Rauthe et al.(2008)Rauthe, Gerding, and Lübken</label><?label rauthe:2008?><mixed-citation>Rauthe, M., Gerding, M., and Lübken, F.-J.: Seasonal changes in gravity wave activity measured by lidars at mid-latitudes, Atmos. Chem. Phys., 8, 6775–6787, <ext-link xlink:href="https://doi.org/10.5194/acp-8-6775-2008" ext-link-type="DOI">10.5194/acp-8-6775-2008</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx32"><?xmltex \def\ref@label{{Reichardt et~al.(2012)Reichardt, Wandinger, Klein, Mattis, Hilber,
and Begbie}}?><label>Reichardt et al.(2012)Reichardt, Wandinger, Klein, Mattis, Hilber,
and Begbie</label><?label reichardt2012?><mixed-citation>Reichardt, J., Wandinger, U., Klein, V., Mattis, I., Hilber, B., and Begbie,
R.: RAMSES: German Meteorological Service autonomous Raman lidar for water
vapor, temperature, aerosol, and cloud measurements, Appl. Opt., 51,
8111–8131, <ext-link xlink:href="https://doi.org/10.1364/AO.51.008111" ext-link-type="DOI">10.1364/AO.51.008111</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx33"><?xmltex \def\ref@label{{Reichert et~al.(2019)Reichert, Kaifler, Kaifler, Rapp, Pautet,
Taylor, Kozlovsky, Lester, and Kivi}}?><label>Reichert et al.(2019)Reichert, Kaifler, Kaifler, Rapp, Pautet,
Taylor, Kozlovsky, Lester, and Kivi</label><?label reichert2019?><mixed-citation>Reichert, R., Kaifler, B., Kaifler, N., Rapp, M., Pautet, P.-D., Taylor, M. J., Kozlovsky, A., Lester, M., and Kivi, R.: Retrieval of intrinsic mesospheric gravity wave parameters using lidar and airglow temperature and meteor radar wind data, Atmos. Meas. Tech., 12, 5997–6015, <ext-link xlink:href="https://doi.org/10.5194/amt-12-5997-2019" ext-link-type="DOI">10.5194/amt-12-5997-2019</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx34"><?xmltex \def\ref@label{{Schuster(1970)}}?><label>Schuster(1970)</label><?label schuster1970?><mixed-citation>Schuster, B. G.: Detection of tropospheric and stratospheric aerosol layers by
optical radar (Lidar), J. Geophys. Res., 75,
3123–3132, <ext-link xlink:href="https://doi.org/10.1029/JC075i015p03123" ext-link-type="DOI">10.1029/JC075i015p03123</ext-link>, 1970.</mixed-citation></ref>
      <ref id="bib1.bibx35"><?xmltex \def\ref@label{{Sivakumar et~al.(2006)Sivakumar, Rao, and Bencherif}}?><label>Sivakumar et al.(2006)Sivakumar, Rao, and Bencherif</label><?label sivakumar:2006?><mixed-citation>Sivakumar, V., Rao, P. B., and Bencherif, H.: Lidar observations of middle atmospheric gravity wave activity over a low-latitude site (Gadanki, 13.5<inline-formula><mml:math id="M254" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N, 79.2<inline-formula><mml:math id="M255" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> E), Ann. Geophys., 24, 823–834, <ext-link xlink:href="https://doi.org/10.5194/angeo-24-823-2006" ext-link-type="DOI">10.5194/angeo-24-823-2006</ext-link>, 2006.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bibx36"><?xmltex \def\ref@label{{SCPI(1999)}}?><label>SCPI(1999)</label><?label SCPI?><mixed-citation>Standard Commands for Programmable Instruments (SCPI): Standard Commands for Programmable Instruments (SCPI), Volume 1: Syntax and Style, VERSION 1999.0,
printed in USA, Copyright 1999 SCPI Consortium, available at: <uri>https://www.ivifoundation.org/docs/scpi-99.pdf</uri> (last access: 25 February 2021), 1999.</mixed-citation></ref>
      <ref id="bib1.bibx37"><?xmltex \def\ref@label{{Strawbridge(2013)}}?><label>Strawbridge(2013)</label><?label strawbridge2013?><mixed-citation>Strawbridge, K. B.: Developing a portable, autonomous aerosol backscatter lidar for network or remote operations, Atmos. Meas. Tech., 6, 801–816, <ext-link xlink:href="https://doi.org/10.5194/amt-6-801-2013" ext-link-type="DOI">10.5194/amt-6-801-2013</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx38"><?xmltex \def\ref@label{{Strawbridge et~al.(2018)Strawbridge, Travis, Firanski, Brook,
Staebler, and Leblanc}}?><label>Strawbridge et al.(2018)Strawbridge, Travis, Firanski, Brook,
Staebler, and Leblanc</label><?label strawbridge2018?><mixed-citation>Strawbridge, K. B., Travis, M. S., Firanski, B. J., Brook, J. R., Staebler, R., and Leblanc, T.: A fully autonomous ozone, aerosol and nighttime water vapor lidar: a synergistic approach to profiling the atmosphere in the Canadian oil sands region, Atmos. Meas. Tech., 11, 6735–6759, <ext-link xlink:href="https://doi.org/10.5194/amt-11-6735-2018" ext-link-type="DOI">10.5194/amt-11-6735-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx39"><?xmltex \def\ref@label{{Taylor et~al.(2019)Taylor, Pautet, Fritts, Kaifler, Smith, Zhao,
Criddle, McLaughlin, Pendleton, McCarthy, Hernandez, Eckermann, Doyle, Rapp,
Liley, and Russell}}?><label>Taylor et al.(2019)Taylor, Pautet, Fritts, Kaifler, Smith, Zhao,
Criddle, McLaughlin, Pendleton, McCarthy, Hernandez, Eckermann, Doyle, Rapp,
Liley, and Russell</label><?label taylor2019?><mixed-citation>Taylor, M., Pautet, P.-D., Fritts, D., Kaifler, B., Smith, S., Zhao, Y.,
Criddle, N., McLaughlin, P., Pendleton, W. R. J., McCarthy, M., Hernandez,
G., Eckermann, S., Doyle, J., Rapp, M., Liley, B., and Russell, J. M.:
Large-Amplitude Mountain Waves in the Mesosphere Observed on 21 June 2014
During DEEPWAVE: 1. Wave Development, Scales, Momentum Fluxes, and
Environmental Sensitivity, J. Geophys. Res.-Atmos., 124,
10364–10384, <ext-link xlink:href="https://doi.org/10.1029/2019JD030932" ext-link-type="DOI">10.1029/2019JD030932</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx40"><?xmltex \def\ref@label{{von Zahn et~al.(2000)von Zahn, von Cossart, Fiedler, Fricke, Nelke,
Baumgarten, Rees, Hauchecorne, and Adolfsen}}?><label>von Zahn et al.(2000)von Zahn, von Cossart, Fiedler, Fricke, Nelke,
Baumgarten, Rees, Hauchecorne, and Adolfsen</label><?label vonZahn2000?><mixed-citation>von Zahn, U., von Cossart, G., Fiedler, J., Fricke, K. H., Nelke, G.,
Baumgarten, G., Rees, D., Hauchecorne, A., and Adolfsen, K.: The ALOMAR
Rayleigh/Mie/Raman lidar: objectives, configuration, and performance, Ann.
Geophys., 18, 815–833, <ext-link xlink:href="https://doi.org/10.1007/s00585-000-0815-2" ext-link-type="DOI">10.1007/s00585-000-0815-2</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx41"><?xmltex \def\ref@label{{Wilson et~al.(1991)Wilson, Chanin, and Hauchecorne}}?><label>Wilson et al.(1991)Wilson, Chanin, and Hauchecorne</label><?label wilson:1991?><mixed-citation>Wilson, R., Chanin, M. L., and Hauchecorne, A.: Gravity waves in the middle
atmosphere observed by Rayleigh lidar: 2. Climatology, J. Geophys.
Res.-Atmos., 96, 5169–5183,
<ext-link xlink:href="https://doi.org/10.1029/90JD02610" ext-link-type="DOI">10.1029/90JD02610</ext-link>, 1991.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>A Compact Rayleigh Autonomous Lidar (CORAL) for  the middle atmosphere</article-title-html>
<abstract-html><p>The Compact Rayleigh Autonomous Lidar (CORAL) is the first fully autonomous middle atmosphere lidar system to provide density and temperature profiles from 15 to approximately 90&thinsp;km altitude. From October 2019 to October 2020, CORAL acquired temperature profiles on 243 out of the 365 nights (66&thinsp;%) above Río Grande, southern Argentina, a cadence which is 3–8 times larger as compared to conventional human-operated lidars. The result is an unprecedented data set with measurements on 2 out of 3 nights on average and high temporal (20&thinsp;min) and vertical (900&thinsp;m) resolution. The first studies using CORAL data have shown, for example, the evolution of a strong atmospheric gravity wave event and its impact on the stratospheric circulation. We describe the instrument and its novel software which enables automatic and unattended observations over periods of more than a year. A frequency-doubled diode-pumped pulsed Nd:YAG laser is used as the light source, and backscattered photons are detected using three elastic channels (532&thinsp;nm wavelength) and one Raman channel (608&thinsp;nm wavelength). Automatic tracking of the laser beam is realized by the implementation of the conical scan (conscan) method. The CORAL software detects blue sky conditions and makes the decision to start the instrument based on local meteorological measurements, detection of stars in all-sky images, and analysis of European Center for Medium-range Weather Forecasts Integrated Forecasting System data. After the instrument is up and running, the strength of the lidar return signal is used as additional information to assess sky conditions. Safety features in the software allow for the operation of the lidar even in marginal weather, which is a prerequisite to achieving the very high observation cadence.</p></abstract-html>
<ref-html id="bib1.bib1"><label>Alexander et al.(2011)Alexander, Klekociuk, and
Murphy</label><mixed-citation>
Alexander, S. P., Klekociuk, A. R., and Murphy, D. J.: Rayleigh lidar
observations of gravity wave activity in the winter upper stratosphere and
lower mesosphere above Davis, Antarctica (69°S, 78°E), J.
Geophys. Res.-Atmos., 116, D13109,
<a href="https://doi.org/10.1029/2010JD015164" target="_blank">https://doi.org/10.1029/2010JD015164</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Collis(1965)</label><mixed-citation>
Collis, R. T. H.: Lidar Observation of Cloud, Science, 149, 978–981,
<a href="https://doi.org/10.1126/science.149.3687.978" target="_blank">https://doi.org/10.1126/science.149.3687.978</a>, 1965.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Duck et al.(2001)Duck, Sipler, Salah, and Meriwether</label><mixed-citation>
Duck, T. J., Sipler, D. P., Salah, J. E., and Meriwether, J. W.: Rayleigh lidar
observations of a mesospheric inversion layer during night and day,
Geophys. Res. Lett., 28, 3597–3600,
<a href="https://doi.org/10.1029/2001GL013409" target="_blank">https://doi.org/10.1029/2001GL013409</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Eckermann et al.(2018)Eckermann, Ma, Hoppel, Kuhl, Allen, Doyle,
Viner, Ruston, Baker, Swadley, Whitcomb, Reynolds, Xu, Kaifler, Kaifler,
Reid, Murphy, and Love</label><mixed-citation>
Eckermann, S. D., Ma, J., Hoppel, K. W., Kuhl, D. D., Allen, D. R., Doyle,
J. A., Viner, K. C., Ruston, B. C., Baker, N. L., Swadley, S. D., Whitcomb,
T. R., Reynolds, C. A., Xu, L., Kaifler, N., Kaifler, B., Reid, I. M.,
Murphy, D. J., and Love, P. T.: High-Altitude (0–100&thinsp;km) Global Atmospheric
Reanalysis System: Description and Application to the 2014 Austral Winter of
the Deep Propagating Gravity Wave Experiment (DEEPWAVE), Mon. Weather
Rev., 146, 2639–2666, <a href="https://doi.org/10.1175/MWR-D-17-0386.1" target="_blank">https://doi.org/10.1175/MWR-D-17-0386.1</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Ehard et al.(2017)Ehard, Kaifler, Dörnbrack, Preusse, Eckermann,
Bramberger, Gisinger, Kaifler, Liley, Wagner, and Rapp</label><mixed-citation>
Ehard, B., Kaifler, B., Dörnbrack, A., Preusse, P., Eckermann, S., Bramberger,
M., Gisinger, S., Kaifler, N., Liley, B., Wagner, J., and Rapp, M.:
Horizontal propagation of large-amplitude mountain waves into the polar night
jet, J. Geophys. Res., 122, 1423–1436,
<a href="https://doi.org/10.1002/2016JD025621" target="_blank">https://doi.org/10.1002/2016JD025621</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Ehard et al.(2018)Ehard, Malardel, Dörnbrack, Kaifler, Kaifler, and
Wedi</label><mixed-citation>
Ehard, B., Malardel, S., Dörnbrack, A., Kaifler, B., Kaifler, N., and Wedi,
N.: Comparing ECMWF high-resolution analyses with lidar temperature
measurements in the middle atmosphere, Q. J. Roy.
Meteor. Soc., 144, 633–640, <a href="https://doi.org/10.1002/qj.3206" target="_blank">https://doi.org/10.1002/qj.3206</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Engelmann et al.(2016)Engelmann, Kanitz, Baars, Heese, Althausen,
Skupin, Wandinger, Komppula, Stachlewska, Amiridis, Marinou, Mattis, Linné,
and Ansmann</label><mixed-citation>
Engelmann, R., Kanitz, T., Baars, H., Heese, B., Althausen, D., Skupin, A., Wandinger, U., Komppula, M., Stachlewska, I. S., Amiridis, V., Marinou, E., Mattis, I., Linné, H., and Ansmann, A.: The automated multiwavelength Raman polarization and water-vapor lidar Polly<sup>XT</sup>: the neXT generation, Atmos. Meas. Tech., 9, 1767–1784, <a href="https://doi.org/10.5194/amt-9-1767-2016" target="_blank">https://doi.org/10.5194/amt-9-1767-2016</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Fritts et al.(2019)Fritts, Wang, Taylor, Pautet, Criddle, Kaifler,
Eckermann, and Liley</label><mixed-citation>
Fritts, D., Wang, L., Taylor, M., Pautet, P.-D., Criddle, N., Kaifler, B.,
Eckermann, S., and Liley, B.: Large-Amplitude Mountain Waves in the
Mesosphere Observed on 21 June 2014 During DEEPWAVE: 2. Nonlinear Dynamics,
Wave Breaking, and Instabilities, J. Geophys. Res.-Atmos., 124, 10006–10032, <a href="https://doi.org/10.1029/2019JD030899" target="_blank">https://doi.org/10.1029/2019JD030899</a>,
2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Fritts et al.(2016)Fritts, Smith, Taylor, Doyle, Eckermann,
Dörnbrack, Rapp, Williams, Pautet, Bossert, Criddle, Reynolds, Reinecke,
Uddstrom, Revell, Turner, Kaifler, Wagner, Mixa, Kruse, Nugent, Watson,
Gisinger, Smith, Lieberman, Laughman, Moore, Brown, Haggerty, Rockwell,
Stossmeister, Williams, Hernandez, Murphy, Klekociuk, Reid, and
Ma</label><mixed-citation>
Fritts, D. C., Smith, R. B., Taylor, M. J., Doyle, J. D., Eckermann, S. D.,
Dörnbrack, A., Rapp, M., Williams, B. P., Pautet, P.-D., Bossert, K.,
Criddle, N. R., Reynolds, C. A., Reinecke, P. A., Uddstrom, M., Revell,
M. J., Turner, R., Kaifler, B., Wagner, J. S., Mixa, T., Kruse, C. G.,
Nugent, A. D., Watson, C. D., Gisinger, S., Smith, S. M., Lieberman, R. S.,
Laughman, B., Moore, J. J., Brown, W. O., Haggerty, J. A., Rockwell, A.,
Stossmeister, G. J., Williams, S. F., Hernandez, G., Murphy, D. J.,
Klekociuk, A. R., Reid, I. M., and Ma, J.: The Deep Propagating Gravity Wave
Experiment (DEEPWAVE): An Airborne and Ground-Based Exploration of Gravity
Wave Propagation and Effects from Their Sources throughout the Lower and
Middle Atmosphere, B. Am. Meteorol. Soc., 97,
425–453, <a href="https://doi.org/10.1175/BAMS-D-14-00269.1" target="_blank">https://doi.org/10.1175/BAMS-D-14-00269.1</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Fujii(2005)</label><mixed-citation>
Fujii, T.: Laser Remote Sensing, CRC Press, Abingdon, UK,
2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Gawronski and Craparo(2002)</label><mixed-citation>
Gawronski, W. and Craparo, E. M.: Antenna scanning techniques for
estimation of spacecraft position, IEEE Antennas and Propagation Magazine,
44, 38–45, <a href="https://doi.org/10.1109/MAP.2002.1167263" target="_blank">https://doi.org/10.1109/MAP.2002.1167263</a>, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>German Aerospace Center(2021)</label><mixed-citation>
German Aerospace Center: The HALO Database, Mission: SOUTHWAVE, available at: <a href="https://halo-db.pa.op.dlr.de/mission/111" target="_blank"/>, last access: 22 February 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Goldsmith et al.(1998)Goldsmith, Blair, Bisson, and
Turner</label><mixed-citation>
Goldsmith, J. E. M., Blair, F. H., Bisson, S. E., and Turner, D. D.: Turn-key
Raman lidar for profiling atmospheric water vapor, clouds, and aerosols,
Appl. Opt., 37, 4979–4990, <a href="https://doi.org/10.1364/AO.37.004979" target="_blank">https://doi.org/10.1364/AO.37.004979</a>, 1998.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Hauchecorne and Chanin(1980)</label><mixed-citation>
Hauchecorne, A. and Chanin, M.-L.: Density and temperature profiles obtained by
lidar between 35 and 70 km, Geophys. Res. Lett., 7, 565–568,
<a href="https://doi.org/10.1029/GL007i008p00565" target="_blank">https://doi.org/10.1029/GL007i008p00565</a>, 1980.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Innis et al.(2007)Innis, Cunningham, Graham, and
Klekociuk</label><mixed-citation>
Innis, J. L., Cunningham, A. P., Graham, A. D., and Klekociuk, A. R.:
Automatically guiding a telescope to a laser beam on a biaxial antarctic
light detection and ranging system, Opt. Eng., 46, 1–8,
<a href="https://doi.org/10.1117/1.2801411" target="_blank">https://doi.org/10.1117/1.2801411</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Jalali et al.(2018)Jalali, Sica, and Haefele</label><mixed-citation>
Jalali, A., Sica, R. J., and Haefele, A.: Improvements to a long-term Rayleigh-scatter lidar temperature climatology by using an optimal estimation method, Atmos. Meas. Tech., 11, 6043–6058, <a href="https://doi.org/10.5194/amt-11-6043-2018" target="_blank">https://doi.org/10.5194/amt-11-6043-2018</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Kaifler et al.(2015a)Kaifler, Kaifler, Ehard,
Dörnbrack, Rapp, and Fritts</label><mixed-citation>
Kaifler, B., Kaifler, N., Ehard, B., Dörnbrack, A., Rapp, M., and Fritts,
D. C.: Influences of source conditions on mountain wave penetration into the
stratosphere and mesosphere, Geophys. Res. Lett., 42, 9488–9494,
<a href="https://doi.org/10.1002/2015GL066465" target="_blank">https://doi.org/10.1002/2015GL066465</a>, 2015a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Kaifler et al.(2015b)Kaifler, Lübken, Höffner, Morris,
and Viehl</label><mixed-citation>
Kaifler, B., Lübken, F.-J., Höffner, J., Morris, R. J., and Viehl, T. P.:
Lidar observations of gravity wave activity in the middle atmosphere over
Davis (69°S, 78°E), Antarctica, J. Geophys. Res.-Atmos., 120, 4506–4521, <a href="https://doi.org/10.1002/2014JD022879" target="_blank">https://doi.org/10.1002/2014JD022879</a>, 2015b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Kaifler et al.(2017)Kaifler, Kaifler, Ehard, Gisinger, Dörnbrack,
Rapp, Kivi, Kozlovsky, Lester, and Liley</label><mixed-citation>
Kaifler, N., Kaifler, B., Ehard, B., Gisinger, S., Dörnbrack, A., Rapp, M.,
Kivi, R., Kozlovsky, A., Lester, M., and Liley, B.: Observational indications
of downward-propagating gravity waves in middle atmosphere lidar data,
J. Atmos. Sol.-Terr. Phy., 162, 16–27,
<a href="https://doi.org/10.1016/j.jastp.2017.03.003" target="_blank">https://doi.org/10.1016/j.jastp.2017.03.003</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Kaifler et al.(2018)Kaifler, Kaifler, Wilms, Rapp, Stober, and
Jacobi</label><mixed-citation>
Kaifler, N., Kaifler, B., Wilms, H., Rapp, M., Stober, G., and Jacobi, C.:
Mesospheric Temperature During the Extreme Midlatitude Noctilucent Cloud
Event on 18/19 July 2016, J. Geophys. Res.-Atmos., 123,
13775–13789, <a href="https://doi.org/10.1029/2018JD029717" target="_blank">https://doi.org/10.1029/2018JD029717</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Kaifler et al.(2020)Kaifler, Kaifler, Dörnbrack, Rapp,
Hormaechea, and de la Torre</label><mixed-citation>
Kaifler, N., Kaifler, B., Dörnbrack, A., Rapp, M., Hormaechea, J. L., and
de la Torre, A.: Lidar observations of large-amplitude mountain waves in the
stratosphere above Tierra del Fuego, Argentina, Sci. Rep., 10,
14529, <a href="https://doi.org/10.1038/s41598-020-71443-7" target="_blank">https://doi.org/10.1038/s41598-020-71443-7</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Leblanc et al.(1998)Leblanc, McDermid, Hauchecorne, and
Keckhut</label><mixed-citation>
Leblanc, T., McDermid, I. S., Hauchecorne, A., and Keckhut, P.: Evaluation of
optimization of lidar temperature analysis algorithms using simulated data,
J. Geophys. Res.-Atmos., 103, 6177–6187,
<a href="https://doi.org/10.1029/97JD03494" target="_blank">https://doi.org/10.1029/97JD03494</a>, 1998.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Li et al.(2010)Li, Leblanc, McDermid, Wu, Dou, and Wang</label><mixed-citation>
Li, T., Leblanc, T., McDermid, I. S., Wu, D. L., Dou, X., and Wang, S.:
Seasonal and interannual variability of gravity wave activity revealed by
long-term lidar observations over Mauna Loa Observatory, Hawaii, J.
Geophys. Res.-Atmos., 115, D13103,
<a href="https://doi.org/10.1029/2009JD013586" target="_blank">https://doi.org/10.1029/2009JD013586</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Li et al.(2018)Li, Ban, Fang, Li, Wu, Feng, Plane, Xiong, Marsh,
Mills, and Dou</label><mixed-citation>
Li, T., Ban, C., Fang, X., Li, J., Wu, Z., Feng, W., Plane, J. M. C., Xiong, J., Marsh, D. R., Mills, M. J., and Dou, X.: Climatology of mesopause region nocturnal temperature, zonal wind and sodium density observed by sodium lidar over Hefei, China (32°&thinsp;N, 117°&thinsp;E), Atmos. Chem. Phys., 18, 11683–11695, <a href="https://doi.org/10.5194/acp-18-11683-2018" target="_blank">https://doi.org/10.5194/acp-18-11683-2018</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Llamedo et al.(2019)Llamedo, Salvador, de la Torre, Quiroga,
Alexander, Hierro, Schmidt, Pazmiño, and Quel</label><mixed-citation>
Llamedo, P., Salvador, J., de la Torre, A., Quiroga, J., Alexander, P., Hierro,
R., Schmidt, T., Pazmiño, A., and Quel, E.: 11 Years of Rayleigh Lidar
Observations of Gravity Wave Activity Above the Southern Tip of South
America, J. Geophys. Res.-Atmos., 124, 451–467,
<a href="https://doi.org/10.1029/2018JD028673" target="_blank">https://doi.org/10.1029/2018JD028673</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Markwardt(2009)</label><mixed-citation>
Markwardt, C.: Non-linear least squares fitting in IDL with MPFIT, in: Proceedings
of Astronomical Data Analysis Software and Systems, Québec City, QC, Canada, 2–5 November 2008, Astronomical Data Analysis Software and Systems XVIII ASP Conference Series, Vol. 411, edited by: Bohlender, D. A., Durand, D., and Dowler, P., Astronomical Society of the Pacific, San Francisco, 251 pp., 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Montenbruck and Pfleger(2013)</label><mixed-citation>
Montenbruck, O. and Pfleger, T.: Astronomy on the Personal Computer, Springer, Berlin, Heidelberg, Germany,
<a href="https://doi.org/10.1007/978-3-642-03436-7" target="_blank">https://doi.org/10.1007/978-3-642-03436-7</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Mzé et al.(2014)Mzé, Hauchecorne, Keckhut, and Thétis</label><mixed-citation>
Mzé, N., Hauchecorne, A., Keckhut, P., and Thétis, M.: Vertical distribution
of gravity wave potential energy from long-term Rayleigh lidar data at a
northern middle-latitude site, J. Geophys. Res.-Atmos.,
119, 12069–12083, <a href="https://doi.org/10.1002/2014JD022035" target="_blank">https://doi.org/10.1002/2014JD022035</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Pautet et al.(2014)Pautet, Taylor, Pendleton, Zhao, Yuan, Esplin, and
McLain</label><mixed-citation>
Pautet, P.-D., Taylor, M. J., Pendleton, W. R., Zhao, Y., Yuan, T., Esplin, R.,
and McLain, D.: Advanced mesospheric temperature mapper for high-latitude
airglow studies, Appl. Opt., 53, 5934–5943, <a href="https://doi.org/10.1364/AO.53.005934" target="_blank">https://doi.org/10.1364/AO.53.005934</a>,
2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Rapp et al.(2020)Rapp, Kaifler, Dörnbrack, Gisinger, Mixa, Reichert,
Kaifler, Knobloch, Eckert, Wildmann, Giez, Krasauskas, Preusse, Geldenhuys,
Riese, Woiwode, Friedl-Vallon, Sinnhuber, de la Torre, Alexander, Hormaechea,
Janches, Garhammer, Chau, Conte, Hoor, and Engel</label><mixed-citation>
Rapp, M., Kaifler, B., Dörnbrack, A., Gisinger, S., Mixa, T., Reichert, R.,
Kaifler, N., Knobloch, S., Eckert, R., Wildmann, N., Giez, A., Krasauskas,
L., Preusse, P., Geldenhuys, M., Riese, M., Woiwode, W., Friedl-Vallon, F.,
Sinnhuber, B.-M., de la Torre, A., Alexander, P., Hormaechea, J. L., Janches,
D., Garhammer, M., Chau, J. L., Conte, J. F., Hoor, P., and Engel, A.:
SOUTHTRAC-GW: An airborne field campaign to explore gravity wave dynamics at
the world's strongest hotspot, B. Am. Meteorol.
Soc., 1–60, <a href="https://doi.org/10.1175/BAMS-D-20-0034.1" target="_blank">https://doi.org/10.1175/BAMS-D-20-0034.1</a>, online first, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Rauthe et al.(2008)Rauthe, Gerding, and Lübken</label><mixed-citation>
Rauthe, M., Gerding, M., and Lübken, F.-J.: Seasonal changes in gravity wave activity measured by lidars at mid-latitudes, Atmos. Chem. Phys., 8, 6775–6787, <a href="https://doi.org/10.5194/acp-8-6775-2008" target="_blank">https://doi.org/10.5194/acp-8-6775-2008</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Reichardt et al.(2012)Reichardt, Wandinger, Klein, Mattis, Hilber,
and Begbie</label><mixed-citation>
Reichardt, J., Wandinger, U., Klein, V., Mattis, I., Hilber, B., and Begbie,
R.: RAMSES: German Meteorological Service autonomous Raman lidar for water
vapor, temperature, aerosol, and cloud measurements, Appl. Opt., 51,
8111–8131, <a href="https://doi.org/10.1364/AO.51.008111" target="_blank">https://doi.org/10.1364/AO.51.008111</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Reichert et al.(2019)Reichert, Kaifler, Kaifler, Rapp, Pautet,
Taylor, Kozlovsky, Lester, and Kivi</label><mixed-citation>
Reichert, R., Kaifler, B., Kaifler, N., Rapp, M., Pautet, P.-D., Taylor, M. J., Kozlovsky, A., Lester, M., and Kivi, R.: Retrieval of intrinsic mesospheric gravity wave parameters using lidar and airglow temperature and meteor radar wind data, Atmos. Meas. Tech., 12, 5997–6015, <a href="https://doi.org/10.5194/amt-12-5997-2019" target="_blank">https://doi.org/10.5194/amt-12-5997-2019</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Schuster(1970)</label><mixed-citation>
Schuster, B. G.: Detection of tropospheric and stratospheric aerosol layers by
optical radar (Lidar), J. Geophys. Res., 75,
3123–3132, <a href="https://doi.org/10.1029/JC075i015p03123" target="_blank">https://doi.org/10.1029/JC075i015p03123</a>, 1970.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Sivakumar et al.(2006)Sivakumar, Rao, and Bencherif</label><mixed-citation>
Sivakumar, V., Rao, P. B., and Bencherif, H.: Lidar observations of middle atmospheric gravity wave activity over a low-latitude site (Gadanki, 13.5°&thinsp;N, 79.2°&thinsp;E), Ann. Geophys., 24, 823–834, <a href="https://doi.org/10.5194/angeo-24-823-2006" target="_blank">https://doi.org/10.5194/angeo-24-823-2006</a>, 2006.

</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>SCPI(1999)</label><mixed-citation>
Standard Commands for Programmable Instruments (SCPI): Standard Commands for Programmable Instruments (SCPI), Volume 1: Syntax and Style, VERSION 1999.0,
printed in USA, Copyright 1999 SCPI Consortium, available at: <a href="https://www.ivifoundation.org/docs/scpi-99.pdf" target="_blank"/> (last access: 25 February 2021), 1999.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Strawbridge(2013)</label><mixed-citation>
Strawbridge, K. B.: Developing a portable, autonomous aerosol backscatter lidar for network or remote operations, Atmos. Meas. Tech., 6, 801–816, <a href="https://doi.org/10.5194/amt-6-801-2013" target="_blank">https://doi.org/10.5194/amt-6-801-2013</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>Strawbridge et al.(2018)Strawbridge, Travis, Firanski, Brook,
Staebler, and Leblanc</label><mixed-citation>
Strawbridge, K. B., Travis, M. S., Firanski, B. J., Brook, J. R., Staebler, R., and Leblanc, T.: A fully autonomous ozone, aerosol and nighttime water vapor lidar: a synergistic approach to profiling the atmosphere in the Canadian oil sands region, Atmos. Meas. Tech., 11, 6735–6759, <a href="https://doi.org/10.5194/amt-11-6735-2018" target="_blank">https://doi.org/10.5194/amt-11-6735-2018</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Taylor et al.(2019)Taylor, Pautet, Fritts, Kaifler, Smith, Zhao,
Criddle, McLaughlin, Pendleton, McCarthy, Hernandez, Eckermann, Doyle, Rapp,
Liley, and Russell</label><mixed-citation>
Taylor, M., Pautet, P.-D., Fritts, D., Kaifler, B., Smith, S., Zhao, Y.,
Criddle, N., McLaughlin, P., Pendleton, W. R. J., McCarthy, M., Hernandez,
G., Eckermann, S., Doyle, J., Rapp, M., Liley, B., and Russell, J. M.:
Large-Amplitude Mountain Waves in the Mesosphere Observed on 21 June 2014
During DEEPWAVE: 1. Wave Development, Scales, Momentum Fluxes, and
Environmental Sensitivity, J. Geophys. Res.-Atmos., 124,
10364–10384, <a href="https://doi.org/10.1029/2019JD030932" target="_blank">https://doi.org/10.1029/2019JD030932</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>von Zahn et al.(2000)von Zahn, von Cossart, Fiedler, Fricke, Nelke,
Baumgarten, Rees, Hauchecorne, and Adolfsen</label><mixed-citation>
von Zahn, U., von Cossart, G., Fiedler, J., Fricke, K. H., Nelke, G.,
Baumgarten, G., Rees, D., Hauchecorne, A., and Adolfsen, K.: The ALOMAR
Rayleigh/Mie/Raman lidar: objectives, configuration, and performance, Ann.
Geophys., 18, 815–833, <a href="https://doi.org/10.1007/s00585-000-0815-2" target="_blank">https://doi.org/10.1007/s00585-000-0815-2</a>, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>Wilson et al.(1991)Wilson, Chanin, and Hauchecorne</label><mixed-citation>
Wilson, R., Chanin, M. L., and Hauchecorne, A.: Gravity waves in the middle
atmosphere observed by Rayleigh lidar: 2. Climatology, J. Geophys.
Res.-Atmos., 96, 5169–5183,
<a href="https://doi.org/10.1029/90JD02610" target="_blank">https://doi.org/10.1029/90JD02610</a>, 1991.
</mixed-citation></ref-html>--></article>
