Atmospheric Retrievals in a Modern Python Framework
Authors: Echeverri Bautista Mario , Maahn Maximilian , Verhoef Anton , Stoffelen Ad 
Published: March 2022

&lt;p&gt;Modern Machine Learning (ML) techniques applied in atmospherical modeling rely heavily on two&lt;br&gt;aspects: good quality and good coverage observations. Among others, Satellite&lt;br&gt;Radiometer (SR) measuremens (Radiances or Brightness Temperatures) offer an excellent trade off&lt;br&gt;between such aspects; moreover SR observations have been providing quite stable Fundamental Cli-&lt;br&gt;mate Data Records (FCDR) for years and are expected to continue to do so in the following decades.&lt;br&gt;This work presents a framework for SR retrievals that uses modern ML standard packages from&lt;br&gt;the Scipy and Pangeo ecosystems; moreover, our retrieval scheme leverage the powerful&lt;br&gt;capabilites provided by NWPSAF&amp;#8217;s RTTOV and its Python wrapper.&lt;br&gt;In terms of retrievals we stand on the shoulders of Bayesian Estimation by using Optimal Estima-&lt;br&gt;tion (OE), popularized by Rodgers for 1D atmospherical retrievals; we use pyOpEst&lt;br&gt;which is an open source package developed by Maahn. PyOptimalEstimation is structured&lt;br&gt;following an Object Oriented design, which makes it portable and highly maintainable.&lt;/p&gt;&lt;p&gt;The contribution presented here ranges from the scientific software design aspects, algorithmic&lt;br&gt;choices, open source contributions, processing speed and scalability; furthermore, simple but effi-&lt;br&gt;cient techniques such as cross-validation were used to evaluate different metrics; for initial test-&lt;br&gt;ing we have used NWPSAF&amp;#8217;s model data and observation error covariances from SR literature.&lt;/p&gt;&lt;p&gt;The open source and community development philosophy are two pillars of this work. Open source&lt;br&gt;allows a transparent, concurrent and continuous development while community development brings&lt;br&gt;together domain experts, software developers and scientists in general; these two ideas allow us to&lt;br&gt;both profit from already developed and well supported tools (e.g. Scipy and Pangeo) and contribute&lt;br&gt;for others whose applications might benefit. This methodology has been successfully used all over the&lt;br&gt;Data Science and ML universe and we believe that the Earth Observation (EO) community would highly benefit in terms of streamlining development and benchmarking of new solutions. Practical examples of success can be found in the Pytroll community.&lt;/p&gt;&lt;p&gt;Our work in progress is directly linked to present and near future requirements by Earth Observa-&lt;br&gt;tion, in particular the incoming SR streams of data (for operational purposes) is increasing fast&lt;br&gt;and by orders of magnitude. Missions like the EUMETSAT Polar System-Second Generation (EPS-&lt;br&gt;SG, 2023) or the Copernicus Microwave Imager Radiometer (CIMR, 2026) will require scalability&lt;br&gt;and flexibility from the tools to digest such flows of data. We will discuss and show how operational&lt;br&gt;tools can take advantage of the enormous community based developments and standards and become&lt;br&gt;game changers for EO.&lt;/p&gt;