gas_opt_prop_en.tex (10354B)
1 % Copyright (C) 2026 |Méso|Star> (contact@meso-star.com) 2 % 3 % This file is part of HTGOP doc. 4 % 5 % HTGOP doc is free software: you can redistribute it and/or modify 6 % it under the terms of the GNU General Public License as published by 7 % the Free Software Foundation, either version 3 of the License, or 8 % (at your option) any later version. 9 % 10 % HTGOP doc is distributed in the hope that it will be useful, but 11 % WITHOUT ANY WARRANTY; without even the implied warranty of 12 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 % General Public License for more details. 14 % 15 % You should have received a copy of the GNU General Public License 16 % along with HTGOP doc. If not, see <http://www.gnu.org/licenses/>. 17 18 \documentclass[12pt]{article} 19 \usepackage[utf8]{inputenc} 20 \usepackage[T1]{fontenc} 21 \usepackage{graphics} 22 \usepackage{subfigure} 23 \usepackage{hyperref} 24 \usepackage{graphicx} 25 \usepackage{listings} 26 \makeatletter 27 28 % double spacing lines 29 \renewcommand{\baselinestretch}{1} 30 \newcommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\spacefactor1000} 31 32 %pour faire reference toujours avec la meme norme 33 %lyx ! 34 \newcommand{\eq}[1]{Eq.~\ref{eq:#1}} 35 \newcommand{\fig}[1]{Fig.~\ref{fig:#1}} 36 \newcommand{\tab}[1]{Tab.~\ref{tab:#1}} 37 \newcommand{\para}[1]{Sec.~\ref{para:#1}} 38 \newcommand{\ap}[1]{Appendix~\ref{ap:#1}} 39 \newcommand{\ul}{\underline} 40 % 41 \makeatother 42 43 % margins 44 \setlength{\topmargin}{-0.75in} 45 \setlength{\textheight}{9in} 46 \setlength{\oddsidemargin}{-.50in} 47 \setlength{\textwidth}{7.5in} 48 49 \begin{document} 50 51 52 \title{High-Tune: gas optical properties file format} 53 54 \maketitle 55 \begin{center} 56 \author{\bf|Méso|Star>}\\ 57 (\url{https://www.meso-star.com}) \\ 58 \end{center} 59 \vspace{1cm} 60 61 \tableofcontents 62 63 \newpage 64 \section{Context} 65 This document describes the format of the file that provides all required optical properties (absorption and scattering coefficients, both in the LW and SW regions) of the {\bf gas mixture} only. 66 This data file uses the ASCII format, and the following convention: each data array is first described by a comment, then the numeric data is provided. A single numeric value is given for each line. A array of size $N$ is therefore provided over $N$ lines. 67 68 \section{Description of the model and data usage} 69 70 Data is provided for a stratified plane-parallel atmosphere: the atmosphere is described using $N_{lev}$ (pressure, or altitude) levels that define $N_{lay}=N_{lev}-1$ layers. Some data is defined at each level, some is defined for layers (using the hypothesis of homogeneous layers). Finally, two spectral domains are described: the longwave (LW) and the shortwave (SW) domains. For each one of these domains, a number of spectral intervals are defined, and a number of quadrature points is given in each interval (variable). 71 72 \begin{figure}[!h] 73 \centering 74 \includegraphics[width=0.80\textwidth,angle=0]{./figures/ka_lw.pdf} 75 \caption[]{Evolution of the absorption coefficient for the 10 quadrature points of the first LW spectral interval, for the first atmospheric layer (MLS profile) as a function of water vapor molar fraction.} 76 \label{fig:ka_lw} 77 \end{figure} 78 79 Optical properties of the gas mixture (absorption and scattering coefficients) can be computed from the data provided in this file, and from the local water vapor content (provided in the LES data file). The atmospheric data file contains the values of the absorption and scattering coefficients of the gas mixture, tabulated as a function of the water vapor molar fraction $x_{H_{2}O}$. Figure \ref{fig:ka_lw} shows that the logarithm of the absorption coefficient evolves linearly with the logarithm of $x_{H_{2}O}$ over a wide range of water vapor molar fraction, for each quadrature point. Interpolating the optical properties of the gas mixture for any given value of $x_{H_{2}O}(local)$ is therefore very simple using the data of the atmospheric file. 80 81 \begin{figure}[htbp] 82 % \hspace*{-2.2cm} 83 \centering 84 \mbox{ 85 \subfigure[]{ 86 \includegraphics[width=0.50\textwidth]{./figures/si_flux_nominal_lw.pdf} 87 } 88 \quad 89 \hspace{-0.5cm} 90 \subfigure[]{ 91 \includegraphics[width=0.50\textwidth]{./figures/dsi_flux_lw.pdf} 92 } 93 } 94 \caption{(a) Spectrally integrated LW flux profile obtained using the nominal absorption optical depth of ECRAD over a standard MLS profile; (b) Difference over spectrally integrated LW fluxes computed using nominal absorption optical thicknesses and the absorption optical thicknesses that have been obtained from tabulated data and nominal values of $x_{H_{2}O}$}. 95 \label{fig:si_flux_lw} 96 \end{figure} 97 98 \begin{figure}[htbp] 99 % \hspace*{-2.2cm} 100 \centering 101 \mbox{ 102 \subfigure[]{ 103 \includegraphics[width=0.50\textwidth]{./figures/si_flux_nominal_sw.pdf} 104 } 105 \quad 106 \hspace{-0.5cm} 107 \subfigure[]{ 108 \includegraphics[width=0.50\textwidth]{./figures/dsi_flux_sw.pdf} 109 } 110 } 111 \caption{(a) Spectrally integrated SW flux profile obtained using the nominal absorption optical depth of ECRAD over a standard MLS profile; (b) Difference over spectrally integrated SW fluxes computed using nominal absorption optical thicknesses and the absorption optical thicknesses that have been obtained from tabulated data and nominal values of $x_{H_{2}O}$} 112 \label{fig:si_flux_sw} 113 \end{figure} 114 115 The linearity of optical properties with water vapor molar fraction has been validated on the following basis: a radiative transfer code (LW and SW) based on anaytic radiative transfer solutions obtained in a clear-sky situation (without scattering) has been adapted in order to use k-distribution spectral data with a variable quadrature order (such as ECRAD spectral data). Two LW radiative transfer computations have been performed with a modified MLS atmospheric profile: the column containing the highest specific humidity has been identified. The vertical profile of $x_{H_{2}O}$ in the original MLS profile has then been replaced with the data of this specific atmospheric column for all columns of the LES zone (for z < 4 km) and has not the modified out of this zone. The two radiative transfer computations have then used: 116 \begin{itemize} 117 \item absorption coefficients obtained from ECRAD for the modified MLS atmospheric profile. Results are presented in figure \ref{fig:si_flux_lw}(a) for the LW and figure \ref{fig:si_flux_sw}(a) for the SW. 118 \item absorption coefficients that have been interpolated from the local values of $x_{H_{2}O}$ using the tabulation of optical properties established on the basis of 20 values of $x_{H_{2}O}$ uniformly spaced (on a logarithmic scale) between 10$^{-6}$ and 1. Figure \ref{fig:si_flux_lw}(b) displays differences between LW radiative flux obtained using this method and previous (reference) results. Figure \ref{fig:si_flux_sw}(b) displays the same differences in the SW domain. 119 \end{itemize} 120 121 Results being extremely close, the possibility to obtain optical properties of the gas mixture from the tabulated values and the local value of $x_{H_{2}O}$ is considered as validated. 122 123 \newpage 124 \section{File format} 125 126 The atmospheric file contains the following data, separated by comments: 127 128 \begin{itemize} 129 \item The number of atmospheric levels $N_{lev}$ (1 integer) 130 \item The number of atmospheric layers $N_{lay}$ (1 integer) 131 \item Ground temperature (1 real) [K] 132 \item Pressure at each level ($N_{lev}$ reals) [Pa] 133 \item Temperature at each level ($N_{lev}$ reals) [K] 134 \item Altitude at each level ($N_{lev}$ reals) [m] 135 \item The nominal water vapor molar fration in the mixture $x_{H_{2}O}(nominal)$, for each layer ($N_{lay}$ reals) [mol of $H_{2}O$ per mol of mixture] 136 \item The number of water vapor molar fraction vertical profiles $x_{H_{2}O}$ for the tabulation ($N_{w}$). 137 \item For each one of the $N_{w}$ vertical profiles of $x_{H_{2}O}$ in the table: the value of $x_{H_{2}O}$ for each one of the $N_{lay}$ atmospheric layers. ($N_{w}$x$N_{lay} reals$) [mol of $H_{2}O$ per mol of mixture] 138 \item The emissivity of the ground in the LW domain (1 real) 139 \item The emissivity of the ground for the SW domain (1 real) 140 \item The number of spectral intervals $N_{b,LW}$ for the LW domain (1 integer) 141 \item The number of spectral intervals $N_{b,SW}$ for the SW domain (1 integer) 142 \item For each $i_{b} \in [1,N_{b,LW}]$ LW interval: 143 \begin{itemize} 144 \item the lower wavenumber of the interval (1 real) [cm$^{-1}$] 145 \item the higher wavenumber of the interval (1 real) [cm$^{-1}$] 146 \item the number of quadrature points $N_{g}(i_{b})$ (1 integer) 147 \item the $N_{g}(i_{b})$ values of the quadrature weight for the interval ($N_{g}(i_{b})$ reals) 148 \end{itemize} 149 \item For each $i_{b} \in [1,N_{b,SW}]$ SW interval: 150 \begin{itemize} 151 \item the lower wavenumber of the interval (1 real) [cm$^{-1}$] 152 \item the higher wavenumber of the interval (1 real) [cm$^{-1}$] 153 \item the number of quadrature points $N_{g}(i_{b})$ (1 integer) 154 \item the $N_{g}(i_{b})$ values of the quadrature weight for the interval ($N_{g}(i_{b})$ reals) 155 \end{itemize} 156 \item For each $i_{b} \in [1,N_{b,LW}]$ LW interval, and for each $i_{g} \in [1,N_{g}(i_{b})]$ quadrature points: 157 \begin{itemize} 158 \item the {\bf nominal} absorption coefficient of the gas mixture, for each layer ($N_{lay}$ reals) [m$^{-1}$] 159 \item the absorption coefficient of the gas mixture {\bf for each tabulation point} $i_{w}$, for each layer ($N_{w}$x$N_{lay}$ reals) [m$^{-1}$] 160 \end{itemize} 161 \item For each $i_{b} \in [1,N_{b,SW}]$ SW interval, and for each $i_{g} \in [1,N_{g}(i_{b})]$ quadrature point: 162 \begin{itemize} 163 \item the {\bf nominal} absorption coefficient of the gas mixture, for each layer ($N_{lay}$ reals) [m$^{-1}$] 164 \item the absorption coefficient of the gas mixture {\bf for each tabulation point} $i_{w}$, for each layer ($N_{w}$x$N_{lay}$ reals) [m$^{-1}$] 165 \end{itemize} 166 \item For each $i_{b} \in [1,N_{b,SW}]$ SW interval, and for each $i_{g} \in [1,N_{g}(i_{b})]$ quadrature point: 167 \begin{itemize} 168 \item the {\bf nominal} scattering coefficient of the gas mixture, for each layer ($N_{lay}$ reals) [m$^{-1}$] 169 \item the scattering coefficient of the gas mixture {\bf for each tabulation point} $i_{w}$, for each layer ($N_{w}$x$N_{lay}$ reals) [m$^{-1}$] 170 \end{itemize} 171 172 \end{itemize} 173 174 A example of (fortran) routine used to read this file is provided below (``input.for'' file): 175 176 \lstinputlisting[language=fortran]{./source_files/input.for} 177 178 \end{document}