| 22 | 
 CPP options enable or disable different aspects of the package | 
 CPP options enable or disable different aspects of the package | 
| 23 | 
 (Section \ref{sec:pkg:exf:config}). | 
 (Section \ref{sec:pkg:exf:config}). | 
| 24 | 
 Runtime options, flags, filenames and field-related dates/times are | 
 Runtime options, flags, filenames and field-related dates/times are | 
| 25 | 
 set in \texttt{data.exf} and \texttt{data.exf\_clim} | 
 set in \texttt{data.exf} | 
| 26 | 
 (Section \ref{sec:pkg:exf:runtime}). | 
 (Section \ref{sec:pkg:exf:runtime}). | 
| 27 | 
 A description of key subroutines is given in Section | 
 A description of key subroutines is given in Section | 
| 28 | 
 \ref{sec:pkg:exf:subroutines}. | 
 \ref{sec:pkg:exf:subroutines}. | 
| 119 | 
 \paragraph{Enabling the package} | 
 \paragraph{Enabling the package} | 
| 120 | 
 ~ \\ | 
 ~ \\ | 
| 121 | 
 % | 
 % | 
| 122 | 
 A package is usually switched on/off at runtime by setting | 
 A package is switched on/off at runtime by setting | 
| 123 | 
 (e.g. for EXF) \texttt{useEXF = .TRUE.} in \texttt{data.pkg}. | 
 (e.g. for EXF) \texttt{useEXF = .TRUE.} in \texttt{data.pkg}. | 
 | 
 For EXF this flag is omitted, i.e. EXF is always ON if it is compiled. | 
  | 
| 124 | 
  | 
  | 
| 125 | 
 \paragraph{General flags and parameters} | 
 \paragraph{General flags and parameters} | 
| 126 | 
 ~ \\ | 
 ~ \\ | 
| 148 | 
            max. allowed wind stress $N/m^2$ \\ | 
            max. allowed wind stress $N/m^2$ \\ | 
| 149 | 
         exf\_albedo & \texttt{0.1} &  | 
         exf\_albedo & \texttt{0.1} &  | 
| 150 | 
           surface albedo used to compute downward vs. net radiative fluxes \\ | 
           surface albedo used to compute downward vs. net radiative fluxes \\ | 
| 151 | 
  | 
         climtempfreeze & \texttt{-1.9} &  | 
| 152 | 
  | 
           ??? \\ | 
| 153 | 
  | 
         ocean\_emissivity & \texttt{} &  | 
| 154 | 
  | 
           longwave ocean-surface emissivity \\ | 
| 155 | 
  | 
         ice\_emissivity & \texttt{} &  | 
| 156 | 
  | 
           longwave seaice emissivity \\ | 
| 157 | 
  | 
         snow\_emissivity & \texttt{} &  | 
| 158 | 
  | 
           longwave  snow  emissivity \\ | 
| 159 | 
  | 
         exf\_iceCd & \texttt{1.63E-3} &  | 
| 160 | 
  | 
           drag coefficient over sea-ice \\ | 
| 161 | 
  | 
         exf\_iceCe & \texttt{1.63E-3} &  | 
| 162 | 
  | 
           evaporation transfer coeff. over sea-ice \\ | 
| 163 | 
  | 
         exf\_iceCh & \texttt{1.63E-3} &  | 
| 164 | 
  | 
           sensible heat transfer coeff. over sea-ice \\ | 
| 165 | 
  | 
         exf\_scal\_BulkCdn & \texttt{1.} &  | 
| 166 | 
  | 
           overall scaling of neutral drag coeff. \\ | 
| 167 | 
  | 
         useStabilityFct\_overIce  & \texttt{.FALSE.} &  | 
| 168 | 
  | 
           compute turbulent transfer coeff. over sea-ice \\ | 
| 169 | 
  | 
         readStressOnAgrid & \texttt{.FALSE.} &  | 
| 170 | 
  | 
           read wind-streess located on model-grid, A-grid point \\ | 
