<?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" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">WES</journal-id><journal-title-group>
    <journal-title>Wind Energy Science</journal-title>
    <abbrev-journal-title abbrev-type="publisher">WES</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Wind Energ. Sci.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">2366-7451</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/wes-6-1205-2021</article-id><title-group><article-title>The smoother the better? A comparison of six post-processing methods to improve short-term <?xmltex \hack{\break}?>offshore wind power forecasts in the Baltic Sea</article-title><alt-title>A comparison of post-processing methods for offshore wind power forecasts</alt-title>
      </title-group><?xmltex \runningtitle{A comparison of post-processing methods for offshore wind power forecasts}?><?xmltex \runningauthor{C.~Hallgren et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Hallgren</surname><given-names>Christoffer</given-names></name>
          <email>christoffer.hallgren@geo.uu.se</email>
        <ext-link>https://orcid.org/0000-0003-3698-4016</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Ivanell</surname><given-names>Stefan</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Körnich</surname><given-names>Heiner</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-0524-6440</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3 aff4">
          <name><surname>Vakkari</surname><given-names>Ville</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Sahlée</surname><given-names>Erik</given-names></name>
          
        </contrib>
        <aff id="aff1"><label>1</label><institution>Department of Earth Sciences, Uppsala University, Uppsala, Sweden</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Swedish Meteorological and Hydrological Institute, Norrköping, Sweden</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Finnish Meteorological Institute, Helsinki, Finland</institution>
        </aff>
        <aff id="aff4"><label>4</label><institution>Atmospheric Chemistry Research Group, Chemical Resource Beneficiation, <?xmltex \hack{\break}?>North-West University, Potchefstroom, South Africa</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Christoffer Hallgren (christoffer.hallgren@geo.uu.se)</corresp></author-notes><pub-date><day>16</day><month>September</month><year>2021</year></pub-date>
      
      <volume>6</volume>
      <issue>5</issue>
      <fpage>1205</fpage><lpage>1226</lpage>
      <history>
        <date date-type="received"><day>15</day><month>April</month><year>2021</year></date>
           <date date-type="rev-request"><day>17</day><month>May</month><year>2021</year></date>
           <date date-type="rev-recd"><day>21</day><month>July</month><year>2021</year></date>
           <date date-type="accepted"><day>16</day><month>August</month><year>2021</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2021 </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://wes.copernicus.org/articles/.html">This article is available from https://wes.copernicus.org/articles/.html</self-uri><self-uri xlink:href="https://wes.copernicus.org/articles/.pdf">The full text article is available as a PDF file from https://wes.copernicus.org/articles/.pdf</self-uri>
      <abstract><title>Abstract</title>
    <p id="d1e142">With a rapidly increasing capacity of electricity generation from wind power, the demand for accurate power production forecasts is growing. To date, most wind power installations have been onshore and thus most studies on production forecasts have focused on onshore conditions. However, as offshore wind power is becoming increasingly popular it is also important to assess forecast quality in offshore locations. In this study, forecasts from the high-resolution numerical weather prediction model AROME was used to analyze power production forecast performance for an offshore site in the Baltic Sea. To improve the AROME forecasts, six post-processing methods were investigated and their individual performance analyzed in general as well as for different wind speed ranges, boundary layer stratifications, synoptic situations and in low-level jet conditions. In general, AROME performed well in forecasting the power production, but applying smoothing or using a random forest algorithm increased forecast skill. Smoothing the forecast improved the performance at all wind speeds, all stratifications and for all synoptic weather classes, and the random forest method increased the forecast skill during low-level jets. To achieve the best performance, we recommend selecting which method to use based on the forecasted weather conditions. Combining forecasts from neighboring grid points, combining the recent forecast with the forecast from yesterday or applying linear regression to correct the forecast based on earlier performance were not fruitful methods to increase the overall forecast quality.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e154">With a growing concern about a future climate crisis and a continuously increasing demand for electrical power, a greater penetration of renewable energy sources in the power supply system becomes crucial to meet the climate goals <xref ref-type="bibr" rid="bib1.bibx47 bib1.bibx40" id="paren.1"><named-content content-type="pre">e.g.,</named-content></xref>. In the last 20 years, more and more attention has been directed to wind power, and as new technical inventions have enabled construction of larger and more efficient turbines, this technique now also accounts for a bigger share of the total power production <xref ref-type="bibr" rid="bib1.bibx29" id="paren.2"/>.</p>
      <?pagebreak page1206?><p id="d1e165">As wind power production is highly dependent on the weather, a deep understanding of the climate for a site is needed when assessing the optimal location for a new wind farm, taking both the average and extreme conditions into account. Once the farm is in operational use, the meteorological focus shifts from site climatology to weather forecasting, to be able to predict the instantaneous power production. Accurate forecasts, especially for the short perspective (minutes to hours) but also for longer timescales (weeks to seasons), are requested by the grid operators, power production companies and traders on the electricity market to balance the power in the grid, to plan ahead and to maximize the revenue <xref ref-type="bibr" rid="bib1.bibx11 bib1.bibx16 bib1.bibx32" id="paren.3"><named-content content-type="pre">e.g.,</named-content></xref>.</p>
      <p id="d1e173">When it comes to planning for new wind power farms, offshore sites have recently gained more attention <xref ref-type="bibr" rid="bib1.bibx9 bib1.bibx8" id="paren.4"/>. The main reason for this is simple: as the wind speed is generally higher over water than over land, constructing a new wind farm offshore allows for higher production. However, similar to when planning for a wind farm onshore, there are many aspects that must be considered before a new farm can become a reality, such as noise and visual disturbances <xref ref-type="bibr" rid="bib1.bibx2" id="paren.5"><named-content content-type="pre">e.g.,</named-content></xref>, military restricted areas, natural resources and animal life <xref ref-type="bibr" rid="bib1.bibx31" id="paren.6"><named-content content-type="pre">e.g.,</named-content></xref>, topography/bathymetry, and costs for grid connection <xref ref-type="bibr" rid="bib1.bibx54" id="paren.7"><named-content content-type="pre">e.g.,</named-content></xref>.</p>
      <p id="d1e194">The Baltic Sea is in many ways ideal for establishing new offshore wind power farms, and with nine countries surrounding the semi-enclosed sea there are many stakeholders. Today, mostly the southwestern parts of the basin have been utilized for wind energy purposes (mainly by Denmark and Germany), but also other countries have well advanced plans for wind power expansion in the Baltic Sea in the coming decades <xref ref-type="bibr" rid="bib1.bibx53" id="paren.8"><named-content content-type="pre">e.g.,</named-content></xref>.</p>
      <p id="d1e203">In general, forecast performance is better offshore than onshore as the sea surface is rather homogeneous and since diurnal cycles are less pronounced <xref ref-type="bibr" rid="bib1.bibx10" id="paren.9"/>. Still, forecasts struggle with accurate timing and magnitude of wind ramps (in connection to convective cells or passing front zones), extreme wind speeds, extreme wind shear and low-level jets (LLJs), a phenomenon that is very common over the Baltic Sea during spring and summer <xref ref-type="bibr" rid="bib1.bibx23 bib1.bibx57 bib1.bibx14" id="paren.10"/>.</p>
      <p id="d1e212">With a close proximity to a coastline almost everywhere in the Baltic Sea there are many frequently occurring mesoscale meteorological events affecting the wind conditions to a varying extent, such as the sea breeze–land breeze circulation, LLJs and pronounced internal boundary layers <xref ref-type="bibr" rid="bib1.bibx51" id="paren.11"/>. Also, upwelling and wave–air interaction affects the lower part of the wind profiles <xref ref-type="bibr" rid="bib1.bibx49 bib1.bibx62" id="paren.12"/>.</p>
      <p id="d1e221">In order to create an accurate forecast, usually numerical weather prediction (NWP) models are applied using clusters of supercomputers to calculate the evolution of the weather, although other methods also exist <xref ref-type="bibr" rid="bib1.bibx15" id="paren.13"><named-content content-type="pre">see, e.g.,</named-content></xref>. As a starting point for the calculations in an NWP model, a background field of assimilated initial conditions with observations from multiple sources is used. The quality of this field is crucial for the quality of the forecast, together with the model setup regarding horizontal and vertical resolution as well as the parameterizations used to describe different physical processes. To improve the forecasts further, different post-processing techniques can be applied to the output from the NWP model; see, e.g., <xref ref-type="bibr" rid="bib1.bibx59" id="text.14"/> for a recent review.</p>
      <p id="d1e232">This study presents a comparison of six commonly used post-processing methods to improve short-term deterministic wind power production forecasts for a site in the Baltic Sea, using data from an operational high-resolution NWP model and comparing with observations from a lidar (light detection and ranging). To provide a deeper understanding of the characteristics that distinguish the methods, they were all implemented in their basic form. The performance of the methods under different conditions were evaluated together with an overview of their general performance.</p>
      <p id="d1e235">As of today, one of the most popular post-processing methods is to apply machine learning (ML) algorithms to the NWP data. The number of studies on different ways to implement ML methods and their relative strengths and weaknesses have grown rapidly during the last decade <xref ref-type="bibr" rid="bib1.bibx11 bib1.bibx56" id="paren.15"><named-content content-type="pre">see, e.g.,</named-content></xref>. Common for all ML methods is that, using supervised or unsupervised learning, the algorithm finds patterns in the data and uses these patterns to make predictions based on data that were not in the training set. Among the most popular ML algorithms applied to post-processing of NWP data are neural networks, support vector regression algorithms and random forests (RFs). In this study, we limited ourselves to test only the RF to highlight the benefits and limitations of using ML as a post-processing method. This particular method has been successfully applied to improve wind power forecasts by, e.g., <xref ref-type="bibr" rid="bib1.bibx26" id="text.16"/> and <xref ref-type="bibr" rid="bib1.bibx60" id="text.17"/>.</p>
      <p id="d1e249">The paper is structured as follows. After the introduction in Sect. <xref ref-type="sec" rid="Ch1.S1"/>, a description of the site location, the lidar observations and the NWP model is presented in Sect. <xref ref-type="sec" rid="Ch1.S2"/>. In Sect. <xref ref-type="sec" rid="Ch1.S3"/> the six post-processing methods are described together with a brief overview of the metrics applied to evaluate forecast performance. The results are presented in Sect. <xref ref-type="sec" rid="Ch1.S4"/> and followed by a discussion in Sect. <xref ref-type="sec" rid="Ch1.S5"/>. A summary and concluding remarks can be found in Sect. <xref ref-type="sec" rid="Ch1.S6"/>. To simplify for the reader, a list of all abbreviations used throughout the text is presented at the end of the paper.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Materials</title>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Lidar measurements at Utö</title>
      <p id="d1e280">Utö is a small island (approximately 1 km<inline-formula><mml:math id="M1" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> in area) in the Baltic Sea, 60 km southwest off the coast of mainland Finland; see Fig. <xref ref-type="fig" rid="Ch1.F1"/>. The island is located at the southern edge of the archipelago, and the nearest islands of similar size are approximately 12 km to the east and west of Utö, respectively, while to the south the sea is open <xref ref-type="bibr" rid="bib1.bibx57" id="paren.18"/>. As part of the Finnish ground-based remote-sensing network, Utö hosts a scanning Doppler lidar and a number of other instruments allowing measurements of, e.g., concentration and fluxes of greenhouse gases <xref ref-type="bibr" rid="bib1.bibx17" id="paren.19"/>.</p>
      <p id="d1e300">The Doppler lidar at Utö is a fully scanning Halo Photonics StreamLine pulsed Doppler lidar, which was upgraded with an XR series amplifier and data acquisition in 2017. Halo StreamLine is a <?xmltex \hack{\mbox\bgroup}?>1.5 µm<?xmltex \hack{\egroup}?> pulsed lidar with coherent det<?pagebreak page1207?>ector <xref ref-type="bibr" rid="bib1.bibx39" id="paren.20"/> configured with 30 m range resolution and 7 s integration time per beam. Here, similar to <xref ref-type="bibr" rid="bib1.bibx14" id="text.21"/>, we utilized only horizontal winds retrieved from a 15<inline-formula><mml:math id="M2" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> elevation angle velocity azimuth display scan, which was configured with 24 azimuthal directions and operated every 15 min. The instrument was located 8 m above sea level, and horizontal winds were retrieved from 35 m above sea level up at 7.8 m vertical resolution. In this study, only measurements on the 36 lowest height levels (35 to 307 m above sea level) were used. Before wind retrieval, measurements were post-processed according to <xref ref-type="bibr" rid="bib1.bibx58" id="text.22"/>, and the radial data were filtered with a signal-to-noise ratio threshold of <inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">23</mml:mn></mml:mrow></mml:math></inline-formula> dB.</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="d1e338">Land–sea mask from AROME (Sect. <xref ref-type="sec" rid="Ch1.S2.SS2"/>) over <bold>(a)</bold> the Baltic Sea region, <bold>(b)</bold> the Finnish archipelago and <bold>(c)</bold> the surroundings of Utö. The position of the lidar is marked with an <inline-formula><mml:math id="M4" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula>. In panel <bold>(a)</bold> the 16 grid points used for the JC method (see Appendix A) to classify the LWTs are marked, as well as the focus area for the classification. In panel <bold>(c)</bold> the four grid points closest to the lidar are marked and labeled according to their distance to the lidar, with 1 being the closest grid point. </p></caption>
          <?xmltex \igopts{width=483.69685pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f01.png"/>

        </fig>

      <p id="d1e373">Based on the lidar wind profile, the wind speed at hub height for a wind turbine (see Sect. <xref ref-type="sec" rid="Ch1.S2.SS3"/>) was calculated using a piece-wise cubic Hermite interpolating polynomial (PCHIP) fitted to the profile using logarithmic height coordinates <xref ref-type="bibr" rid="bib1.bibx12 bib1.bibx4" id="paren.23"/>. Only 10 min averages with time stamps at even hours (hh:00) were used in the analysis to get as instantaneous values as possible and to allow for a fair comparison with the NWP data (Sect. <xref ref-type="sec" rid="Ch1.S2.SS2"/>). The data set covered a time period of 2 years, from 1 February 2018 to 31 January 2020<fn id="Ch1.Footn1"><p id="d1e383">There was a major update of the AROME model (Sect. <xref ref-type="sec" rid="Ch1.S2.SS2"/>) in February 2020; thus the time period analyzed in this study was restricted to 1 February 2018 to 31 January 2020 in order to keep as recent data as possible. Two full year cycles were studied to minimize seasonal bias in the analysis.</p></fn>. In this period, sea ice coverage extended to Utö only during parts of February, March and early April 2018.</p>
      <p id="d1e389">Main criteria for data removal were positive and negative spikes in the profile. Also, if more than 75 % of the data in a profile were missing, the profile was discarded. Furthermore, the lidar data were compared with measurements from a nearby meteorological tower at Utö, and some observations were removed on manual inspection. In total 1.3 % of the data were removed in the quality control. Data availability is illustrated in Fig. <xref ref-type="fig" rid="Ch1.F2"/>. Throughout the study the lidar observations were used as the true values, not taking uncertainties of the measurements into account.</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="d1e396">Availability of lidar observations (after quality control) and forecasts from AROME for the period 1 February 2018 to 31 January 2020. The time period is split into 1 year that was only used for training (1 February 2018 to 31 January 2019) and 1 year that was used for training, optimization and testing (1 February 2019 to 31 January 2020). </p></caption>
          <?xmltex \igopts{width=483.69685pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f02.png"/>

        </fig>

</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>AROME forecasts</title>
      <p id="d1e413">Deterministic forecasts from the HARMONIE–AROME, hereafter only called AROME (Applications of Research to Operations at Mesoscale), model system was used in this study. AROME is a high-resolution (2.5 km <inline-formula><mml:math id="M5" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 2.5 km and 65 vertical levels) convection-permitting atmospheric NWP model operationally used for short-range weather forecasting by a number of countries around the Baltic Sea, including Sweden, Denmark, Finland, Estonia and Lithuania <xref ref-type="bibr" rid="bib1.bibx1" id="paren.24"/>. The domain covers Scandinavia and the Nordic Seas, and most of the domain is shown in Fig. <xref ref-type="fig" rid="Ch1.F1"/>a. The AROME model used in this study was based on HARMONIE version cy40h1.1; see <xref ref-type="bibr" rid="bib1.bibx1" id="text.25"/> for more details on the model setup. Boundary conditions were from the European Centre for Medium-Range Weather Forecasts (ECMWF) using the Integrated Forecasting System (IFS) and 4D-Var data assimilation. The AROME model was run at 00:00, 06:00, 12:00 and 18:00 UTC with a data assimilation cycle of 3 h. As only the effect and performance of different post-processing methods were of interest in this study, AROME was used only as a reference. We did not consider the performance of the NWP model itself nor compared it with other NWP models that potentially could have performed better (such as, e.g., the high-resolution forecast from ECMWF). For a comparison of AROME and the ECMWF forecasts we refer to <xref ref-type="bibr" rid="bib1.bibx37" id="text.26"/> and <xref ref-type="bibr" rid="bib1.bibx24" id="text.27"/>.</p>
      <p id="d1e438">In this study only forecasts initialized at 00:00 UTC with forecasts lengths of 0–23 h (D1) in hourly time steps were used. The forecasts were assumed to be available at 00:00 UTC without delay. For some post-processing methods also the 24–47 (D2) hour forecasts were used (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS2"/>). Data were retrieved for the four grid points closest to the lidar, as marked in Fig. <xref ref-type="fig" rid="Ch1.F1"/>c. The distances between the lidar and the grid points were all in the range 1.4 to 2.2 km.</p>
      <p id="d1e445">Horizontal wind components and temperature at the 11 lowest model levels (reaching up to approximately 320 m above sea level) were retrieved. By fitting a PCHIP to the profile, the wind speed at hub height was calculated in the same way as for the lidar observations (Sect. <xref ref-type="sec" rid="Ch1.S2.SS1"/>). The wind direction at hub height was calculated using linear interpolation between the wind components at the two model levels closest to the hub height, and similarly the temperature at hub height was calculated. Specific humidity and air pressure at the two lowest model levels (approximately 12 and 37 m above sea level) was retrieved, and the bulk Richardson number in this layer was calculated based on information on temperature, pressure, humidity and wind speed <xref ref-type="bibr" rid="bib1.bibx50" id="paren.28"/>. Additionally, sea level pressure for the 16 grid points marked in Fig. <xref ref-type="fig" rid="Ch1.F1"/>a was retrieved to allow for calculation of the Lamb weather types (LWTs) <xref ref-type="bibr" rid="bib1.bibx27 bib1.bibx21" id="paren.29"/>.</p>
      <p id="d1e458">Only time steps when forecasts and lidar observations were available simultaneously were used; see illustration of data availability in Fig. <xref ref-type="fig" rid="Ch1.F2"/>.</p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Power curve</title>
      <p id="d1e471">Forecasting the actual power production from a wind farm faces many challenges such as accurately predicting the wind speed and the density of the air as well as production losses related to, e.g., icing on the wind turbine blades <xref ref-type="bibr" rid="bib1.bibx28 bib1.bibx36" id="paren.30"/> and wake effects <xref ref-type="bibr" rid="bib1.bibx44 bib1.bibx5" id="paren.31"/>. To only focus on the contribution from the wind, a theoretical maximum production from a wind turbine at the location of the lidar was calculated using the power curve for a Siemens SWT-3.6-120 wind turbine <xref ref-type="bibr" rid="bib1.bibx46" id="paren.32"/>. This particular type of turbine is commonly used in the Baltic Sea today, with 111 turbines in the<?pagebreak page1208?> Anholt farm (commissioned 2013) and with 80 turbines in the EnBW Baltic 2 farm (commissioned 2015). The turbine has a hub height of 90 m and the blades sweep heights from 30 to 150 m. The cut-in wind speed is 3.5 m s<inline-formula><mml:math id="M6" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, and the turbine reaches its rated production of 3.6 MW at 14 m s<inline-formula><mml:math id="M7" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>. The cut-out wind speed is 25 m s<inline-formula><mml:math id="M8" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>.</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Evaluation metrics and methods for post-processing</title>
      <p id="d1e529">In this section the different metrics used to evaluate the performance of the post-processed forecasts are presented, together with a detailed description of the different methods applied.</p>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Evaluation metrics</title>
      <p id="d1e539">The deterministic 0–23 h AROME forecast was used as a baseline for the statistics. As the key metric we selected the mean absolute error (MAE) skill score defined as
            <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M9" display="block"><mml:mrow><mml:msub><mml:mtext>MAE</mml:mtext><mml:mtext>skill score</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mtext>MAE</mml:mtext><mml:mtext>new</mml:mtext></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mtext>MAE</mml:mtext><mml:mtext>det</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:msub><mml:mtext>MAE</mml:mtext><mml:mtext>new</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:msub><mml:mtext>MAE</mml:mtext><mml:mtext>det</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> are the mean absolute errors from the new (post-processed) and original deterministic<?pagebreak page1209?> forest respectively. All forecast lengths (0–23 h) were treated equally as no substantial decrease in forecast performance over D1 was expected. A MAE skill score of 1 indicates a perfect forecast (<inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:msub><mml:mtext>MAE</mml:mtext><mml:mtext>new</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>), while a skill score of 0 means that the new forecast had the same skill as the original forecast. A negative skill score implies that the post-processing had deteriorated the original forecast quality and that the new forecast had worse performance.</p>
      <p id="d1e612">As a complement to the MAE skill score also the forecast bias is presented, and the correlation coefficient, standard deviation and centered root mean square error (CRMSE) are visualized in a Taylor diagram <xref ref-type="bibr" rid="bib1.bibx55" id="paren.33"/>. To compare frequency distributions for forecast improvements, the Earth mover’s distance (EMD) was used to objectively assess how similar the distributions were to an optimal distribution <xref ref-type="bibr" rid="bib1.bibx42" id="paren.34"/>. The EMD is equal to the area between the cumulative distribution functions and can be conceptualized as the minimum of work needed to transform one distribution into the other. Accompanying the frequency distribution for forecast improvements is also the forecast superiority score, which reveals how often it would have been better to use the new forecast rather than the original forecast.</p>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Methods for post-processing</title>
      <p id="d1e629">Six different post-processing methods were applied to the AROME forecasts, most of them using a measure–correlate–predict approach. To facilitate evaluation of different aspects of the results of post-processing, the methods were kept as simple as possible. All methods tested are easy to implement and are commonly used in operational power production forecasting. The methods were also selected on the basis of cost efficiency (in terms of computational time), and all can run on a laptop. As ML is a rapidly advancing field of post-processing with many different approaches possible, we selected only one of the most common methods (the random forest) to demonstrate the benefits of ML.</p>
      <p id="d1e632">All methods were applied and tested in the same manner as they would have been if used operationally, except that the forecasts from AROME were assumed to be available immediately at 00:00 UTC, which would not be the case in operational use where the delay is approximately 3 h. Also, at 00:00 UTC only observations up until 23:00 UTC from the day before were assumed to be available. Thus, the most recent observations were always at least 1 h old.</p>
      <p id="d1e635">The 2 years of data were divided into 1 year (1 February 2018 to 31 January 2019) that was used for training only and 1 year (1 February 2019 to 31 January 2020) that was used for training, optimization of the RF algorithm and for testing the performance of the methods. The optimization period consisted of 20 % of the second year, randomly selected in blocks of 3 d (see Fig. <xref ref-type="fig" rid="Ch1.F2"/>) to minimize problems with auto-correlation in the data. For all methods, only historical data up until the first time step of the current forecast were used as training data, simulating a realistic power production forecasting methodology. The first day in the training data was always 1 February 2018 unless otherwise stated, and hence the number of training data grew by 1 d for each new forecast.</p>
      <p id="d1e640">In the following subsections, the six different post-processing methods are described in detail.</p>
<sec id="Ch1.S3.SS2.SSS1">
  <label>3.2.1</label><?xmltex \opttitle{Forecast from yesterday (D1\,$/$\,D2 MIX)}?><title>Forecast from yesterday (D1 <inline-formula><mml:math id="M13" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2 MIX)</title>
      <p id="d1e659">The AROME forecast issued at 00:00 UTC from the day before with a lead time of 24–47 h (D2) was compared to the current 00:00 UTC AROME forecast valid for the coming 0–23 h (D1). The wind speeds from the two forecasts were combined into a common forecast with weights based on their performance in terms of absolute error in power production during the test period.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS2">
  <label>3.2.2</label><title>Persistence forecast (Pers)</title>
      <p id="d1e670">A persistence forecast is typically used as a reference forecast to study forecast improvements over a short time span (see, e.g., <xref ref-type="bibr" rid="bib1.bibx38 bib1.bibx48" id="altparen.35"/>). In our case, a persistence forecast was generated assuming that the most recent (from 23:00 UTC) wind speed measured by the lidar would remain constant throughout the following day. Thus, the persistent power production would also remain constant. If observations from 23:00 UTC were missing, no forecast was created. This was the case for 4 d during the test period.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS3">
  <label>3.2.3</label><title>Neighborhood method (NBH)</title>
      <p id="d1e684">For the NBH method, the D1 forecasts from the four grid points closest to the position of the lidar (see Fig. <xref ref-type="fig" rid="Ch1.F1"/>) were combined into a common wind speed forecast. The forecasts were weighted depending on their performance in terms of the absolute error in power production during the training period for eight wind directions (45<inline-formula><mml:math id="M14" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> per sector). The wind direction was calculated as the average wind direction at hub height from the four grid points.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS4">
  <label>3.2.4</label><title>Temporal smoothing (Smooth)</title>
      <p id="d1e706">The D1 forecast was smoothed in time by applying a low pass filter (moving average) calculating the average wind speed at every forecast lead time (0–23 h) using forecast data within a window of <inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:mo>±</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> h. For the first time step in the forecast, 00:00 UTC, the average was based on the lidar observations at 23:00 UTC together with the forecast data for 00:00 and 01:00 UTC.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS5">
  <label>3.2.5</label><title>Linear regression (LR) methods</title>
      <p id="d1e727">A set of four different methods applying linear regression (minimizing the error in wind speed between the D1 forecast and the lidar observations in terms of least squares) were<?pagebreak page1210?> tested using different criteria to split the training data into non-overlapping subsets.</p>
</sec>
<sec id="Ch1.S3.SS2.SSSx1" specific-use="unnumbered">
  <title>LR all</title>
      <p id="d1e736">In the most basic LR method we fitted a first-order polynomial to all data in the training set and corrected the D1 forecast accordingly. As the training data set grew by 1 d for each new forecast, the polynomial was refitted every day to include the new data.</p>
</sec>
<sec id="Ch1.S3.SS2.SSSx2" specific-use="unnumbered">
  <title>LR stability</title>
      <p id="d1e746">Using data from the two lowest model levels in AROME the bulk Richardson number, <inline-formula><mml:math id="M16" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, was calculated. Based on the classification by <xref ref-type="bibr" rid="bib1.bibx30" id="text.36"/>, only changing the threshold for strongly unstable stratification, the following five stability classes were used:
<list list-type="bullet"><list-item>
      <p id="d1e765">strongly stable if <inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">0.25</mml:mn></mml:mrow></mml:math></inline-formula>;</p></list-item><list-item>
      <p id="d1e784">stable if <inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:mn mathvariant="normal">0.05</mml:mn><mml:mo>≤</mml:mo><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0.25</mml:mn></mml:mrow></mml:math></inline-formula>;</p></list-item><list-item>
      <p id="d1e807">neutral if <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.05</mml:mn><mml:mo>≤</mml:mo><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0.05</mml:mn></mml:mrow></mml:math></inline-formula>;</p></list-item><list-item>
      <p id="d1e832">unstable if <inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>≤</mml:mo><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub><mml:mo>&lt;</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.05</mml:mn></mml:mrow></mml:math></inline-formula>;</p></list-item><list-item>
      <p id="d1e859">strongly unstable if <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub><mml:mo>≤</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>.</p></list-item></list>
For every new forecast all time steps in the training data were split into five groups depending on their stability. Note that also for the training data, stability from AROME was used. A first-order polynomial was fitted to the wind speed data for each stability class, and the different calibrations were applied to the D1 forecast depending on the forecasted hourly stability.</p>
</sec>
<sec id="Ch1.S3.SS2.SSSx3" specific-use="unnumbered">
  <title>LR synoptic</title>
      <p id="d1e886">To examine the synoptic conditions, the JC method <xref ref-type="bibr" rid="bib1.bibx21" id="paren.37"/> was used to calculate a reduced set of 11 LWTs; see Appendix A for details. The LWTs describe the synoptic weather pattern over the Baltic Sea and can be either cyclonic (C), anticyclonic (A), flow from any of the eight wind directions (N/NE/E/SE/S/SW/W/NW) or unclassified (weak) flow (U) <xref ref-type="bibr" rid="bib1.bibx27" id="paren.38"/>. Similar to the LR stability method, the LR synoptic method classified every time step in both the training data and in the D1 forecasts and applied linear regression to adjust the forecasted wind speed based on the forecasted LWT.</p>
</sec>
<sec id="Ch1.S3.SS2.SSSx4" specific-use="unnumbered">
  <title>LR seasonal</title>
      <p id="d1e901">To address seasonality in forecast performance the training data were split into three seasons: late spring/early summer (April–July), late summer/fall (August–November), and winter/early spring (December–March). Following the same procedure as for the other LR methods, the D1 forecast was adjusted using a first-order polynomial fitted to the wind speed training data for the current season.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS6">
  <label>3.2.6</label><title>Random forest (RF)</title>
      <p id="d1e912">The RF method is a commonly used strategy to increase forecast performance through ML post-processing of NWP data. The technique has been successfully applied to different aspects of wind power production forecasting before, both onshore and offshore; see, e.g., <xref ref-type="bibr" rid="bib1.bibx26" id="text.39"/> and <xref ref-type="bibr" rid="bib1.bibx60" id="text.40"/>.</p>
      <p id="d1e921">A random forest <xref ref-type="bibr" rid="bib1.bibx3" id="paren.41"/> creates a group (a forest) of individual decision trees. Based on a random selection of the training data, each tree outputs a prediction of the wind speed or wind power production. The average of the predictions from all trees then holds as the final prediction for the RF.</p>
      <p id="d1e927">As individual decision trees are prone to overfitting, the random selection of training data given to the forest of decision trees minimizes this problem. Here we used the bootstrap aggregated random forest TreeBagger as implemented in MATLAB 2018a <xref ref-type="bibr" rid="bib1.bibx34" id="paren.42"/>. To allow the RF to find patterns in the data and correct the forecast simultaneously for all aspects that were possible for the less complex methods, the full training data set contained the same information<fn id="Ch1.Footn2"><p id="d1e933">Instead of using the sea level pressure from the 16 grid points used in the JC method, the derived synoptic vorticity <inline-formula><mml:math id="M22" display="inline"><mml:mi>Z</mml:mi></mml:math></inline-formula> (see Appendix A) was used. Together with information about wind direction it provides the same information as was used for LWT classification.</p></fn> that was available to the other methods together with some additional information such as temperature at hub height. The complete list of the 19 training features that were available for the RF is presented in Table <xref ref-type="table" rid="Ch1.T1"/>.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1" specific-use="star"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e950">All training features available for the RF algorithm. In the first column, training features based on the most recent forecast (D1) are listed, and in the second column, training features based on the forecast from the day before (D2) are listed (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS1"/> for details). The indices denote the grid points as marked in Fig. <xref ref-type="fig" rid="Ch1.F1"/>c. The persistence forecast for wind speed, listed in the third column, was generated using the lidar observations at 23:00 UTC as described in Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS2"/>. In the fourth column, training features based on index are listed. All forecasts for wind speed, wind direction and temperature are valid for hub height (90 m). </p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Based on AROME D1</oasis:entry>
         <oasis:entry colname="col2">Based on AROME D2</oasis:entry>
         <oasis:entry colname="col3">Based on lidar</oasis:entry>
         <oasis:entry colname="col4">Based on index</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">wind speed 1</oasis:entry>
         <oasis:entry colname="col2">wind speed 1</oasis:entry>
         <oasis:entry colname="col3">persistence wind speed</oasis:entry>
         <oasis:entry colname="col4">hour of day</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">wind speed 2</oasis:entry>
         <oasis:entry colname="col2">wind speed 2</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4">day of year</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">wind speed 3</oasis:entry>
         <oasis:entry colname="col2">wind speed 3</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">wind speed 4</oasis:entry>
         <oasis:entry colname="col2">wind speed 4</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">wind direction 1</oasis:entry>
         <oasis:entry colname="col2">wind direction 1</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">temperature 1</oasis:entry>
         <oasis:entry colname="col2">temperature 1</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> 1</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> 1</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">synoptic vorticity (<inline-formula><mml:math id="M25" display="inline"><mml:mi>Z</mml:mi></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col2">synoptic vorticity (<inline-formula><mml:math id="M26" display="inline"><mml:mi>Z</mml:mi></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <?pagebreak page1211?><p id="d1e1136">Feature selection can be performed in many different ways, and there are several studies discussing the best approach; see, e.g., <xref ref-type="bibr" rid="bib1.bibx25" id="text.43"/> and <xref ref-type="bibr" rid="bib1.bibx6" id="text.44"/>. In order to fully understand the relative importance of the different training features, we performed feature selection using a step-by-step optimizing chain. First, the random forest was trained using all the 19 training features individually and using standard settings for the random forest (see below). The training feature that gave the best performance in terms of MAE skill score for power production for the optimization period (Fig. <xref ref-type="fig" rid="Ch1.F2"/>) was kept. For the second round in the chain, the remaining 18 training features were tested in combination with this feature. The process was repeated, adding the feature that gave the maximum increase in MAE skill score for each round in the chain, until there was no further improvement. This optimal set of training features was then kept constant as the number of trees in the forest were changed. Forest sizes of 10, 50, 100, 150, 200 and 250 trees were tested, with 50 trees being the standard selection.</p>
      <p id="d1e1147">Most ML algorithms have a set of hyperparameters that are used to control the learning process and adjust the algorithm to the problem. In the case of TreeBagger, the hyperparameter minimum leaf size (MLS) refers to the minimum number of observations per leaf in a decision tree and thus is inversely related to the number of branch splits in a tree. The default setting is 5 for regression problems, but MLS of 1 and MLS of 10 to 50 in steps of 5 were also tested. The response of changing the MLS was tested for the optimal set of features and the optimal number of trees and was evaluated in terms of MAE skill score for power production for the optimization period.</p>
      <p id="d1e1150">The RF was implemented in three different ways.
<list list-type="bullet"><list-item>
      <p id="d1e1155"><italic>Wind speed to wind speed (ws to ws).</italic> Using the training features described in Table <xref ref-type="table" rid="Ch1.T1"/>, the RF was optimized using the wind speed from the lidar as response data.</p></list-item><list-item>
      <p id="d1e1163"><italic>Wind speed to power production (ws to pwr).</italic> Using the training features in Table <xref ref-type="table" rid="Ch1.T1"/>, the RF was optimized using the calculated power production from the lidar measurements as response data.</p></list-item><list-item>
      <p id="d1e1171"><italic>Power production to power production (pwr to pwr).</italic> Converting the wind speed features in Table <xref ref-type="table" rid="Ch1.T1"/> to power production, the RF was optimized using the power production calculated from the lidar measurements as response data.</p></list-item></list>
Out of these three setups, the one with the highest MAE skill score for the optimization period was then selected for comparison with the other post-processing methods.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Results</title>
      <p id="d1e1189">In this section, the general meteorological conditions and theoretical power production at Utö during the 2 years of measurements and forecasts are presented, followed by an overview of the performance of the original and the post-processed forecasts. Also, the forecast performance in different weather situations is presented. For the RF, details about the optimization of the features and settings in the algorithm are given.</p>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>Meteorological conditions</title>
      <p id="d1e1199">An overview of the lidar wind speed at 90 m hub height is presented in Fig. <xref ref-type="fig" rid="Ch1.F3"/>a together with the theoretical power production if a SWT-3.6-120 would have been placed at the site and assuming that the power production was following the power curve perfectly (Fig. <xref ref-type="fig" rid="Ch1.F3"/>b). The monthly average wind speed was in the range 6.7–12.6 m s<inline-formula><mml:math id="M27" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, with the lower values during the summer months and the higher wind speeds during winter. The deterministic forecast error in terms of CRMSE was somewhat higher during spring and summer (April–July) for both years. Similarly, the average power production reached its peaks during the winter months, with the largest forecast errors during spring and summer (Fig. <xref ref-type="fig" rid="Ch1.F3"/>b). Also, January 2019 displayed errors of similar size. Note that the high values of CRMSE (both for wind speed and power production) for February 2018 might be due to the small number of data points in this month as there were a lot of missing observations (see Fig. <xref ref-type="fig" rid="Ch1.F2"/>).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><?xmltex \def\figurename{Figure}?><label>Figure 3</label><caption><p id="d1e1224">Overview of hourly data and monthly averages of <bold>(a)</bold> wind speed and <bold>(b)</bold> theoretical power production at Utö during the 2 years of measurements. Also CRMSE for wind speed and power production forecasts from AROME are presented. </p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f03.png"/>

        </fig>

      <p id="d1e1239">The monthly distribution of atmospheric stratification classes, based on the bulk Richardson number from the AROME forecast and the classification presented in Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSSx2"/>, is shown in Fig. <xref ref-type="fig" rid="Ch1.F4"/>a. Both years were similar, with stable stratification being the dominant class during spring and summer (April–July). February, March and August were transition months, while the rest of the months were mostly unstable or strongly unstable.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><?xmltex \def\figurename{Figure}?><label>Figure 4</label><caption><p id="d1e1249">Monthly occurrence rate of <bold>(a)</bold> the boundary layer stratification based on data from the two lowest model levels in AROME forecasts and <bold>(b)</bold> the synoptic situation using a reduced set of 11 LWTs during the time period studied. </p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f04.png"/>

        </fig>

      <p id="d1e1264">Using the JC method to calculate a reduced set of 11 LWTs (see Appendix A), the monthly distribution of the synoptic weather patterns is presented in Fig. <xref ref-type="fig" rid="Ch1.F4"/>b. It is clear from the graphics that anticyclonic (A) and cyclonic (C) weather types<?pagebreak page1212?> were dominating together with winds from south to west, but variations between the months are noticeable. As mentioned earlier, note that the result for February 2018 is based on a much smaller number of data points.</p>
      <p id="d1e1269">The scatter plots for wind speed and power production in Fig. <xref ref-type="fig" rid="Ch1.F5"/> show that both years were similar. Thus, the first year was a representative training set that could be used to improve the forecasts for the second year. Although most of the data points were located close to the <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>:</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> line, it was not uncommon that forecast errors reached 5 m s<inline-formula><mml:math id="M29" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> or more (1.2 % of the time). For power production, the spread was large for intermediate wind speeds where the power curve is steepest as small errors in forecasted wind speed here get amplified in forecasted power production. For example, an error of 0.1 m s<inline-formula><mml:math id="M30" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> at 9 m s<inline-formula><mml:math id="M31" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> would result in a power production error of 70 kWh. In contrast to this, the forecasts performed<?pagebreak page1213?> better in terms of power production for both high and low wind speeds as expected, since sensitivity to forecast errors is lower in those ranges.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><?xmltex \def\figurename{Figure}?><label>Figure 5</label><caption><p id="d1e1324">Scatter plots of <bold>(a)</bold> wind speed at hub height and <bold>(b)</bold> power production comparing the lidar data with the deterministic D1 forecasts from AROME during the 2 years analyzed. The black line is the <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>:</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> ratio, and the dashed line in red is the best linear fit to the data. The equation for the best fit is given together with the correlation coefficient (<inline-formula><mml:math id="M33" display="inline"><mml:mi>R</mml:mi></mml:math></inline-formula>) and the number of data points (<inline-formula><mml:math id="M34" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula>). The coloring of the data points indicate the density of the data with brighter colors representing higher density. </p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f05.png"/>

        </fig>

</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><title>Optimizing the RF</title>
      <p id="d1e1373">The optimization period, see Sect. <xref ref-type="sec" rid="Ch1.S3.SS2"/>, was used to find the optimal set of training features and settings for the RF method. Using standard settings for the RF, the training features were added one by one in a process described in detail in Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS6"/>. The features ordered according to their importance for the MAE skill score for the optimization period are presented in Table <xref ref-type="table" rid="Ch1.T2"/>. The full set of training features tested are given in Table <xref ref-type="table" rid="Ch1.T1"/>, and we note that the temperature and synoptic vorticity <inline-formula><mml:math id="M35" display="inline"><mml:mi>Z</mml:mi></mml:math></inline-formula> were not used by any of the three setups. Also, Table <xref ref-type="table" rid="Ch1.T2"/> indicates that data from grid point 4 seem to be the most relevant. The increase in MAE skill score for the optimization period when the features were added as listed in Table <xref ref-type="table" rid="Ch1.T2"/> is presented in Fig. <xref ref-type="fig" rid="Ch1.F6"/>a.</p>
      <p id="d1e1398">Figure <xref ref-type="fig" rid="Ch1.F6"/>b shows how the MAE skill score changed with the number of trees (keeping MLS constant at 5) and Fig. <xref ref-type="fig" rid="Ch1.F6"/>c the response when changing MLS (keeping the number of trees constant at the value found in Fig. <xref ref-type="fig" rid="Ch1.F6"/>b). For the RF setup “wind speed to wind speed” the optimal settings were 150 trees and an MLS of 5. RF “wind speed to power” (RF “power to power”) was optimized using 200 (250) trees and an MLS of 5 (25). The effect of changing the training length is shown in Fig. <xref ref-type="fig" rid="Ch1.F6"/>d, using the 10 most recent days up to the full training period that was extended by 1 d for each new 0–23 h forecast, at least including 365 d (forecasting for 1 February 2019) and at the most 729 d (forecasting for 31 January 2020). As seen in the figure the performance changed drastically going from 10 to 50 trees but showed only minor variations for 50–250 trees. Regarding MLS, all setups indicate lower MAE skill score for an MLS of 1. Increasing the MLS from 5 to 50 decreased the performance for the setup RF “wind speed to power” but was more or less constant for the other two setups. When it comes to training length, the more training data, the better the performance of the RF.</p>
      <p id="d1e1409">The best performance in terms of MAE skill score for the optimization period was achieved using RF “wind speed to wind speed” with the eight features given in Table <xref ref-type="table" rid="Ch1.T2"/>, 150 trees, a MLS of 5 and the maximum training length. This setup is hereafter referred to only as RF.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T2" specific-use="star"><?xmltex \currentcnt{2}?><label>Table 2</label><caption><p id="d1e1418">Feature appearance in order of selection based on improvement of MAE skill score for the optimization period for the three tested RF setups. </p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">ws to ws</oasis:entry>
         <oasis:entry colname="col3">ws to pwr</oasis:entry>
         <oasis:entry colname="col4">pwr to pwr</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">1</oasis:entry>
         <oasis:entry colname="col2">wind speed 4 D1</oasis:entry>
         <oasis:entry colname="col3">wind speed 4 D1</oasis:entry>
         <oasis:entry colname="col4">power 4 D1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">2</oasis:entry>
         <oasis:entry colname="col2">wind speed 1 D2</oasis:entry>
         <oasis:entry colname="col3">wind speed 3 D2</oasis:entry>
         <oasis:entry colname="col4">power 1 D2</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">3</oasis:entry>
         <oasis:entry colname="col2">wind direction 1 D2</oasis:entry>
         <oasis:entry colname="col3">wind direction 1 D2</oasis:entry>
         <oasis:entry colname="col4">wind direction 1 D2</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">4</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> 1 D2</oasis:entry>
         <oasis:entry colname="col3">wind speed 3 D1</oasis:entry>
         <oasis:entry colname="col4">hour of day</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">5</oasis:entry>
         <oasis:entry colname="col2">hour of day</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> 1 D1</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">Ri</mml:mi><mml:mtext>bulk</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> 1 D1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">6</oasis:entry>
         <oasis:entry colname="col2">persistence wind speed</oasis:entry>
         <oasis:entry colname="col3">hour of day</oasis:entry>
         <oasis:entry colname="col4">power 2 D1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">7</oasis:entry>
         <oasis:entry colname="col2">wind speed 2 D1</oasis:entry>
         <oasis:entry colname="col3">–</oasis:entry>
         <oasis:entry colname="col4">persistence power</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">8</oasis:entry>
         <oasis:entry colname="col2">day of year</oasis:entry>
         <oasis:entry colname="col3">–</oasis:entry>
         <oasis:entry colname="col4">–</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><?xmltex \def\figurename{Figure}?><label>Figure 6</label><caption><p id="d1e1608">MAE skill score for the optimization period for the three RF setups tested. In panel <bold>(a)</bold> the improvement of MAE skill score when training features were added according to the order in Table <xref ref-type="table" rid="Ch1.T2"/> is shown. Panels <bold>(b)</bold>, <bold>(c)</bold> and <bold>(d)</bold> show how the MAE skill score was affected by changing the number of trees (using the best set of features), the MLS (for the best set of features and optimal number of trees) and the training length (for optimal selection of features, number of trees and MLS). The optimal setting for each setup is marked in white. Note that the values for MAE skill score presented here are not directly comparable to the MAE skill scores presented in other figures in this paper as these are for the optimization and not the test period. </p></caption>
          <?xmltex \igopts{width=483.69685pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f06.png"/>

        </fig>

</sec>
<sec id="Ch1.S4.SS3">
  <label>4.3</label><title>Overall performance of the post-processing methods</title>
      <p id="d1e1639">The overall performance for all post-processing methods tested is shown in Fig. <xref ref-type="fig" rid="Ch1.F7"/>. Only the NBH method, smoothing and the RF manage to slightly increase the MAE skill score, with smoothing giving the skill score of 0.045. The smoothing method was also the method with the least bias. Most of the different post-processing methods are clustered in the Taylor diagram (Fig. <xref ref-type="fig" rid="Ch1.F7"/>b), but also here it seems that the smoothing method and the RF show the best performance, increasing the correlation and decreasing the CRMSE. While most methods decreased the variability of the forecasts, the NBH and smoothing methods had the best conformity. It should also be mentioned that the original forecast was almost perfect with regard to variability. Using the D2 deterministic forecast (24–47 h lead time) or the persistence forecast gave negative skill scores and lowered the correlation coefficient drastically. However, using the D2 forecast in combination with the D1 forecast (D1 <inline-formula><mml:math id="M39" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2 MIX) might still be an option, even though the technique to combine the two forecasts tested here was not optimal. None of the LR methods succeeded in improving the forecast.</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="d1e1655">Performance of all post-processing methods during the test period. Panel <bold>(a)</bold> shows the MAE skill score and bias and panel <bold>(b)</bold> the Taylor diagram. The insets in panels <bold>(a)</bold> and <bold>(b)</bold> show enlarged portions of the figures to more clearly show the differences between the methods. </p></caption>
          <?xmltex \igopts{width=483.69685pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f07.png"/>

        </fig>

      <p id="d1e1676">The frequency distributions in Fig. <xref ref-type="fig" rid="Ch1.F8"/> show forecast improvement compared to the original forecast for the different post-processing methods, compared to the maximum possible improvement for a perfect forecast. All methods show a high peak for small changes compared to the original forecast, in most cases with more than 30 % of the time steps within the <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:mo>±</mml:mo><mml:mn mathvariant="normal">25</mml:mn></mml:mrow></mml:math></inline-formula> kWh bin. The NBH method alters the original forecast the least, with 73 % of the time steps in this bin.</p>
      <p id="d1e1692">The forecast superiority value answers the question how often it is better to use the post-processed forecast, counting only hours with improvement greater than 25 kWh. For a perfect forecast these major improvements would occur 69 % of the time. The RF had the highest forecast superiority score of 32 % but failed to improve the forecast 28 % of the time. The smoothing method, which was superior in 28 % of the cases, was inferior to the original forecast 22 % of the time. These two methods, together with the NBH method, are the only methods that managed to improve the forecast more often than they deteriorated it.</p>
      <p id="d1e1695">The EMD values presented in Fig. <xref ref-type="fig" rid="Ch1.F8"/> provide information on the similarity of the distributions to that for the perfect forecast – the lower the value the more similar the distributions. As expected from earlier results, the smoothing method and the RF had the best EMD scores, while the persistence and the D2 forecasts were furthest away from the optimal distribution.</p>
      <p id="d1e1700">For comparison, adding Gaussian distributed noise with an average of 0 m s<inline-formula><mml:math id="M41" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> and a standard deviation of 0.5 m s<inline-formula><mml:math id="M42" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> to the original forecast resulted in an EMD value of 372 kWh and a forecast superiority of 26 %. For this forecast, 42 % of the data points were within <inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:mo>±</mml:mo><mml:mn mathvariant="normal">25</mml:mn></mml:mrow></mml:math></inline-formula> kWh from the original forecast, and the MAE skill score was <inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.055</mml:mn></mml:mrow></mml:math></inline-formula>.</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="d1e1749">Frequency distributions showing the forecast improvement compared to AROME D1 in kWh for the different methods tested. The methods are compared to a perfect forecast (white bars), and the EMD values between the two distributions are given. The forecast superiority (improvements greater than 25 kWh) is presented and also the percentage of the time steps with minor alterations of the original forecast (changes less than <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:mo>±</mml:mo><mml:mn mathvariant="normal">25</mml:mn></mml:mrow></mml:math></inline-formula> kWh). </p></caption>
          <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f08.png"/>

        </fig>

</sec>
<sec id="Ch1.S4.SS4">
  <label>4.4</label><title>Forecast performance in different meteorological conditions</title>
      <p id="d1e1777">Studying the forecast improvement for different wind speed bins based on the forecasted wind speed, Fig. <xref ref-type="fig" rid="Ch1.F9"/>, we see that smoothing improved the forecast for almost all wind speeds while the RF only resulted in improvement for intermediate wind speeds. This was also the case for the D1 <inline-formula><mml:math id="M46" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2<?pagebreak page1214?> MIX. Most methods underestimated the power production for wind speeds up to 7.5 m s<inline-formula><mml:math id="M47" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>  and overestimated the production for wind speeds above 10 m s<inline-formula><mml:math id="M48" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> (until the rated wind speed was reached). The errors were largest for intermediate wind speeds (Fig. <xref ref-type="fig" rid="Ch1.F9"/>b), related to the shape of the power curve.</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="d1e1817">Performance of the post-processing methods for different wind speed bins. Panel <bold>(a)</bold> shows the bias, panel <bold>(b)</bold> the CRMSE and panel <bold>(c)</bold> the MAE skill score for the methods with the highest scores together with the distribution of the number of hours forecasted within each bin during the test period. </p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f09.png"/>

        </fig>

      <p id="d1e1835">No clear pattern was visible when splitting the test data into hours of the day (not shown), except that the smoothing method gave a major improvement for the first time step (00:00 UTC) due to interpolation of the observations at 23:00 UTC. The use of observations was also the reason for<?pagebreak page1215?> the higher performance of the persistence forecast for this time step.</p>
      <p id="d1e1839">The smoothing method managed to improve the forecast in all stability classes and in all LWTs; see Figs. <xref ref-type="fig" rid="Ch1.F10"/> and <xref ref-type="fig" rid="Ch1.F11"/>. Errors were generally larger for stable cases and lower for neutral stratification (Fig. <xref ref-type="fig" rid="Ch1.F10"/>b). Most methods, as well as the original forecast, underestimated the power production for strongly stable and strongly unstable conditions, while biases were smaller for less strong stratification (Fig. <xref ref-type="fig" rid="Ch1.F10"/>a). The RF performed well for stable and neutral cases but did not improve the forecast as much for time steps with unstable stratification (Fig. <xref ref-type="fig" rid="Ch1.F10"/>c). Interestingly, the D1 <inline-formula><mml:math id="M49" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2 MIX was the method that performed best under neutral conditions. Relating to this, it can be noted in Fig. <xref ref-type="fig" rid="Ch1.F11"/>c that this method was superior in the unclassified (weak) flow. It also performed well in the 2.5–5.0 m s<inline-formula><mml:math id="M50" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> bin (Fig. <xref ref-type="fig" rid="Ch1.F9"/>c).</p>
      <p id="d1e1876">The results for the performance in the different LWTs are similar to what could be seen in earlier figures with the smoothing method and RF on top for most synoptic situations. However, for easterly and northwesterly flow, the RF method did not improve the forecast. Figure <xref ref-type="fig" rid="Ch1.F11"/>c indicates that the performance of the RF was dependent on the number of training data in the class (note however that the bars represent the number of hours per class during the test period, not the training period). Forecast errors (Fig. <xref ref-type="fig" rid="Ch1.F11"/>b) are somewhat smaller for anticyclonic (A) and unclassified (U) flow and winds from the sector south to northwest (the most<?pagebreak page1216?> common wind directions) and slightly higher for pure cyclonic (C) flow and winds from north to southeast.</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="d1e1885">Performance of the post-processing methods for different stability classes. Panel <bold>(a)</bold> shows the bias, panel <bold>(b)</bold> the CRMSE and panel <bold>(c)</bold> the MAE skill score for the methods with the highest scores together with the distribution of the number of hours within each stability class during the test period. </p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f10.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F11" specific-use="star"><?xmltex \currentcnt{11}?><?xmltex \def\figurename{Figure}?><label>Figure 11</label><caption><p id="d1e1905">Performance of the post-processing methods for different LWTs. Panel <bold>(a)</bold> shows the bias, panel <bold>(b)</bold> the CRMSE and panel <bold>(c)</bold> the MAE skill score for the methods with the highest scores together with the distribution of the number of hours within each LWT during the test period. </p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f11.png"/>

        </fig>

      <p id="d1e1923">LLJs are frequently occurring over the Baltic Sea, and with wind maxima on low levels they alter the ordinary logarithmic or power-law wind profile. When a falloff criterion of 1 m s<inline-formula><mml:math id="M51" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, as defined in <xref ref-type="bibr" rid="bib1.bibx14" id="text.45"/>, was applied to the wind data on the 11 lowest model levels in AROME  (spanning from approximately 12 to 320 m; see Sect. <xref ref-type="sec" rid="Ch1.S2.SS2"/>), LLJs were predicted during 13 % of the time in the test period. Out of these events, 56 % were correctly forecasted within the same time step as when an LLJ was identified in the lidar data using the same criterion. The total frequency of LLJs is somewhat underestimated by AROME, with the lidar observing LLJs 16 % of the time in the test period (not shown).</p>
      <p id="d1e1944">The RF method performed better than the other post-processing methods when an LLJ was forecasted but produced no or negligible improvement when no LLJ; see Fig. <xref ref-type="fig" rid="Ch1.F12"/>. Also the D1 <inline-formula><mml:math id="M52" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2 MIX was successful during LLJs but deteriorated the forecast quality otherwise. The performance of the temporal smoothing was less sensitive to whether a LLJ was present in the forecast or not, and it improved the forecast in both cases.</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="d1e1958">Performance of the post-processing methods for cases when an LLJ is forecasted compared to when there is no LLJ in the wind profile. Panel <bold>(a)</bold> shows the bias, panel <bold>(b)</bold> the CRMSE and panel <bold>(c)</bold> the MAE skill score for the methods with the highest scores together with the distribution of the number of hours with or without an LLJ in the forecast during the test period.  </p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f12.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S5">
  <label>5</label><title>Discussion</title>
      <p id="d1e1986">Even though NWP forecasts for offshore wind power production are relatively good compared to forecasts for wind conditions in complex terrain, there is still room for improvement. The post-processing methods tested in this study are all commonly used and are implemented as they would be used operationally and in basic formulations, to allow a clean analysis of their respective advantages and disadvantages.</p>
      <p id="d1e1989">The methods tested are all general and could be applied to longer forecast lead times, to other variables than wind speed and onshore as well as offshore. However, as most methods require a substantial amount of training, they are sensitive to model updates and would need retraining from scratch in case of a major update that affects the NWP performance for the variable of interest. For AROME, there was a major update in February 2020, which is the reason that we did not include more recent forecasts. Also, if the observations are prone to systematic errors or large uncertainties that are<?pagebreak page1217?> not removed or minimized through quality control, there is a substantial risk of making the forecast worse when applying the above techniques, as the forecast will be adjusted to these erroneous values. The D1 <inline-formula><mml:math id="M53" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2 MIX, the NBH method and smoothing (except for the first time step) are less sensitive to observational errors than the other methods. Furthermore, the training data have to be representative for the conditions at the site, including both seasonality and different types of synoptic and mesoscale situations. As suggested by Fig. <xref ref-type="fig" rid="Ch1.F6"/>d, at least 6 months of training data are needed for the RF method, but preferably 1 to 2 years or more. It is likely that the number of training data needed for the other methods is similar. However, some methods (such as the smoothing method) do not require any training data at all.</p>
      <p id="d1e2001">Even though the methods were only tested for one site, we believe that the main findings in the study are not site specific and will generalize to other parts of the Baltic Sea and possibly also to other (offshore) areas <xref ref-type="bibr" rid="bib1.bibx11 bib1.bibx59" id="paren.46"/>. Since lidar observations are scarce in the Baltic Sea, the post-processing methods might as well be trained using wind speed data from, e.g., a nacelle-mounted anemometer on an offshore wind turbine. More data in the test period would open up for a more detailed analysis of the performance of the post-processing methods, for example how the methods perform in different wind speed bins given the LWT. Also, a detailed analysis of the representativeness of the years analyzed in this study would contribute to assessing the uncertainty in the results. Building on this study, we suggest for future work to compare the performance of the different post-processing methods for other offshore (and potentially also onshore) locations as well as testing other NWP models and using a longer time series of observations and forecasts. Although the post-processing methods have been applied to mimic how they could be used in operational forecasting, a real-time test of the methods in fully operational mode would be of interest.</p>
      <p id="d1e2007">In order to better represent the operational use of the AROME forecast, the delay of the forecast could be included in the analysis. In reality, the AROME forecast is available approximately at 03:00 UTC, and thus forecasts could be evaluated for 04:00 to 03:00 UTC the following day, using the same forecast lengths as in our analysis. With observations available close to real time it is then possible to assess the quality of the first 3 h of the forecast and use this information in the subsequent correction.
All methods can be implemented on a laptop, and runtime is usually not an issue for small problems (one site, short forecasts). For the RF, the runtime increases when adding more training features,<?pagebreak page1218?> increasing the number of trees or the training length, or when decreasing the MLS. The reason for the lower performance for MLS of 1 (as seen in Fig. <xref ref-type="fig" rid="Ch1.F6"/>c) is probably overfitting of the data, using too many splits of the branches in the decision trees. More training features could be added to the RF to increase performance, but it is clear from Table <xref ref-type="table" rid="Ch1.T2"/> that training features have to be relevant and not contain redundant information. Examples of training features that provide additional information and could be tested are for example turbulent kinetic energy and wave parameters.</p>
      <p id="d1e2015">The chain of adding training features one by one is implemented to provide as much insight as possible into the importance of the individual training features. No more training features were added when the MAE skill score for the optimization period started to decrease, but this does not guarantee an optimal final set of features. For examples of other ways to arrive at an optimal set of training features, we refer to <xref ref-type="bibr" rid="bib1.bibx25" id="text.47"/>, <xref ref-type="bibr" rid="bib1.bibx19" id="text.48"/>, <xref ref-type="bibr" rid="bib1.bibx6" id="text.49"/>, and <xref ref-type="bibr" rid="bib1.bibx45" id="text.50"/>. To perfectly mimic how the RF could be optimized in a wind power forecasting company, the optimization period could be selected from the historical data to be, e.g., the same season, continuously adapting the training features and the settings in the algorithm to the seasonal variations.</p>
      <p id="d1e2030">Although only the RF was tested here, there are many other possible ML methods that could be applied, and the promising result for the RF method should be interpreted as yet another indicator of the great potential benefit of applying ML methods for post-processing <xref ref-type="bibr" rid="bib1.bibx59" id="paren.51"/>.</p>
      <p id="d1e2036">As the wind field offshore is rather homogeneous, differences in wind speed at a specific time between grid points that are close to each other are small, which explains the small changes to the forecast when applying the NBH method (Fig. <xref ref-type="fig" rid="Ch1.F8"/>). Onshore, where spatial variation is higher, or if a model with a lower horizontal resolution is used, the method might still be important to consider <xref ref-type="bibr" rid="bib1.bibx35" id="paren.52"/>. The NBH method smooths the forecast, and just as for temporal smoothing it decreases the risk of double penalty, e.g., in cases of wind ramps in connection with a passing front zone or squall line. The increased skill resulting from spatial smoothing of a NWP model is well studied, e.g., by <xref ref-type="bibr" rid="bib1.bibx33" id="text.53"/>, and also temporal smoothing has been shown to be beneficial for offshore wind power production before <xref ref-type="bibr" rid="bib1.bibx13" id="paren.54"/>.</p>
      <p id="d1e2050">The reduced risk for double penalty is probably also the reason why the smoothing method performs best when the air flow is from N or NE (Fig. <xref ref-type="fig" rid="Ch1.F11"/>), since winds from those directions typically are gusty due to the often unstable<?pagebreak page1219?> conditions related to advection of cooler air. However, comparing different stabilities (Fig. <xref ref-type="fig" rid="Ch1.F10"/>) the smoothing method has similar performance in all categories. It should also be mentioned that all post-processing methods that apply averaging (that is, all methods except the LR) reduce the variability in the data and thus increase the risk of underestimating the occurrence of extreme conditions.</p>
      <p id="d1e2057">Comparing diurnal averages of wind power production data instead of hourly production, the correlation coefficient increases to 0.97 and the CRMSE decreases to 300 kWh for the deterministic 0–23 h forecast. Using the post-processing methods based on hourly data, only the NBH and smoothing methods result in positive MAE skill scores (0.007 and 0.005 respectively). However, the performance of most methods could probably be improved if diurnal data instead of hourly data were used for training.</p>
      <p id="d1e2060">The major improvement for the smoothing method is due to the interpolation of the observations at 23:00 UTC, as real-time observations and short interpolations are the best way to increase forecast improvement for short forecasts. To develop the smoothing function further, a running average with a longer block length duration could be used, and time steps within the block could be given different weights.</p>
      <p id="d1e2064">Applying smoothing directly to the power production forecast (instead of smoothing the wind speed forecast first and then calculating the production) does not result in a higher MAE skill score for the test period, even though the correlation coefficient and the CRMSE both slightly improve; see Fig. <xref ref-type="fig" rid="Ch1.F13"/>. Due to the shape of the power curve, error propagation in the wind speed forecast is non-linear, and using the smoothing method based on the forecasted power is better for wind speeds around cut-in and the rated wind speed. In the ranges 2.5–5.0 and 15.0–17.5 m s<inline-formula><mml:math id="M54" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, the MAE skill scores for the smoothed method based on power production are 0.24 and 0.10 respectively, to be compared with the results for the smoothing method based on wind speed in Fig. <xref ref-type="fig" rid="Ch1.F9"/>. For the other wind speed bins, smoothing the wind speeds in the forecast is more beneficial than smoothing the forecasted power production.</p>
      <p id="d1e2083">The synoptic classification using LWTs is beneficial compared to other synoptic classification methods as it simplifies the meteorological reasoning and understanding of the forecast behavior for different classes. One drawback with LWTs is, however, that it is less strict from a mathematical perspective than for example principal component analysis (PCA) <xref ref-type="bibr" rid="bib1.bibx20" id="paren.55"/>. Also, the JC method has a tendency to classify the synoptic situation as anticyclonic or cyclonic too<?pagebreak page1220?> often, and hybrid classes and pure directional flow are less common. To get a sufficient number of data in each class, we used the reduced set of 11 LWTs instead of the original 27 classes <xref ref-type="bibr" rid="bib1.bibx7" id="paren.56"/>. As a consequence of this, the variability of the pressure field within a class is quite large.</p>
      <p id="d1e2092">The D1 <inline-formula><mml:math id="M55" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2 MIX combines the D1 and D2 forecasts using a mix of approximately 60 % of the data from the new forecast and 40 % from the old. Only forecasts issued at 00:00 UTC have been used in this study, but the method is general and directly applicable to all earlier forecasts that overlap in lead times.</p>
      <p id="d1e2102">It is well known that NWP models struggle with resolving strongly stable stratification <xref ref-type="bibr" rid="bib1.bibx18 bib1.bibx43" id="paren.57"/>. This can also be seen in Fig. <xref ref-type="fig" rid="Ch1.F10"/>b where this stability class has the highest CRMSE. Improving data assimilation and schemes for turbulent mixing under these conditions are key to improve the forecasts <xref ref-type="bibr" rid="bib1.bibx41 bib1.bibx61" id="paren.58"/> and would be beneficial for the representation of, e.g., low-level jets and the extent of turbine wakes. It is a promising result that some of the post-processing methods tested, primarily smoothing and RF, managed to improve the forecasts under these conditions.</p>
      <p id="d1e2113">The result in Fig. <xref ref-type="fig" rid="Ch1.F4"/>a was expected, as Utö is a pure offshore location in the AROME model (Fig. <xref ref-type="fig" rid="Ch1.F1"/>c) and stable (unstable) stratification is known to be dominant in spring and summer (fall and winter) <xref ref-type="bibr" rid="bib1.bibx52" id="paren.59"/>. However, in contrast to these results, using tower data from Utö and calculating the stability for the 2–50 m layer, the stability varies with a pattern typical for boundary layers over land with a clear diurnal cycle during the summer months (stable during night and unstable during day) and mostly stable conditions during winter (results not shown). Even though the horizontal resolution in the model is high, many islands in the Finnish archipelago (such as Utö) are not resolved by the model as illustrated by the land–sea mask presented in Fig. <xref ref-type="fig" rid="Ch1.F1"/>b, and the issue with the stability is most probably a consequence of this.</p>
      <p id="d1e2125">As the RF and smoothing are the methods with the best general performance (Fig. <xref ref-type="fig" rid="Ch1.F7"/>) it might be interesting to combine the two methods to see if this would further improve the forecast. This can be performed in two ways: either the RF is run as before and the resulting forecast is smoothed or the training features are smoothed before the RF is applied. Both these methods were tested, and the result is presented in Fig. <xref ref-type="fig" rid="Ch1.F13"/>. For the RF only the wind speed training features for D1 and D2 for the four grid points (see Table <xref ref-type="table" rid="Ch1.T1"/>) were smoothed. The RF was optimized in the same manner as described in Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS6"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F13" specific-use="star"><?xmltex \currentcnt{13}?><?xmltex \def\figurename{Figure}?><label>Figure 13</label><caption><p id="d1e2139">Performance of the RF with applied smoothing and the RF with smoothed features. Also the performance of the combined forecast using D1 <inline-formula><mml:math id="M56" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2 MIX (during weak synoptic forcing), RF (during LLJs) and smoothing otherwise is plotted. The result of adjusting the combined forecast using smoothing based on power production for wind speeds around cut-in and the rated wind speed is also plotted. In panel <bold>(a)</bold> the MAE skill score and bias is presented and in panel <bold>(b)</bold> the Taylor diagram. To simplify comparisons, the original deterministic forecast from AROME and the results for the smoothing and RF methods presented earlier are included. The inset in panel <bold>(b)</bold> shows an enlarged portion of the figure to more clearly show the differences between the methods. </p></caption>
        <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://wes.copernicus.org/articles/6/1205/2021/wes-6-1205-2021-f13.png"/>

      </fig>

      <p id="d1e2164">Figure <xref ref-type="fig" rid="Ch1.F13"/> shows that none of the two setups managed to perform better than the smoothed forecast presented before. Still, smoothing the RF gave an improvement over the original RF method. It can also be seen that smoothing the training features for the RF improved the performance, but not as much as when applying smoothing afterwards. This is probably due to the fact that smoothing decreased the variability in the training data too much. The features selected in the<?pagebreak page1221?> optimization procedure turned out to be the same as for the RF “wind speed to wind speed” setup (Table <xref ref-type="table" rid="Ch1.T2"/>) with the exception of the final feature, which was <inline-formula><mml:math id="M57" display="inline"><mml:mi>Z</mml:mi></mml:math></inline-formula> for D2 instead of persistence. Since influence from the 23:00 UTC observation was embedded in the smoothed training features, it is reasonable that the persistence forecast was of secondary importance for this RF setup.</p>
      <p id="d1e2178">Assuming that we would have known in advance that the RF was the best selection in case of an LLJ (Fig. <xref ref-type="fig" rid="Ch1.F12"/>), that the D1 <inline-formula><mml:math id="M58" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2 MIX excelled during weak synoptic flow (U) (Fig. <xref ref-type="fig" rid="Ch1.F11"/>) and that smoothing was the best method in general (Fig. <xref ref-type="fig" rid="Ch1.F7"/>), we could have combined these methods accordingly. The result is presented in Fig. <xref ref-type="fig" rid="Ch1.F13"/>. Since the combination of methods is based on how well the methods performed for data in the test period and was then evaluated for the same period, we know that this will improve the MAE skill score but not by how much. To properly investigate the effect of the combined forecast, an independent test period is needed. Thus, the result in Fig. <xref ref-type="fig" rid="Ch1.F13"/> can only be seen as an indicator of to what degree this combined method could have improved the forecast. The change in the MAE skill score is noticeable. Using the smoothing method based on power production for wind speeds forecasted in the ranges 2.5–5.0 and 15.0–17.5 m s<inline-formula><mml:math id="M59" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> resulted in an additional minor improvement of the MAE skill score. For comparison with the results in Fig. <xref ref-type="fig" rid="Ch1.F8"/>, this combined forecast resulted in an EMD value of 331 kWh compared to a perfect forecast and was superior to the AROME D1 forecast 31 % of the time. A more detailed investigation of the wind speed ranges where the smoothing method based on power production is better than the original smoothing and adjustment of the wind speed ranges when it is applied would likely result in further improvement of the final forecast.</p>
</sec>
<sec id="Ch1.S6" sec-type="conclusions">
  <label>6</label><title>Conclusions</title>
      <p id="d1e2221">Six commonly used post-processing methods were applied to the 0–23 h AROME forecasts for wind speed at an offshore location in the Baltic Sea and evaluated in terms of performance in forecasting power production during 1 year.</p>
      <p id="d1e2224">Applying smoothing to the forecast or using a RF algorithm were the most promising methods to improve the forecast, with the best performance in MAE skill score, highest correlation and lowest CRMSE. The smoothing method performed slightly better than the RF and had a lower bias. Combining the two techniques by smoothing the RF forecast or by smoothing the training features before applying the RF algorithm improved the performance of the RF but did not surpass the original smoothing method.</p>
      <p id="d1e2227">Even though the smoothing and RF methods improved the forecast for approximately 30 % of the time, almost equally often the methods deteriorated the forecast. For 40 %–50 % of the time, the changes compared to the original forecast are small, and in terms of forecast superiority and EMD the performance is only slightly better than what could be achieved by chance. However, the MAE skill score for the forecast with added noise is lower than for the smoothing method and RF.</p>
      <p id="d1e2230">The major improvement for the smoothing method is for the first time step of the forecast as interpolation of the 23:00 UTC observation was used. Both the smoothing and the RF worked well for intermediate wind speeds, but for the RF both lower and higher wind speeds were<?pagebreak page1222?> problematic. Smoothing improved the forecast in all stability classes, while the RF mainly improved the forecast in stable and neutral stratification. Similarly, smoothing increased the performance for all synoptic situations, while the RF struggled primarily with easterly winds, probably because the number of training data for these situations was inadequate. RF improved the forecast substantially when a LLJ was forecasted but gave almost no improvement otherwise.</p>
      <p id="d1e2234">Among the other methods tested, the D1 <inline-formula><mml:math id="M60" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2 MIX, using a combination of the new forecast and the forecast from the previous day, resulted in improvement under some conditions but mainly when the synoptic flow was weak and/or neutral stratification. The best MAE skill score was achieved using smoothing and switching to RF in case of a LLJ and to D1 <inline-formula><mml:math id="M61" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2 MIX during weak synoptic forcing (and no LLJ). Further, if smoothing applied to the forecasted power production (instead of the wind speed) was used in the combined method for wind speeds in the ranges 2.5–5.0 and 15.0–17.5 m s<inline-formula><mml:math id="M62" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, an additional small improvement of the MAE skill score was achieved.</p>
      <p id="d1e2263"><?xmltex \hack{\newpage}?>As the forecasted wind speeds for neighboring grid points offshore are similar in a high-resolution NWP model, combining nearby grid points in a NBH method gave only minor changes compared to using the forecast from the closest grid point. Applying LR to improve the forecast was in general not a successful method.</p>
      <p id="d1e2267">The different post-processing methods applied in this study are all general and can be applied to any NWP model, any parameter and any forecast length offshore as well as onshore. For further studies, we suggest comparing state-of-the-art ML methods in combination with nudging techniques to include real-time observations in the forecasts. Different methods to smooth the forecast or the training features for ML should be investigated. Also, an overview of different methods to improve probabilistic forecasts for offshore wind energy in the Baltic Sea would be of interest to the community.</p><?xmltex \hack{\clearpage}?>
</sec>

      
      </body>
    <back><app-group>

<?pagebreak page1223?><app id="App1.Ch1.S1">
  <?xmltex \currentcnt{A}?><label>Appendix A</label><title/>
      <p id="d1e2281">Using only the instantaneous sea level pressure from 16 grid points, <xref ref-type="bibr" rid="bib1.bibx21" id="text.60"/> constructed an objective method to calculate the LWT valid for a focus area (Fig. <xref ref-type="fig" rid="Ch1.F1"/>a). In total there are 27 different LWTs <xref ref-type="bibr" rid="bib1.bibx27" id="paren.61"/>: anticyclonic (A), unclassified/weak flow (U), 8 types of directional flow (N/NE/E/SE/S/SW/W/NW) and 16 types of hybrid flow (anticyclonic or cyclonic with a component of directional flow). The 27 classes can be reduced to 11 by treating all the hybrid flow classes according to their directional component, following <xref ref-type="bibr" rid="bib1.bibx7" id="text.62"/>.</p>
      <p id="d1e2295">The first step in the procedure to obtain the LWTs is to calculate the sea level pressure deviations from 1000 hPa at the grid points <xref ref-type="bibr" rid="bib1.bibx21" id="paren.63"/>. The zonal (westerly) and meridional (southerly) flow can then be calculated as
          <disp-formula id="App1.Ch1.S1.E2" content-type="numbered"><label>A1</label><mml:math id="M63" display="block"><mml:mrow><mml:mi>W</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="bold">12</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">13</mml:mn></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="bold">4</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">5</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>
        and
          <disp-formula id="App1.Ch1.S1.E3" content-type="numbered"><label>A2</label><mml:math id="M64" display="block"><mml:mrow><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mi>cos⁡</mml:mi><mml:mi mathvariant="italic">ψ</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="bold">5</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>⋅</mml:mo><mml:mn mathvariant="bold">9</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">13</mml:mn></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mrow><mml:mn mathvariant="bold">4</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>⋅</mml:mo><mml:mn mathvariant="bold">8</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">12</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>
        respectively. The bold numbers in the formulas indicate the sea level pressure deviations (in hPa) at their respective grid point (see Fig. <xref ref-type="fig" rid="Ch1.F1"/>a), following the notation in <xref ref-type="bibr" rid="bib1.bibx21" id="text.64"/>. The variable <inline-formula><mml:math id="M65" display="inline"><mml:mi mathvariant="italic">ψ</mml:mi></mml:math></inline-formula> is the latitude of the center line for the focus area where the LWT classification is valid. In this study we used <inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:mi mathvariant="italic">ψ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">63</mml:mn></mml:mrow></mml:math></inline-formula><inline-formula><mml:math id="M67" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>, resulting in the focus area marked in Fig. <xref ref-type="fig" rid="Ch1.F1"/>a. The reason for Utö not being in the center of the focus area is due to the domain size of AROME.</p>
      <p id="d1e2443">The resultant wind speed (in geostrophic units) is calculated as
          <disp-formula id="App1.Ch1.S1.E4" content-type="numbered"><label>A3</label><mml:math id="M68" display="block"><mml:mrow><mml:mtext>ws</mml:mtext><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:msup><mml:mi>W</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:msqrt><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        and the wind direction is given by
          <disp-formula id="App1.Ch1.S1.E5" content-type="numbered"><label>A4</label><mml:math id="M69" display="block"><mml:mrow><mml:mtext>wd</mml:mtext><mml:mo>=</mml:mo><mml:msup><mml:mi>tan⁡</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>W</mml:mi><mml:mo>/</mml:mo><mml:mi>S</mml:mi></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        with an addition of 180<inline-formula><mml:math id="M70" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> if <inline-formula><mml:math id="M71" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> is positive <xref ref-type="bibr" rid="bib1.bibx22" id="paren.65"/>. Using an eight-point compass rose (45<inline-formula><mml:math id="M72" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> per sector) the wind direction is classified.</p>
      <p id="d1e2529">The westerly and southerly components of the shear vorticity (in geostrophic units) are
          <disp-formula id="App1.Ch1.S1.E6" content-type="numbered"><label>A5</label><mml:math id="M73" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mi>Z</mml:mi><mml:mi>W</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>sin⁡</mml:mi><mml:mi mathvariant="italic">ψ</mml:mi></mml:mrow><mml:mrow><mml:mi>sin⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="italic">ψ</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="bold">15</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">16</mml:mn></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="bold">8</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">9</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>sin⁡</mml:mi><mml:mi mathvariant="italic">ψ</mml:mi></mml:mrow><mml:mrow><mml:mi>sin⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="italic">ψ</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mrow><mml:mn mathvariant="bold">8</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">9</mml:mn></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="bold">1</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        and
          <disp-formula id="App1.Ch1.S1.E7" content-type="numbered"><label>A6</label><mml:math id="M74" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mi>Z</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:msup><mml:mi>cos⁡</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mi mathvariant="italic">ψ</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=""><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="bold">6</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>⋅</mml:mo><mml:mn mathvariant="bold">10</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">14</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mrow><mml:mn mathvariant="bold">5</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>⋅</mml:mo><mml:mn mathvariant="bold">9</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">13</mml:mn></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="bold">4</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>⋅</mml:mo><mml:mn mathvariant="bold">8</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">12</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced close=")" open=""><mml:mrow><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mrow><mml:mn mathvariant="bold">3</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>⋅</mml:mo><mml:mn mathvariant="bold">7</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="bold">11</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        respectively, and the total shear vorticity for the focus area can then be calculated as
          <disp-formula id="App1.Ch1.S1.E8" content-type="numbered"><label>A7</label><mml:math id="M75" display="block"><mml:mrow><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:mi>Z</mml:mi><mml:mi>W</mml:mi><mml:mo>+</mml:mo><mml:mi>Z</mml:mi><mml:mi>S</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
        Based on these variables, the synoptic situation can be uniquely classified as one of the 27 LWTs following this scheme of conditions <xref ref-type="bibr" rid="bib1.bibx22" id="paren.66"/>:
<list list-type="order"><list-item>
      <p id="d1e2819">If ws <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:mi>Z</mml:mi><mml:mo>|</mml:mo><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula>: weak flow (unclassified); LWT is U.</p></list-item><list-item>
      <p id="d1e2849">Else, if <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:mi>Z</mml:mi><mml:mo>|</mml:mo><mml:mo>≤</mml:mo><mml:mtext>ws</mml:mtext></mml:mrow></mml:math></inline-formula>: directional flow; LWT is N/NE/E/SE/S/SW/W/NW.</p></list-item><list-item>
      <p id="d1e2869">Else, if <inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:mi>Z</mml:mi><mml:mo>|</mml:mo><mml:mo>&gt;</mml:mo><mml:mtext>ws</mml:mtext></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:mi>Z</mml:mi><mml:mo>|</mml:mo><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>⋅</mml:mo><mml:mtext>ws</mml:mtext></mml:mrow></mml:math></inline-formula>: hybrid flow that is either cyclonic (if <inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:mi>Z</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>, LWT is, e.g., CSE) or anticyclonic (if  <inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:mi>Z</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>, LWT is, e.g., ASE).</p></list-item><list-item>
      <p id="d1e2933">Else, if <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:mi>Z</mml:mi><mml:mo>|</mml:mo><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>⋅</mml:mo><mml:mtext>ws</mml:mtext></mml:mrow></mml:math></inline-formula>: the LWT is either cyclonic (C) if <inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:mi>Z</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> or anticyclonic (A) if  <inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:mi>Z</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>.</p></list-item></list></p>
</app>

<app id="App1.Ch1.S2">
  <?xmltex \currentcnt{B}?><label>Appendix B</label><title>List of acronyms and abbreviations</title>
      <p id="d1e2988"><table-wrap id="Taba" position="anchor"><oasis:table><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="justify" colwidth="6cm"/>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">AROME</oasis:entry>
         <oasis:entry colname="col2">Applications of Research to Operations at Mesoscale</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">CRMSE</oasis:entry>
         <oasis:entry colname="col2">Centered root mean square error</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">D1 <inline-formula><mml:math id="M86" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula> D2</oasis:entry>
         <oasis:entry colname="col2">0–23 and 24–47 h forecasts</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">EMD</oasis:entry>
         <oasis:entry colname="col2">Earth mover’s distance</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">JC</oasis:entry>
         <oasis:entry colname="col2">Jenkinson and Collison</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">LLJ</oasis:entry>
         <oasis:entry colname="col2">Low-level jet</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Lidar</oasis:entry>
         <oasis:entry colname="col2">Light detection and ranging</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">LR</oasis:entry>
         <oasis:entry colname="col2">Linear regression</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">LWT</oasis:entry>
         <oasis:entry colname="col2">Lamb weather type</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">NBH</oasis:entry>
         <oasis:entry colname="col2">Neighborhood</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">NWP</oasis:entry>
         <oasis:entry colname="col2">Numerical weather prediction</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MAE</oasis:entry>
         <oasis:entry colname="col2">Mean absolute error</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ML</oasis:entry>
         <oasis:entry colname="col2">Machine learning</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MLS</oasis:entry>
         <oasis:entry colname="col2">Minimum leaf size</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">PCHIP</oasis:entry>
         <oasis:entry colname="col2">Piece-wise cubic Hermite interpolating polynomial</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">RF</oasis:entry>
         <oasis:entry colname="col2">Random forest</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap></p><?xmltex \hack{\clearpage}?>
</app>
  </app-group><notes notes-type="codeavailability"><title>Code availability</title>

      <p id="d1e3159">The code used to generate the figures and tables can be acquired by contacting the first author (christoffer.hallgren@geo.uu.se).</p>
  </notes><notes notes-type="dataavailability"><title>Data availability</title>

      <p id="d1e3165">The Doppler lidar data are available from Ville Vakkari upon request. The AROME data are available at <uri>https://thredds.met.no/thredds/catalog/meps25epsarchive/catalog.html</uri> (last access: 13 February 2021).</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e3174">The project was conceptualized and administrated by CH, ES, HK and SI. Funding acquisition was carried out by ES, HK and SI. The methodology, programming, validation, formal analysis and visualization was performed by CH, who also wrote the original draft. CH was supervised by ES, HK and SI. Data curation was performed by VV. All authors participated in reviewing and editing the manuscript.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e3180">The contact author has declared that neither they nor their co-authors have any competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d1e3186">The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.
<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?>
Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e3195">The work forms part of the Swedish strategic research program STandUP for Wind. The AROME data used in the study were provided by the Norwegian Meteorological Institute.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e3201">This research has been supported by the Energimyndigheten VindEL program (grant no. 47054-1).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e3207">This paper was edited by Andrea Hahmann and reviewed by two anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><?xmltex \def\ref@label{{Bengtsson et~al.(2017)}}?><label>Bengtsson et al.(2017)</label><?label bengtsson2017harmonie?><mixed-citation>Bengtsson, L., Andrae, U., Aspelien, T., Batrak, Y., Calvo, J., de Rooy, W., Gleeson, E., Hansen-Sass, B., Homleid, M., Hortal, M., Ivarsson, K.-I., Lenderink, G., Niemelä, S., Pagh Nielsen, K., Onvlee, J., Rontu, L., Samuelsson, P., Santos Muñoz, D., Subias, A., Tijm, S., Toll, V., Yang, X., and Ødegaard Køltzow, M.: The HARMONIE–AROME model configuration in the ALADIN–HIRLAM NWP
system, Mon. Weather Rev., 145, 1919–1935,
<ext-link xlink:href="https://doi.org/10.1175/MWR-D-16-0417.1" ext-link-type="DOI">10.1175/MWR-D-16-0417.1</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx2"><?xmltex \def\ref@label{{Bishop and Miller(2007)}}?><label>Bishop and Miller(2007)</label><?label bishop2007visual?><mixed-citation>Bishop, I. D. and Miller, D. R.: Visual assessment of off-shore wind turbines:
The influence of distance, contrast, movement and social variables, Renew. Energ., 32, 814–831, <ext-link xlink:href="https://doi.org/10.1016/j.renene.2006.03.009" ext-link-type="DOI">10.1016/j.renene.2006.03.009</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx3"><?xmltex \def\ref@label{{Breiman(2001)}}?><label>Breiman(2001)</label><?label breiman2001randomforest?><mixed-citation>Breiman, L.: Random forests, Mach. Learn., 45, 5–32,
<ext-link xlink:href="https://doi.org/10.1023/A:1010933404324" ext-link-type="DOI">10.1023/A:1010933404324</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx4"><?xmltex \def\ref@label{{Brodlie and Butt(1991)}}?><label>Brodlie and Butt(1991)</label><?label brodlie1991PCHIP?><mixed-citation>Brodlie, K. and Butt, S.: Preserving convexity using piecewise cubic
interpolation, Comput. Graph., 15, 15–23,
<ext-link xlink:href="https://doi.org/10.1016/0097-8493(91)90026-e" ext-link-type="DOI">10.1016/0097-8493(91)90026-e</ext-link>, 1991.</mixed-citation></ref>
      <ref id="bib1.bibx5"><?xmltex \def\ref@label{{Butler(2014)}}?><label>Butler(2014)</label><?label butler2014wake?><mixed-citation>
Butler, J. N.: Assessment of complex wind turbine wake flow using scanning wind
lidar measurements and numerical analysis techniques, PhD thesis,
University of Strathclyde, Glasgow, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx6"><?xmltex \def\ref@label{{Cai et~al.(2018)}}?><label>Cai et al.(2018)</label><?label cai2018feature?><mixed-citation>Cai, J., Luo, J., Wang, S., and Yang, S.: Feature selection in machine
learning: A new perspective, Neurocomputing, 300, 70–79,
<ext-link xlink:href="https://doi.org/10.1016/j.neucom.2017.11.077" ext-link-type="DOI">10.1016/j.neucom.2017.11.077</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx7"><?xmltex \def\ref@label{{Demuzere et~al.(2009)}}?><label>Demuzere et al.(2009)</label><?label demuzere2009ECHAM5?><mixed-citation>Demuzere, M., Werner, M., Van Lipzig, N., and Roeckner, E.: An analysis of
present and future ECHAM5 pressure fields using a classification of
circulation patterns, Int. J. Climatol., 29, 1796–1810, <ext-link xlink:href="https://doi.org/10.1002/joc.1821" ext-link-type="DOI">10.1002/joc.1821</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx8"><?xmltex \def\ref@label{{Díaz and Soares(2020)}}?><label>Díaz and Soares(2020)</label><?label diaz2020review?><mixed-citation>Díaz, H. and Soares, C. G.: Review of the current status, technology and
future trends of offshore wind farms, Ocean Eng., 209, 107381,
<ext-link xlink:href="https://doi.org/10.1016/j.oceaneng.2020.107381" ext-link-type="DOI">10.1016/j.oceaneng.2020.107381</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx9"><?xmltex \def\ref@label{{Esteban et~al.(2011)}}?><label>Esteban et al.(2011)</label><?label esteban2011whyoffshore?><mixed-citation>Esteban, M. D., Diez, J. J., López, J. S., and Negro, V.: Why offshore wind
energy?, Renew. Energ., 36, 444–450, <ext-link xlink:href="https://doi.org/10.1016/j.renene.2010.07.009" ext-link-type="DOI">10.1016/j.renene.2010.07.009</ext-link>,
2011.</mixed-citation></ref>
      <ref id="bib1.bibx10"><?xmltex \def\ref@label{{Fennell(2018)}}?><label>Fennell(2018)</label><?label fennell2018comparison?><mixed-citation>
Fennell, E.: Comparison of Onshore and Offshore Boundary Layers in the HARMONIE
Model for Wind Energy Purposes, Master's thesis, meteorology and Air Quality,
Wageningen University, Wageningen, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx11"><?xmltex \def\ref@label{{Foley et~al.(2012)}}?><label>Foley et al.(2012)</label><?label foley2012current?><mixed-citation>Foley, A. M., Leahy, P. G., Marvuglia, A., and McKeogh, E. J.: Current methods
and advances in forecasting of wind power generation, Renew. Energ., 37,
1–8, <ext-link xlink:href="https://doi.org/10.1016/j.renene.2011.05.033" ext-link-type="DOI">10.1016/j.renene.2011.05.033</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx12"><?xmltex \def\ref@label{{Fritsch and Carlson(1980)}}?><label>Fritsch and Carlson(1980)</label><?label fritsch1980pchip?><mixed-citation>Fritsch, F. N. and Carlson, R. E.: Monotone piecewise cubic interpolation, SIAM
J. Numer. Anal., 17, 238–246, <ext-link xlink:href="https://doi.org/10.1137/0717021" ext-link-type="DOI">10.1137/0717021</ext-link>, 1980.</mixed-citation></ref>
      <ref id="bib1.bibx13"><?xmltex \def\ref@label{{Gilbert et~al.(2020)}}?><label>Gilbert et al.(2020)</label><?label gilbert2020statistical?><mixed-citation>Gilbert, C., Messner, J. W., Pinson, P., Trombe, P.-J., Verzijlbergh, R., van
Dorp, P., and Jonker, H.: Statistical post-processing of turbulence-resolving
weather forecasts for offshore wind power forecasting, Wind Energy, 23,
884–897, <ext-link xlink:href="https://doi.org/10.1002/we.2456" ext-link-type="DOI">10.1002/we.2456</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx14"><?xmltex \def\ref@label{{Hallgren et~al.(2020)}}?><label>Hallgren et al.(2020)</label><?label hallgren2020looking?><mixed-citation>Hallgren, C., Arnqvist, J., Ivanell, S., Körnich, H., Vakkari, V., and
Sahlée, E.: Looking for an Offshore Low-Level Jet Champion among Recent
Reanalyses: A Tight Race over the Baltic Sea, Energies, 13, 3670,
<ext-link xlink:href="https://doi.org/10.3390/en13143670" ext-link-type="DOI">10.3390/en13143670</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx15"><?xmltex \def\ref@label{{Hanifi et~al.(2020)}}?><label>Hanifi et al.(2020)</label><?label hanifi2020critical?><mixed-citation>Hanifi, S., Liu, X., Lin, Z., and Lotfian, S.: A critical review of wind power
forecasting methods – past, present and future, Energies, 13, 3764,
<ext-link xlink:href="https://doi.org/10.3390/en13153764" ext-link-type="DOI">10.3390/en13153764</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx16"><?xmltex \def\ref@label{{Heppelmann et~al.(2017)}}?><label>Heppelmann et al.(2017)</label><?label heppelmann2017?><mixed-citation>Heppelmann, T., Steiner, A., and Vogt, S.: Application of numerical weather
prediction in wind power forecasting: Assessment of the diurnal cycle,
Meteorol. Z., 26, 319–331, <ext-link xlink:href="https://doi.org/10.1127/metz/2017/0820" ext-link-type="DOI">10.1127/metz/2017/0820</ext-link>,
2017.</mixed-citation></ref>
      <ref id="bib1.bibx17"><?xmltex \def\ref@label{{Hirsikko et~al.(2014)}}?><label>Hirsikko et al.(2014)</label><?label hirsikko2014FinlandRemotesensing?><mixed-citation>Hirsikko, A., O'Connor, E. J., Komppula, M., Korhonen, K., Pfüller, A., Giannakaki, E., Wood, C. R., Bauer-Pfundstein, M., Poikonen, A., Karppinen, T., Lonka, H., Kurri, M., Heinonen, J., Moisseev, D., Asmi, E., Aaltonen, V., Nordbo, A., Rodriguez, E., Lihavainen, H., Laaksonen, A., Lehtinen, K. E. J., Laurila, T., Petäjä, T., Kulmala, M., and Viisanen, Y.: Observing wind, aerosol particles, cloud and precipitation: Finland's new ground-based remote-sensing network, Atmos. Meas. Tech., 7, 1351–1375, <ext-link xlink:href="https://doi.org/10.5194/amt-7-1351-2014" ext-link-type="DOI">10.5194/amt-7-1351-2014</ext-link>, 2014.</mixed-citation></ref>
      <?pagebreak page1225?><ref id="bib1.bibx18"><?xmltex \def\ref@label{{Holtslag et~al.(2013)}}?><label>Holtslag et al.(2013)</label><?label holtslag2013stable?><mixed-citation>Holtslag, A. A. M., Svensson, G., Baas, P., Basu, S., Beare, B., Beljaars, A. C. M., Bosveld, F. C., Cuxart, J., Lindvall, J., Steeneveld, G. J., Tjernström, M., and Van De Wiel, B. J. H.: Stable atmospheric boundary layers and diurnal cycles:
challenges for weather and climate models, B. Am.
Meteorol. Soc., 94, 1691–1706, <ext-link xlink:href="https://doi.org/10.1175/bams-d-11-00187.1" ext-link-type="DOI">10.1175/bams-d-11-00187.1</ext-link>,
2013.</mixed-citation></ref>
      <ref id="bib1.bibx19"><?xmltex \def\ref@label{{Huang et~al.(2016)}}?><label>Huang et al.(2016)</label><?label huang2016permutation?><mixed-citation>Huang, N., Lu, G., and Xu, D.: A permutation importance-based feature selection
method for short-term electricity load forecasting using random forest,
Energies, 9, 767, <ext-link xlink:href="https://doi.org/10.3390/en9100767" ext-link-type="DOI">10.3390/en9100767</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx20"><?xmltex \def\ref@label{{Huth et~al.(2008)}}?><label>Huth et al.(2008)</label><?label huth2008classifications?><mixed-citation>
Huth, R., Beck, C., Philipp, A., Demuzere, M., Ustrnul, Z., Cahynová, M.,
Kyselỳ, J., and Tveito, O. E.: Classifications of atmospheric circulation
patterns: recent advances and applications, Ann. NY Acad.
Sci., 1146, 105–152, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx21"><?xmltex \def\ref@label{{Jenkinson and Collison(1977)}}?><label>Jenkinson and Collison(1977)</label><?label jenkinsoncollison1977?><mixed-citation>
Jenkinson, A. and Collison, F.: An initial climatology of gales over the North
Sea, Synoptic climatology branch memorandum, 62, 1–18, 1977.</mixed-citation></ref>
      <ref id="bib1.bibx22"><?xmltex \def\ref@label{{Jones et~al.(2012)}}?><label>Jones et al.(2012)</label><?label jones2012LWT?><mixed-citation>Jones, P., Harpham, C., and Briffa, K.: Lamb weather types derived from
reanalysis products, Int. J. Climatol., 33, 1129–1139,
<ext-link xlink:href="https://doi.org/10.1002/joc.3498" ext-link-type="DOI">10.1002/joc.3498</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx23"><?xmltex \def\ref@label{{Kalverla et~al.(2017)}}?><label>Kalverla et al.(2017)</label><?label kalverla2017anomalous?><mixed-citation>Kalverla, P. C., Steeneveld, G.-J., Ronda, R. J., and Holtslag, A. A. M.: An
observational climatology of anomalous wind events at offshore meteomast
IJmuiden (North Sea), J. Wind Eng. Ind.
Aerod., 165, 86–99, <ext-link xlink:href="https://doi.org/10.1016/j.jweia.2017.03.008" ext-link-type="DOI">10.1016/j.jweia.2017.03.008</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx24"><?xmltex \def\ref@label{{Kalverla et~al.(2019)}}?><label>Kalverla et al.(2019)</label><?label kalverla2019evaluation?><mixed-citation>Kalverla, P. C., Steeneveld, G.-J., Ronda, R. J., and Holtslag, A. A. M.:
Evaluation of three mainstream numerical weather prediction models with
observations from meteorological mast IJmuiden at the North Sea, Wind Energy,
22, 34–48, <ext-link xlink:href="https://doi.org/10.1002/we.2267" ext-link-type="DOI">10.1002/we.2267</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx25"><?xmltex \def\ref@label{{Kursa and Rudnicki(2010)}}?><label>Kursa and Rudnicki(2010)</label><?label kursa2010feature?><mixed-citation>Kursa, M. B. and Rudnicki, W. R.: Feature selection with the Boruta package,
J. Statist. Softw., 36, 1–13,
<ext-link xlink:href="https://doi.org/10.18637/jss.v036.i11" ext-link-type="DOI">10.18637/jss.v036.i11</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx26"><?xmltex \def\ref@label{{Lahouar and Slama(2017)}}?><label>Lahouar and Slama(2017)</label><?label lahouar2017hour?><mixed-citation>Lahouar, A. and Slama, J. B. H.: Hour-ahead wind power forecast based on random
forests, Renew. Energ., 109, 529–541, <ext-link xlink:href="https://doi.org/10.1016/j.renene.2017.03.064" ext-link-type="DOI">10.1016/j.renene.2017.03.064</ext-link>,
2017.</mixed-citation></ref>
      <ref id="bib1.bibx27"><?xmltex \def\ref@label{{Lamb(1972)}}?><label>Lamb(1972)</label><?label lamb1972LWT?><mixed-citation>
Lamb, H. H.: British Isles weather types and a register of the daily sequence
of circulation patterns 1861–1971, Geophysical memoirs, Met. Office, 1972.</mixed-citation></ref>
      <ref id="bib1.bibx28"><?xmltex \def\ref@label{{Lamraoui et~al.(2014)}}?><label>Lamraoui et al.(2014)</label><?label lamraoui2014atmospheric?><mixed-citation>Lamraoui, F., Fortin, G., Benoit, R., Perron, J., and Masson, C.: Atmospheric
icing impact on wind turbine production, Cold Reg. Sci. Technol.,
100, 36–49, <ext-link xlink:href="https://doi.org/10.1016/j.coldregions.2013.12.008" ext-link-type="DOI">10.1016/j.coldregions.2013.12.008</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx29"><?xmltex \def\ref@label{{Lee and Zhao(2021)}}?><label>Lee and Zhao(2021)</label><?label GWEC2021_globalwindreport?><mixed-citation>Lee, J. and Zhao, F.: Global Wind Report 2021,
available at: <uri>https://gwec.net/global-wind-report-2021/</uri>, last access:
30 March 2021.</mixed-citation></ref>
      <ref id="bib1.bibx30"><?xmltex \def\ref@label{{Lee et~al.(2017)}}?><label>Lee et al.(2017)</label><?label lee2017Ribulk?><mixed-citation>Lee, J. A., Hacker, J. P., Delle Monache, L., Kosović, B., Clifton, A.,
Vandenberghe, F., and Rodrigo, J. S.: Improving wind predictions in the
marine atmospheric boundary layer through parameter estimation in a
single-column model, Mon. Weather Rev., 145, 5–24,
<ext-link xlink:href="https://doi.org/10.1175/MWR-D-16-0063.1" ext-link-type="DOI">10.1175/MWR-D-16-0063.1</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx31"><?xmltex \def\ref@label{{Leung and Yang(2012)}}?><label>Leung and Yang(2012)</label><?label leung2012?><mixed-citation>Leung, D. Y. and Yang, Y.: Wind energy development and its environmental
impact: A review, Renewable and Sustainable Energy Reviews, 16, 1031–1039,
<ext-link xlink:href="https://doi.org/10.1016/j.rser.2011.09.024" ext-link-type="DOI">10.1016/j.rser.2011.09.024</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx32"><?xmltex \def\ref@label{{Lled{\'{o}} et~al.(2019)}}?><label>Lledó et al.(2019)</label><?label lledo2019seasonal?><mixed-citation>Lledó, L., Torralba, V., Soret, A., Ramon, J., and Doblas-Reyes, F. J.:
Seasonal forecasts of wind power generation, Renew. Energ., 143, 91–100,
<ext-link xlink:href="https://doi.org/10.1016/j.renene.2019.04.135" ext-link-type="DOI">10.1016/j.renene.2019.04.135</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx33"><?xmltex \def\ref@label{{Mass et~al.(2002)}}?><label>Mass et al.(2002)</label><?label mass2002smooth?><mixed-citation>Mass, C. F., Ovens, D., Westrick, K., and Colle, B. A.: Does increasing
horizontal resolution produce more skillful forecasts?: The Results of Two
Years of real-Time Numerical Weather Prediction over the Pacific Northwest,
B. Am. Meteorol. Soc., 83, 407–430,
<ext-link xlink:href="https://doi.org/10.1175/1520-0477(2002)083&lt;0407:DIHRPM&gt;2.3.CO;2" ext-link-type="DOI">10.1175/1520-0477(2002)083&lt;0407:DIHRPM&gt;2.3.CO;2</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bibx34"><?xmltex \def\ref@label{{{MathWorks}(2021)}}?><label>MathWorks(2021)</label><?label TreeBagger?><mixed-citation>MathWorks: TreeBagger,
available at: <uri>https://www.mathworks.com/help/stats/treebagger.html</uri>, last
access: 30 March 2021.</mixed-citation></ref>
      <ref id="bib1.bibx35"><?xmltex \def\ref@label{{Molinder et~al.(2018)}}?><label>Molinder et al.(2018)</label><?label molinder2018case?><mixed-citation>Molinder, J., Körnich, H., Olsson, E., Bergström, H., and Sjöblom, A.: Probabilistic forecasting of wind power production losses in cold climates: a case study, Wind Energ. Sci., 3, 667–680, <ext-link xlink:href="https://doi.org/10.5194/wes-3-667-2018" ext-link-type="DOI">10.5194/wes-3-667-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx36"><?xmltex \def\ref@label{{Molinder et~al.(2021)}}?><label>Molinder et al.(2021)</label><?label molinder2021probabilistic?><mixed-citation>Molinder, J., Scher, S., Nilsson, E., Körnich, H., Bergström, H., and
Sjöblom, A.: Probabilistic Forecasting of Wind Turbine Icing Related
Production Losses Using Quantile Regression Forests, Energies, 14, 158,
<ext-link xlink:href="https://doi.org/10.3390/en14010158" ext-link-type="DOI">10.3390/en14010158</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx37"><?xmltex \def\ref@label{{M{\"{u}}ller et~al.(2017)}}?><label>Müller et al.(2017)</label><?label muller2017arome?><mixed-citation>Müller, M., Homleid, M., Ivarsson, K. I., Køltzow, M. A. Ø., Lindskog, M., Midtbø, K. H., Andrae, U., Aspelien, T., Berggren, L., Bjørge, D., Dahlgren, P., Kristiansen, J., Randriamampianina, R., Ridal, M., and Vignes, O.: AROME-MetCoOp: A Nordic convective-scale
operational weather prediction model, Weather Forecast., 32, 609–627,
<ext-link xlink:href="https://doi.org/10.1175/WAF-D-16-0099.1" ext-link-type="DOI">10.1175/WAF-D-16-0099.1</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx38"><?xmltex \def\ref@label{{Nielsen et~al.(1998)l}}?><label>Nielsen et al.(1998)l</label><?label nielsen1998pers?><mixed-citation>Nielsen, T. S., Joensen, A., Madsen, H., Landberg, L., and Giebel, G.: A new
reference for wind power forecasting, Wind Energy, 1, 29–34,
<ext-link xlink:href="https://doi.org/10.1002/(SICI)1099-1824(199809)1:1%3C29::AID-WE10%3E3.0.CO;2-B" ext-link-type="DOI">10.1002/(SICI)1099-1824(199809)1:1%3C29::AID-WE10%3E3.0.CO;2-B</ext-link>, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx39"><?xmltex \def\ref@label{{Pearson et~al.(2009)}}?><label>Pearson et al.(2009)</label><?label pearson2009pulsedDopplerAnalysis?><mixed-citation>Pearson, G., Davies, F., and Collier, C.: An analysis of the performance of the
UFAM pulsed Doppler lidar for observing the boundary layer, J.
Atmos. Ocean. Technol., 26, 240–250,
<ext-link xlink:href="https://doi.org/10.1175/2008JTECHA1128.1" ext-link-type="DOI">10.1175/2008JTECHA1128.1</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx40"><?xmltex \def\ref@label{{Quaschning(2019)}}?><label>Quaschning(2019)</label><?label quaschning2019renewable?><mixed-citation>
Quaschning, V. V.: Renewable energy and climate change, 2nd edn., John Wiley &amp; Sons, Chichester, West Sussex, UK, Hoboken, N. J., 2020,
2019.</mixed-citation></ref>
      <ref id="bib1.bibx41"><?xmltex \def\ref@label{{Reen and Stauffer(2010)}}?><label>Reen and Stauffer(2010)</label><?label reen2010dataassimilation?><mixed-citation>Reen, B. P. and Stauffer, D. R.: Data assimilation strategies in the planetary
boundary layer, Bound.-Lay. Meteorol., 137, 237–269,
<ext-link xlink:href="https://doi.org/10.1007/s10546-010-9528-6" ext-link-type="DOI">10.1007/s10546-010-9528-6</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx42"><?xmltex \def\ref@label{{Rubner et~al.(2000)}}?><label>Rubner et al.(2000)</label><?label rubner2000EMD?><mixed-citation>Rubner, Y., Tomasi, C., and Guibas, L. J.: The earth mover's distance as a
metric for image retrieval, Int. J. Comput. Vision, 40,
99–121, <ext-link xlink:href="https://doi.org/10.1023/A:1026543900054" ext-link-type="DOI">10.1023/A:1026543900054</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx43"><?xmltex \def\ref@label{{Sandu et~al.(2013)}}?><label>Sandu et al.(2013)</label><?label sandu2013stable?><mixed-citation>Sandu, I., Beljaars, A., Bechtold, P., Mauritsen, T., and Balsamo, G.: Why is
it so difficult to represent stably stratified conditions in numerical
weather prediction (NWP) models?, J. Adv. Model. Earth
Sy., 5, 117–133, <ext-link xlink:href="https://doi.org/10.1002/jame.20013" ext-link-type="DOI">10.1002/jame.20013</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx44"><?xmltex \def\ref@label{{Shaw et~al.(2009)}}?><label>Shaw et al.(2009)</label><?label shaw2009researchNeeds?><mixed-citation>Shaw, W. J., Lundquist, J. K., and Schreck, S. J.: Research needs for wind
resource characterization, B. Am. Meteorol. Soc.,
90, 535–538, <ext-link xlink:href="https://doi.org/10.1175/2008BAMS2729.1" ext-link-type="DOI">10.1175/2008BAMS2729.1</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx45"><?xmltex \def\ref@label{{Shi et~al.(2018)}}?><label>Shi et al.(2018)</label><?label shi2018improved?><mixed-citation>Shi, K., Qiao, Y., Zhao, W., Wang, Q., Liu, M., and Lu, Z.: An improved random
forest model of short-term wind-power forecasting to enhance accuracy,
efficiency, and robustness, Wind Energy, 21, 1383–1394,
<ext-link xlink:href="https://doi.org/10.1002/we.2261" ext-link-type="DOI">10.1002/we.2261</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx46"><?xmltex \def\ref@label{{{Siemens}(2011)}}?><label>Siemens(2011)</label><?label SWT3.6powercurve?><mixed-citation>Siemens: Siemens Wind Turbine SWT-3.6-120: Thoroughly Tested, Utterly
Reliable,
available at: <uri>https://pdf.archiexpo.com/pdf/siemens-gamesa/swt-36-120/88089-134487.html</uri>
last access: (19 March 2021), 2011.</mixed-citation></ref>
      <ref id="bib1.bibx47"><?xmltex \def\ref@label{{Sims(2004)}}?><label>Sims(2004)</label><?label sims2004renewable?><mixed-citation>Sims, R. E.: Renewable energy: a response to climate change, Sol. Energy, 76,
9–17, <ext-link xlink:href="https://doi.org/10.1016/S0038-092X(03)00101-4" ext-link-type="DOI">10.1016/S0038-092X(03)00101-4</ext-link>, 2004.</mixed-citation></ref>
      <?pagebreak page1226?><ref id="bib1.bibx48"><?xmltex \def\ref@label{{Soman et~al.(2010)}}?><label>Soman et al.(2010)</label><?label soman2010review?><mixed-citation>Soman, S. S., Zareipour, H., Malik, O., and Mandal, P.: A review of wind power
and wind speed forecasting methods with different time horizons, in: North
American Power Symposium 2010, IEEE, 1–8,
<ext-link xlink:href="https://doi.org/10.1109/NAPS.2010.5619586" ext-link-type="DOI">10.1109/NAPS.2010.5619586</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx49"><?xmltex \def\ref@label{{Sproson and Sahl{\'{e}}e(2014)}}?><label>Sproson and Sahlée(2014)</label><?label sproson2014upwelling?><mixed-citation>Sproson, D. and Sahlée, E.: Modelling the impact of Baltic Sea upwelling on
the atmospheric boundary layer, Tellus A, 66, 24041, <ext-link xlink:href="https://doi.org/10.3402/tellusa.v66.24041" ext-link-type="DOI">10.3402/tellusa.v66.24041</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx50"><?xmltex \def\ref@label{{Stull(1988)}}?><label>Stull(1988)</label><?label stull2012book?><mixed-citation>
Stull, R. B.: An introduction to boundary layer meteorology, vol. 13, Springer Science &amp; Business Media, Dordrecht, 1988.</mixed-citation></ref>
      <ref id="bib1.bibx51"><?xmltex \def\ref@label{{Svensson(2018)}}?><label>Svensson(2018)</label><?label svensson2018thesis?><mixed-citation>
Svensson, N.: Mesoscale Processes over the Baltic Sea, PhD thesis, Acta
Universitatis Upsaliensis, Uppsala, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx52"><?xmltex \def\ref@label{{Svensson et~al.(2016)}}?><label>Svensson et al.(2016)</label><?label svensson2016stable?><mixed-citation>
Svensson, N., Bergström, H., Sahlée, E., and Rutgersson, A.: Stable
atmospheric conditions over the Baltic Sea: model evaluation and climatology, Boreal Environ. Res., 21, 387–404,
2016.</mixed-citation></ref>
      <ref id="bib1.bibx53"><?xmltex \def\ref@label{{SWEA(2019)}}?><label>SWEA(2019)</label><?label SWEA2019roadmap2040?><mixed-citation>SWEA: 100 percent renewable electricity by 2040,
available at: <uri>https://swedishwindenergy.com/wp-content/uploads/2019/10/Svensk_Vindenergi_ROADMAP_2040_rev_ENG-1.pdf</uri>
(last access: 30 March 2021), 2019.</mixed-citation></ref>
      <ref id="bib1.bibx54"><?xmltex \def\ref@label{{Swider et~al.(2008)}}?><label>Swider et al.(2008)</label><?label swider2008gridcost?><mixed-citation>Swider, D. J., Beurskens, L., Davidson, S., Twidell, J., Pyrko, J., Prüggler, W., Auer, H., Vertin, K., and Skema, R.: Conditions and costs for renewables electricity
grid connection: Examples in Europe, Renew. Energ., 33, 1832–1842,
<ext-link xlink:href="https://doi.org/10.1016/j.renene.2007.11.005" ext-link-type="DOI">10.1016/j.renene.2007.11.005</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx55"><?xmltex \def\ref@label{{Taylor(2001)}}?><label>Taylor(2001)</label><?label taylor2001summarizing?><mixed-citation>Taylor, K. E.: Summarizing multiple aspects of model performance in a single
diagram, J. Geophys. Res.-Atmos., 106, 7183–7192,
<ext-link xlink:href="https://doi.org/10.1029/2000JD900719" ext-link-type="DOI">10.1029/2000JD900719</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx56"><?xmltex \def\ref@label{{Treiber et~al.(2016)}}?><label>Treiber et al.(2016)</label><?label treiber2016wind?><mixed-citation>Treiber, N. A., Heinermann, J., and Kramer, O.: Wind power prediction with
machine learning, in: Computational sustainability. Studies in Computational
Intelligence, edited by: Lässig, J., Kersting, K., and Morik, K., Springer, 645,
13–29, <ext-link xlink:href="https://doi.org/10.1007/978-3-319-31858-5_2" ext-link-type="DOI">10.1007/978-3-319-31858-5_2</ext-link>, 2016.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bibx57"><?xmltex \def\ref@label{{Tuononen et~al.(2017)}}?><label>Tuononen et al.(2017)</label><?label tuononen2017LLJUto?><mixed-citation>Tuononen, M., O’Connor, E. J., Sinclair, V. A., and Vakkari, V.: Low-level
jets over Utö, Finland, based on Doppler lidar observations, J.
Appl. Meteorol. Climatol., 56, 2577–2594,
<ext-link xlink:href="https://doi.org/10.1175/JAMC-D-16-0411.1" ext-link-type="DOI">10.1175/JAMC-D-16-0411.1</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx58"><?xmltex \def\ref@label{{Vakkari et~al.(2019)}}?><label>Vakkari et al.(2019)</label><?label vakkari2019DopplerPostprocessing?><mixed-citation>Vakkari, V., Manninen, A. J., O'Connor, E. J., Schween, J. H., van Zyl, P. G., and Marinou, E.: A novel post-processing algorithm for Halo Doppler lidars, Atmos. Meas. Tech., 12, 839–852, <ext-link xlink:href="https://doi.org/10.5194/amt-12-839-2019" ext-link-type="DOI">10.5194/amt-12-839-2019</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx59"><?xmltex \def\ref@label{{Vannitsem et~al.(2020)}}?><label>Vannitsem et al.(2020)</label><?label vannitsem2020statistical?><mixed-citation>Vannitsem, S., Bremnes, J. B., Demaeyer, J., Evans, G. R., Flowerdew, J., Hemri, S., Lerch, S., Roberts, N., Theis, S., Atencia, A., Bouallègue, Z. B., Bhend, J., Dabernig, M., de Cruz, L., Hieta, L., Mestre, O., Moret, L., Odak Plenković, I., Schmeits, M., Taillardat, M., van den Bergh, J., van Schaeybroeck, B., Whan, K., and Ylhaisi, J.:
Statistical postprocessing for weather forecasts–review, challenges and
avenues in a big data world, B. Am. Meteorol. Soc.,
102, 681–699, <ext-link xlink:href="https://doi.org/10.1175/BAMS-D-19-0308.1" ext-link-type="DOI">10.1175/BAMS-D-19-0308.1</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx60"><?xmltex \def\ref@label{{Vassallo et~al.(2020)}}?><label>Vassallo et al.(2020)</label><?label vassallo2020analysis?><mixed-citation>Vassallo, D., Krishnamurthy, R., Sherman, T., and Fernando, H. J.: Analysis of
Random Forest Modeling Strategies for Multi-Step Wind Speed Forecasting,
Energies, 13, 5488, <ext-link xlink:href="https://doi.org/10.3390/en13205488" ext-link-type="DOI">10.3390/en13205488</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx61"><?xmltex \def\ref@label{{Wilczak et~al.(2015)}}?><label>Wilczak et al.(2015)</label><?label wilczak2015wind?><mixed-citation>Wilczak, J., Finley, C., Freedman, J., Cline, J., Bianco, L., Olson, J., Djalalova, I.,Sheridan, L., Ahlstrom, M., Manobianco, J., Zack, J., Carley, J. R., Benjamin, S., Coulter, R., Berg, L. K., Mirocha, J., Clawson, K., Natenberg, E., and Marquis, M.: The Wind
Forecast Improvement Project (WFIP): A public–private partnership addressing
wind energy forecast needs, B. Am. Meteorol. Soc.,
96, 1699–1718, <ext-link xlink:href="https://doi.org/10.1175/BAMS-D-14-00107.1" ext-link-type="DOI">10.1175/BAMS-D-14-00107.1</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx62"><?xmltex \def\ref@label{{Wu et~al.(2020)}}?><label>Wu et al.(2020)</label><?label wu2020wavesOffshore?><mixed-citation>Wu, L., Shao, M., and Sahlée, E.: Impact of Air–Wave–Sea Coupling on the
Simulation of Offshore Wind and Wave Energy Potentials, Atmosphere, 11, 327,
<ext-link xlink:href="https://doi.org/10.3390/atmos11040327" ext-link-type="DOI">10.3390/atmos11040327</ext-link>, 2020.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>The smoother the better? A comparison of six post-processing methods to improve short-term offshore wind power forecasts in the Baltic Sea</article-title-html>
<abstract-html><p>With a rapidly increasing capacity of electricity generation from wind power, the demand for accurate power production forecasts is growing. To date, most wind power installations have been onshore and thus most studies on production forecasts have focused on onshore conditions. However, as offshore wind power is becoming increasingly popular it is also important to assess forecast quality in offshore locations. In this study, forecasts from the high-resolution numerical weather prediction model AROME was used to analyze power production forecast performance for an offshore site in the Baltic Sea. To improve the AROME forecasts, six post-processing methods were investigated and their individual performance analyzed in general as well as for different wind speed ranges, boundary layer stratifications, synoptic situations and in low-level jet conditions. In general, AROME performed well in forecasting the power production, but applying smoothing or using a random forest algorithm increased forecast skill. Smoothing the forecast improved the performance at all wind speeds, all stratifications and for all synoptic weather classes, and the random forest method increased the forecast skill during low-level jets. To achieve the best performance, we recommend selecting which method to use based on the forecasted weather conditions. Combining forecasts from neighboring grid points, combining the recent forecast with the forecast from yesterday or applying linear regression to correct the forecast based on earlier performance were not fruitful methods to increase the overall forecast quality.</p></abstract-html>
<ref-html id="bib1.bib1"><label>Bengtsson et al.(2017)</label><mixed-citation>
Bengtsson, L., Andrae, U., Aspelien, T., Batrak, Y., Calvo, J., de Rooy, W., Gleeson, E., Hansen-Sass, B., Homleid, M., Hortal, M., Ivarsson, K.-I., Lenderink, G., Niemelä, S., Pagh Nielsen, K., Onvlee, J., Rontu, L., Samuelsson, P., Santos Muñoz, D., Subias, A., Tijm, S., Toll, V., Yang, X., and Ødegaard Køltzow, M.: The HARMONIE–AROME model configuration in the ALADIN–HIRLAM NWP
system, Mon. Weather Rev., 145, 1919–1935,
<a href="https://doi.org/10.1175/MWR-D-16-0417.1" target="_blank">https://doi.org/10.1175/MWR-D-16-0417.1</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Bishop and Miller(2007)</label><mixed-citation>
Bishop, I. D. and Miller, D. R.: Visual assessment of off-shore wind turbines:
The influence of distance, contrast, movement and social variables, Renew. Energ., 32, 814–831, <a href="https://doi.org/10.1016/j.renene.2006.03.009" target="_blank">https://doi.org/10.1016/j.renene.2006.03.009</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Breiman(2001)</label><mixed-citation>
Breiman, L.: Random forests, Mach. Learn., 45, 5–32,
<a href="https://doi.org/10.1023/A:1010933404324" target="_blank">https://doi.org/10.1023/A:1010933404324</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Brodlie and Butt(1991)</label><mixed-citation>
Brodlie, K. and Butt, S.: Preserving convexity using piecewise cubic
interpolation, Comput. Graph., 15, 15–23,
<a href="https://doi.org/10.1016/0097-8493(91)90026-e" target="_blank">https://doi.org/10.1016/0097-8493(91)90026-e</a>, 1991.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Butler(2014)</label><mixed-citation>
Butler, J. N.: Assessment of complex wind turbine wake flow using scanning wind
lidar measurements and numerical analysis techniques, PhD thesis,
University of Strathclyde, Glasgow, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Cai et al.(2018)</label><mixed-citation>
Cai, J., Luo, J., Wang, S., and Yang, S.: Feature selection in machine
learning: A new perspective, Neurocomputing, 300, 70–79,
<a href="https://doi.org/10.1016/j.neucom.2017.11.077" target="_blank">https://doi.org/10.1016/j.neucom.2017.11.077</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Demuzere et al.(2009)</label><mixed-citation>
Demuzere, M., Werner, M., Van Lipzig, N., and Roeckner, E.: An analysis of
present and future ECHAM5 pressure fields using a classification of
circulation patterns, Int. J. Climatol., 29, 1796–1810, <a href="https://doi.org/10.1002/joc.1821" target="_blank">https://doi.org/10.1002/joc.1821</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Díaz and Soares(2020)</label><mixed-citation>
Díaz, H. and Soares, C. G.: Review of the current status, technology and
future trends of offshore wind farms, Ocean Eng., 209, 107381,
<a href="https://doi.org/10.1016/j.oceaneng.2020.107381" target="_blank">https://doi.org/10.1016/j.oceaneng.2020.107381</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Esteban et al.(2011)</label><mixed-citation>
Esteban, M. D., Diez, J. J., López, J. S., and Negro, V.: Why offshore wind
energy?, Renew. Energ., 36, 444–450, <a href="https://doi.org/10.1016/j.renene.2010.07.009" target="_blank">https://doi.org/10.1016/j.renene.2010.07.009</a>,
2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Fennell(2018)</label><mixed-citation>
Fennell, E.: Comparison of Onshore and Offshore Boundary Layers in the HARMONIE
Model for Wind Energy Purposes, Master's thesis, meteorology and Air Quality,
Wageningen University, Wageningen, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Foley et al.(2012)</label><mixed-citation>
Foley, A. M., Leahy, P. G., Marvuglia, A., and McKeogh, E. J.: Current methods
and advances in forecasting of wind power generation, Renew. Energ., 37,
1–8, <a href="https://doi.org/10.1016/j.renene.2011.05.033" target="_blank">https://doi.org/10.1016/j.renene.2011.05.033</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Fritsch and Carlson(1980)</label><mixed-citation>
Fritsch, F. N. and Carlson, R. E.: Monotone piecewise cubic interpolation, SIAM
J. Numer. Anal., 17, 238–246, <a href="https://doi.org/10.1137/0717021" target="_blank">https://doi.org/10.1137/0717021</a>, 1980.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Gilbert et al.(2020)</label><mixed-citation>
Gilbert, C., Messner, J. W., Pinson, P., Trombe, P.-J., Verzijlbergh, R., van
Dorp, P., and Jonker, H.: Statistical post-processing of turbulence-resolving
weather forecasts for offshore wind power forecasting, Wind Energy, 23,
884–897, <a href="https://doi.org/10.1002/we.2456" target="_blank">https://doi.org/10.1002/we.2456</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Hallgren et al.(2020)</label><mixed-citation>
Hallgren, C., Arnqvist, J., Ivanell, S., Körnich, H., Vakkari, V., and
Sahlée, E.: Looking for an Offshore Low-Level Jet Champion among Recent
Reanalyses: A Tight Race over the Baltic Sea, Energies, 13, 3670,
<a href="https://doi.org/10.3390/en13143670" target="_blank">https://doi.org/10.3390/en13143670</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Hanifi et al.(2020)</label><mixed-citation>
Hanifi, S., Liu, X., Lin, Z., and Lotfian, S.: A critical review of wind power
forecasting methods – past, present and future, Energies, 13, 3764,
<a href="https://doi.org/10.3390/en13153764" target="_blank">https://doi.org/10.3390/en13153764</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Heppelmann et al.(2017)</label><mixed-citation>
Heppelmann, T., Steiner, A., and Vogt, S.: Application of numerical weather
prediction in wind power forecasting: Assessment of the diurnal cycle,
Meteorol. Z., 26, 319–331, <a href="https://doi.org/10.1127/metz/2017/0820" target="_blank">https://doi.org/10.1127/metz/2017/0820</a>,
2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Hirsikko et al.(2014)</label><mixed-citation>
Hirsikko, A., O'Connor, E. J., Komppula, M., Korhonen, K., Pfüller, A., Giannakaki, E., Wood, C. R., Bauer-Pfundstein, M., Poikonen, A., Karppinen, T., Lonka, H., Kurri, M., Heinonen, J., Moisseev, D., Asmi, E., Aaltonen, V., Nordbo, A., Rodriguez, E., Lihavainen, H., Laaksonen, A., Lehtinen, K. E. J., Laurila, T., Petäjä, T., Kulmala, M., and Viisanen, Y.: Observing wind, aerosol particles, cloud and precipitation: Finland's new ground-based remote-sensing network, Atmos. Meas. Tech., 7, 1351–1375, <a href="https://doi.org/10.5194/amt-7-1351-2014" target="_blank">https://doi.org/10.5194/amt-7-1351-2014</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Holtslag et al.(2013)</label><mixed-citation>
Holtslag, A. A. M., Svensson, G., Baas, P., Basu, S., Beare, B., Beljaars, A. C. M., Bosveld, F. C., Cuxart, J., Lindvall, J., Steeneveld, G. J., Tjernström, M., and Van De Wiel, B. J. H.: Stable atmospheric boundary layers and diurnal cycles:
challenges for weather and climate models, B. Am.
Meteorol. Soc., 94, 1691–1706, <a href="https://doi.org/10.1175/bams-d-11-00187.1" target="_blank">https://doi.org/10.1175/bams-d-11-00187.1</a>,
2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Huang et al.(2016)</label><mixed-citation>
Huang, N., Lu, G., and Xu, D.: A permutation importance-based feature selection
method for short-term electricity load forecasting using random forest,
Energies, 9, 767, <a href="https://doi.org/10.3390/en9100767" target="_blank">https://doi.org/10.3390/en9100767</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Huth et al.(2008)</label><mixed-citation>
Huth, R., Beck, C., Philipp, A., Demuzere, M., Ustrnul, Z., Cahynová, M.,
Kyselỳ, J., and Tveito, O. E.: Classifications of atmospheric circulation
patterns: recent advances and applications, Ann. NY Acad.
Sci., 1146, 105–152, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Jenkinson and Collison(1977)</label><mixed-citation>
Jenkinson, A. and Collison, F.: An initial climatology of gales over the North
Sea, Synoptic climatology branch memorandum, 62, 1–18, 1977.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Jones et al.(2012)</label><mixed-citation>
Jones, P., Harpham, C., and Briffa, K.: Lamb weather types derived from
reanalysis products, Int. J. Climatol., 33, 1129–1139,
<a href="https://doi.org/10.1002/joc.3498" target="_blank">https://doi.org/10.1002/joc.3498</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Kalverla et al.(2017)</label><mixed-citation>
Kalverla, P. C., Steeneveld, G.-J., Ronda, R. J., and Holtslag, A. A. M.: An
observational climatology of anomalous wind events at offshore meteomast
IJmuiden (North Sea), J. Wind Eng. Ind.
Aerod., 165, 86–99, <a href="https://doi.org/10.1016/j.jweia.2017.03.008" target="_blank">https://doi.org/10.1016/j.jweia.2017.03.008</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Kalverla et al.(2019)</label><mixed-citation>
Kalverla, P. C., Steeneveld, G.-J., Ronda, R. J., and Holtslag, A. A. M.:
Evaluation of three mainstream numerical weather prediction models with
observations from meteorological mast IJmuiden at the North Sea, Wind Energy,
22, 34–48, <a href="https://doi.org/10.1002/we.2267" target="_blank">https://doi.org/10.1002/we.2267</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Kursa and Rudnicki(2010)</label><mixed-citation>
Kursa, M. B. and Rudnicki, W. R.: Feature selection with the Boruta package,
J. Statist. Softw., 36, 1–13,
<a href="https://doi.org/10.18637/jss.v036.i11" target="_blank">https://doi.org/10.18637/jss.v036.i11</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Lahouar and Slama(2017)</label><mixed-citation>
Lahouar, A. and Slama, J. B. H.: Hour-ahead wind power forecast based on random
forests, Renew. Energ., 109, 529–541, <a href="https://doi.org/10.1016/j.renene.2017.03.064" target="_blank">https://doi.org/10.1016/j.renene.2017.03.064</a>,
2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Lamb(1972)</label><mixed-citation>
Lamb, H. H.: British Isles weather types and a register of the daily sequence
of circulation patterns 1861–1971, Geophysical memoirs, Met. Office, 1972.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Lamraoui et al.(2014)</label><mixed-citation>
Lamraoui, F., Fortin, G., Benoit, R., Perron, J., and Masson, C.: Atmospheric
icing impact on wind turbine production, Cold Reg. Sci. Technol.,
100, 36–49, <a href="https://doi.org/10.1016/j.coldregions.2013.12.008" target="_blank">https://doi.org/10.1016/j.coldregions.2013.12.008</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Lee and Zhao(2021)</label><mixed-citation>
Lee, J. and Zhao, F.: Global Wind Report 2021,
available at: <a href="https://gwec.net/global-wind-report-2021/" target="_blank"/>, last access:
30 March 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Lee et al.(2017)</label><mixed-citation>
Lee, J. A., Hacker, J. P., Delle Monache, L., Kosović, B., Clifton, A.,
Vandenberghe, F., and Rodrigo, J. S.: Improving wind predictions in the
marine atmospheric boundary layer through parameter estimation in a
single-column model, Mon. Weather Rev., 145, 5–24,
<a href="https://doi.org/10.1175/MWR-D-16-0063.1" target="_blank">https://doi.org/10.1175/MWR-D-16-0063.1</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Leung and Yang(2012)</label><mixed-citation>
Leung, D. Y. and Yang, Y.: Wind energy development and its environmental
impact: A review, Renewable and Sustainable Energy Reviews, 16, 1031–1039,
<a href="https://doi.org/10.1016/j.rser.2011.09.024" target="_blank">https://doi.org/10.1016/j.rser.2011.09.024</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Lledó et al.(2019)</label><mixed-citation>
Lledó, L., Torralba, V., Soret, A., Ramon, J., and Doblas-Reyes, F. J.:
Seasonal forecasts of wind power generation, Renew. Energ., 143, 91–100,
<a href="https://doi.org/10.1016/j.renene.2019.04.135" target="_blank">https://doi.org/10.1016/j.renene.2019.04.135</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Mass et al.(2002)</label><mixed-citation>
Mass, C. F., Ovens, D., Westrick, K., and Colle, B. A.: Does increasing
horizontal resolution produce more skillful forecasts?: The Results of Two
Years of real-Time Numerical Weather Prediction over the Pacific Northwest,
B. Am. Meteorol. Soc., 83, 407–430,
<a href="https://doi.org/10.1175/1520-0477(2002)083&lt;0407:DIHRPM&gt;2.3.CO;2" target="_blank">https://doi.org/10.1175/1520-0477(2002)083&lt;0407:DIHRPM&gt;2.3.CO;2</a>, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>MathWorks(2021)</label><mixed-citation>
MathWorks: TreeBagger,
available at: <a href="https://www.mathworks.com/help/stats/treebagger.html" target="_blank"/>, last
access: 30 March 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Molinder et al.(2018)</label><mixed-citation>
Molinder, J., Körnich, H., Olsson, E., Bergström, H., and Sjöblom, A.: Probabilistic forecasting of wind power production losses in cold climates: a case study, Wind Energ. Sci., 3, 667–680, <a href="https://doi.org/10.5194/wes-3-667-2018" target="_blank">https://doi.org/10.5194/wes-3-667-2018</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>Molinder et al.(2021)</label><mixed-citation>
Molinder, J., Scher, S., Nilsson, E., Körnich, H., Bergström, H., and
Sjöblom, A.: Probabilistic Forecasting of Wind Turbine Icing Related
Production Losses Using Quantile Regression Forests, Energies, 14, 158,
<a href="https://doi.org/10.3390/en14010158" target="_blank">https://doi.org/10.3390/en14010158</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Müller et al.(2017)</label><mixed-citation>
Müller, M., Homleid, M., Ivarsson, K. I., Køltzow, M. A. Ø., Lindskog, M., Midtbø, K. H., Andrae, U., Aspelien, T., Berggren, L., Bjørge, D., Dahlgren, P., Kristiansen, J., Randriamampianina, R., Ridal, M., and Vignes, O.: AROME-MetCoOp: A Nordic convective-scale
operational weather prediction model, Weather Forecast., 32, 609–627,
<a href="https://doi.org/10.1175/WAF-D-16-0099.1" target="_blank">https://doi.org/10.1175/WAF-D-16-0099.1</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>Nielsen et al.(1998)l</label><mixed-citation>
Nielsen, T. S., Joensen, A., Madsen, H., Landberg, L., and Giebel, G.: A new
reference for wind power forecasting, Wind Energy, 1, 29–34,
<a href="https://doi.org/10.1002/(SICI)1099-1824(199809)1:1%3C29::AID-WE10%3E3.0.CO;2-B" target="_blank">https://doi.org/10.1002/(SICI)1099-1824(199809)1:1%3C29::AID-WE10%3E3.0.CO;2-B</a>, 1998.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Pearson et al.(2009)</label><mixed-citation>
Pearson, G., Davies, F., and Collier, C.: An analysis of the performance of the
UFAM pulsed Doppler lidar for observing the boundary layer, J.
Atmos. Ocean. Technol., 26, 240–250,
<a href="https://doi.org/10.1175/2008JTECHA1128.1" target="_blank">https://doi.org/10.1175/2008JTECHA1128.1</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>Quaschning(2019)</label><mixed-citation>
Quaschning, V. V.: Renewable energy and climate change, 2nd edn., John Wiley &amp; Sons, Chichester, West Sussex, UK, Hoboken, N. J., 2020,
2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>Reen and Stauffer(2010)</label><mixed-citation>
Reen, B. P. and Stauffer, D. R.: Data assimilation strategies in the planetary
boundary layer, Bound.-Lay. Meteorol., 137, 237–269,
<a href="https://doi.org/10.1007/s10546-010-9528-6" target="_blank">https://doi.org/10.1007/s10546-010-9528-6</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>Rubner et al.(2000)</label><mixed-citation>
Rubner, Y., Tomasi, C., and Guibas, L. J.: The earth mover's distance as a
metric for image retrieval, Int. J. Comput. Vision, 40,
99–121, <a href="https://doi.org/10.1023/A:1026543900054" target="_blank">https://doi.org/10.1023/A:1026543900054</a>, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>Sandu et al.(2013)</label><mixed-citation>
Sandu, I., Beljaars, A., Bechtold, P., Mauritsen, T., and Balsamo, G.: Why is
it so difficult to represent stably stratified conditions in numerical
weather prediction (NWP) models?, J. Adv. Model. Earth
Sy., 5, 117–133, <a href="https://doi.org/10.1002/jame.20013" target="_blank">https://doi.org/10.1002/jame.20013</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>Shaw et al.(2009)</label><mixed-citation>
Shaw, W. J., Lundquist, J. K., and Schreck, S. J.: Research needs for wind
resource characterization, B. Am. Meteorol. Soc.,
90, 535–538, <a href="https://doi.org/10.1175/2008BAMS2729.1" target="_blank">https://doi.org/10.1175/2008BAMS2729.1</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>Shi et al.(2018)</label><mixed-citation>
Shi, K., Qiao, Y., Zhao, W., Wang, Q., Liu, M., and Lu, Z.: An improved random
forest model of short-term wind-power forecasting to enhance accuracy,
efficiency, and robustness, Wind Energy, 21, 1383–1394,
<a href="https://doi.org/10.1002/we.2261" target="_blank">https://doi.org/10.1002/we.2261</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>Siemens(2011)</label><mixed-citation>
Siemens: Siemens Wind Turbine SWT-3.6-120: Thoroughly Tested, Utterly
Reliable,
available at: <a href="https://pdf.archiexpo.com/pdf/siemens-gamesa/swt-36-120/88089-134487.html" target="_blank"/>
last access: (19 March 2021), 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>Sims(2004)</label><mixed-citation>
Sims, R. E.: Renewable energy: a response to climate change, Sol. Energy, 76,
9–17, <a href="https://doi.org/10.1016/S0038-092X(03)00101-4" target="_blank">https://doi.org/10.1016/S0038-092X(03)00101-4</a>, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>Soman et al.(2010)</label><mixed-citation>
Soman, S. S., Zareipour, H., Malik, O., and Mandal, P.: A review of wind power
and wind speed forecasting methods with different time horizons, in: North
American Power Symposium 2010, IEEE, 1–8,
<a href="https://doi.org/10.1109/NAPS.2010.5619586" target="_blank">https://doi.org/10.1109/NAPS.2010.5619586</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>Sproson and Sahlée(2014)</label><mixed-citation>
Sproson, D. and Sahlée, E.: Modelling the impact of Baltic Sea upwelling on
the atmospheric boundary layer, Tellus A, 66, 24041, <a href="https://doi.org/10.3402/tellusa.v66.24041" target="_blank">https://doi.org/10.3402/tellusa.v66.24041</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>Stull(1988)</label><mixed-citation>
Stull, R. B.: An introduction to boundary layer meteorology, vol. 13, Springer Science &amp; Business Media, Dordrecht, 1988.
</mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>Svensson(2018)</label><mixed-citation>
Svensson, N.: Mesoscale Processes over the Baltic Sea, PhD thesis, Acta
Universitatis Upsaliensis, Uppsala, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>Svensson et al.(2016)</label><mixed-citation>
Svensson, N., Bergström, H., Sahlée, E., and Rutgersson, A.: Stable
atmospheric conditions over the Baltic Sea: model evaluation and climatology, Boreal Environ. Res., 21, 387–404,
2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>SWEA(2019)</label><mixed-citation>
SWEA: 100 percent renewable electricity by 2040,
available at: <a href="https://swedishwindenergy.com/wp-content/uploads/2019/10/Svensk_Vindenergi_ROADMAP_2040_rev_ENG-1.pdf" target="_blank"/>
(last access: 30 March 2021), 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>Swider et al.(2008)</label><mixed-citation>
Swider, D. J., Beurskens, L., Davidson, S., Twidell, J., Pyrko, J., Prüggler, W., Auer, H., Vertin, K., and Skema, R.: Conditions and costs for renewables electricity
grid connection: Examples in Europe, Renew. Energ., 33, 1832–1842,
<a href="https://doi.org/10.1016/j.renene.2007.11.005" target="_blank">https://doi.org/10.1016/j.renene.2007.11.005</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>Taylor(2001)</label><mixed-citation>
Taylor, K. E.: Summarizing multiple aspects of model performance in a single
diagram, J. Geophys. Res.-Atmos., 106, 7183–7192,
<a href="https://doi.org/10.1029/2000JD900719" target="_blank">https://doi.org/10.1029/2000JD900719</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib56"><label>Treiber et al.(2016)</label><mixed-citation>
Treiber, N. A., Heinermann, J., and Kramer, O.: Wind power prediction with
machine learning, in: Computational sustainability. Studies in Computational
Intelligence, edited by: Lässig, J., Kersting, K., and Morik, K., Springer, 645,
13–29, <a href="https://doi.org/10.1007/978-3-319-31858-5_2" target="_blank">https://doi.org/10.1007/978-3-319-31858-5_2</a>, 2016.

</mixed-citation></ref-html>
<ref-html id="bib1.bib57"><label>Tuononen et al.(2017)</label><mixed-citation>
Tuononen, M., O’Connor, E. J., Sinclair, V. A., and Vakkari, V.: Low-level
jets over Utö, Finland, based on Doppler lidar observations, J.
Appl. Meteorol. Climatol., 56, 2577–2594,
<a href="https://doi.org/10.1175/JAMC-D-16-0411.1" target="_blank">https://doi.org/10.1175/JAMC-D-16-0411.1</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib58"><label>Vakkari et al.(2019)</label><mixed-citation>
Vakkari, V., Manninen, A. J., O'Connor, E. J., Schween, J. H., van Zyl, P. G., and Marinou, E.: A novel post-processing algorithm for Halo Doppler lidars, Atmos. Meas. Tech., 12, 839–852, <a href="https://doi.org/10.5194/amt-12-839-2019" target="_blank">https://doi.org/10.5194/amt-12-839-2019</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib59"><label>Vannitsem et al.(2020)</label><mixed-citation>
Vannitsem, S., Bremnes, J. B., Demaeyer, J., Evans, G. R., Flowerdew, J., Hemri, S., Lerch, S., Roberts, N., Theis, S., Atencia, A., Bouallègue, Z. B., Bhend, J., Dabernig, M., de Cruz, L., Hieta, L., Mestre, O., Moret, L., Odak Plenković, I., Schmeits, M., Taillardat, M., van den Bergh, J., van Schaeybroeck, B., Whan, K., and Ylhaisi, J.:
Statistical postprocessing for weather forecasts–review, challenges and
avenues in a big data world, B. Am. Meteorol. Soc.,
102, 681–699, <a href="https://doi.org/10.1175/BAMS-D-19-0308.1" target="_blank">https://doi.org/10.1175/BAMS-D-19-0308.1</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib60"><label>Vassallo et al.(2020)</label><mixed-citation>
Vassallo, D., Krishnamurthy, R., Sherman, T., and Fernando, H. J.: Analysis of
Random Forest Modeling Strategies for Multi-Step Wind Speed Forecasting,
Energies, 13, 5488, <a href="https://doi.org/10.3390/en13205488" target="_blank">https://doi.org/10.3390/en13205488</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib61"><label>Wilczak et al.(2015)</label><mixed-citation>
Wilczak, J., Finley, C., Freedman, J., Cline, J., Bianco, L., Olson, J., Djalalova, I.,Sheridan, L., Ahlstrom, M., Manobianco, J., Zack, J., Carley, J. R., Benjamin, S., Coulter, R., Berg, L. K., Mirocha, J., Clawson, K., Natenberg, E., and Marquis, M.: The Wind
Forecast Improvement Project (WFIP): A public–private partnership addressing
wind energy forecast needs, B. Am. Meteorol. Soc.,
96, 1699–1718, <a href="https://doi.org/10.1175/BAMS-D-14-00107.1" target="_blank">https://doi.org/10.1175/BAMS-D-14-00107.1</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib62"><label>Wu et al.(2020)</label><mixed-citation>
Wu, L., Shao, M., and Sahlée, E.: Impact of Air–Wave–Sea Coupling on the
Simulation of Offshore Wind and Wave Energy Potentials, Atmosphere, 11, 327,
<a href="https://doi.org/10.3390/atmos11040327" target="_blank">https://doi.org/10.3390/atmos11040327</a>, 2020.
</mixed-citation></ref-html>--></article>