| 171 | 
  | 
         readStressOnCgrid & \texttt{.FALSE.} &  | 
| 172 | 
  | 
           read wind-streess located on model-grid, C-grid point \\ | 
| 173 | 
  | 
         useRelativeWind & \texttt{.FALSE.} &  | 
| 174 | 
  | 
           subtract [U/V]VEL or [U/VICE from U/V]WIND before \\ | 
| 175 | 
  | 
         ~ & ~ &  computing [U/V]STRESS \\ | 
| 176 | 
  | 
         zref & \texttt{10.} &  | 
| 177 | 
  | 
           reference height \\ | 
| 178 | 
  | 
         hu & \texttt{10.} &  | 
| 179 | 
  | 
           height of mean wind \\ | 
| 180 | 
  | 
         ht & \texttt{2.} &  | 
| 181 | 
  | 
           height of mean temperature and rel. humidity \\ | 
| 182 | 
  | 
         umin & \texttt{0.5} &  | 
| 183 | 
  | 
           minimum absolute wind speed for computing Cd \\ | 
| 184 | 
  | 
         atmrho & \texttt{1.2} &  | 
| 185 | 
  | 
           mean atmospheric density [kg/m\^3] \\ | 
| 186 | 
  | 
         atmcp & \texttt{1005.} &  | 
| 187 | 
  | 
           mean atmospheric specific heat [J/kg/K] \\ | 
| 188 | 
  | 
         cdrag\_[n] & \texttt{???} &  | 
| 189 | 
  | 
           n = 1,2,3; parameters for drag coeff. function \\ | 
| 190 | 
  | 
         cstanton\_[n] & \texttt{???} &  | 
| 191 | 
  | 
           n = 1,2; parameters for Stanton number function \\ | 
| 192 | 
  | 
         cdalton & \texttt{???} &  | 
| 193 | 
  | 
           parameter for Dalton number function \\ | 
| 194 | 
  | 
         flamb & \texttt{2500000.} &  | 
| 195 | 
  | 
           latent heat of evaporation [J/kg] \\ | 
| 196 | 
  | 
         flami & \texttt{334000.} &  | 
| 197 | 
  | 
           latent heat of melting of pure ice [J/kg] \\ | 
| 198 | 
  | 
         zolmin & \texttt{-100.} &  | 
| 199 | 
  | 
           minimum stability parameter \\ | 
| 200 | 
  | 
         cvapor\_fac & \texttt{640380.} &  | 
| 201 | 
  | 
           ~ \\ | 
| 202 | 
  | 
         cvapor\_exp & \texttt{5107.4} &  | 
| 203 | 
  | 
           ~ \\ | 
| 204 | 
  | 
         cvapor\_fac\_ice & \texttt{11637800.} &  | 
| 205 | 
  | 
           ~ \\ | 
| 206 | 
  | 
         cvapor\_fac\_ice & \texttt{5897.8} &  | 
| 207 | 
  | 
           ~ \\ | 
| 208 | 
  | 
         humid\_fac & \texttt{0.606} &  | 
| 209 | 
  | 
           parameter for virtual temperature calculation \\ | 
| 210 | 
  | 
         gamma\_blk & \texttt{0.010} &  | 
| 211 | 
  | 
           adiabatic lapse rate \\ | 
| 212 | 
  | 
         saltsat & \texttt{0.980} &  | 
| 213 | 
  | 
           reduction of saturation vapor pressure over salt-water \\           | 
| 214 | 
  | 
         psim\_fac & \texttt{5.} &  | 
| 215 | 
  | 
           ~ \\           | 
| 216 | 
  | 
         exf\_monFreq & \texttt{monitorFreq} &  | 
| 217 | 
  | 
           output frequency [s] \\ | 
| 218 | 
         exf\_iprec  & \texttt{32} &  | 
         exf\_iprec  & \texttt{32} &  | 
| 219 | 
           precision of input fields (32-bit or 64-bit) \\ | 
           precision of input fields (32-bit or 64-bit) \\ | 
| 220 | 
         exf\_yftype & \texttt{'RL'} &  | 
         exf\_yftype & \texttt{'RL'} &  | 
| 273 | 
          \multicolumn{3}{|c|}{\textit{used in conjunction with}  | 
          \multicolumn{3}{|c|}{\textit{used in conjunction with}  | 
| 274 | 
                               \texttt{EXF\_USE\_INTERPOLATION}} \\ | 
                               \texttt{EXF\_USE\_INTERPOLATION}} \\ | 
| 275 | 
          \hline | 
          \hline | 
| 276 | 
          \textit{field}\texttt{\_lon0} & $thetaMin+delX/2$  &  | 
          \textit{field}\texttt{\_lon0} & $xgOrigin+delX/2$  &  | 
| 277 | 
            starting longitude of input \\ | 
            starting longitude of input \\ | 
| 278 | 
          \textit{field}\texttt{\_lon\_inc} & $delX$ & | 
          \textit{field}\texttt{\_lon\_inc} & $delX$ & | 
| 279 | 
            increment in longitude of input \\ | 
            increment in longitude of input \\ | 
| 280 | 
          \textit{field}\texttt{\_lat0} &  $phiMin+delY/2$ & | 
          \textit{field}\texttt{\_lat0} &  $ygOrigin+delY/2$ & | 
| 281 | 
            starting latitude of input \\ | 
            starting latitude of input \\ | 
| 282 | 
          \textit{field}\texttt{\_lat\_inc} & $delY$ & | 
          \textit{field}\texttt{\_lat\_inc} & $delY$ & | 
| 283 | 
            increment in latitude of input \\ | 
            increment in latitude of input \\ | 
| 322 | 
  | 
  | 
| 323 | 
 %---------------------------------------------------------------------- | 
 %---------------------------------------------------------------------- | 
| 324 | 
  | 
  | 
| 325 | 
  | 
 \subsubsection{EXF bulk formulae | 
| 326 | 
  | 
 \label{sec:pkg:exf:bulk_formulae}} | 
| 327 | 
  | 
  | 
| 328 | 
  | 
 T.B.D. (cross-ref. to parameter list table) | 
| 329 | 
  | 
  | 
| 330 | 
  | 
 %---------------------------------------------------------------------- | 
| 331 | 
  | 
  | 
| 332 | 
 \subsubsection{EXF input fields and units | 
 \subsubsection{EXF input fields and units | 
| 333 | 
 \label{sec:pkg:exf:fields_units}} | 
 \label{sec:pkg:exf:fields_units}} | 
| 334 | 
  | 
  | 
| 573 | 
 \label{tab:pkg:exf:diagnostics} | 
 \label{tab:pkg:exf:diagnostics} | 
| 574 | 
 {\footnotesize | 
 {\footnotesize | 
| 575 | 
 \begin{verbatim} | 
 \begin{verbatim} | 
| 576 | 
 ------------------------------------------------------ | 
 ---------+----+----+----------------+----------------- | 
| 577 | 
  <-Name->|Levs|grid|<--  Units   -->|<- Tile (max=80c) | 
  <-Name->|Levs|grid|<--  Units   -->|<- Tile (max=80c) | 
| 578 | 
 ------------------------------------------------------ | 
 ---------+----+----+----------------+----------------- | 
| 579 | 
  EXFhs   |  1 | SM | W/m^2          | Sensible heat flux into ocean, >0 increases theta | 
  EXFhs   |  1 | SM | W/m^2          | Sensible heat flux into ocean, >0 increases theta | 
| 580 | 
  EXFhl   |  1 | SM | W/m^2          | Latent heat flux into ocean, >0 increases theta | 
  EXFhl   |  1 | SM | W/m^2          | Latent heat flux into ocean, >0 increases theta | 
| 581 | 
  EXFlwnet|  1 | SM | W/m^2          | Net upward longwave radiation, >0 decreases theta | 
  EXFlwnet|  1 | SM | W/m^2          | Net upward longwave radiation, >0 decreases theta |