31 |
|
|
32 |
%---------------------------------------------------------------------- |
%---------------------------------------------------------------------- |
33 |
|
|
34 |
\subsection{EXF configuration \& compiling |
\subsection{EXF configuration, compiling \& running} |
35 |
|
|
36 |
|
\subsubsection{Compile-time options |
37 |
\label{sec:pkg:exf:config}} |
\label{sec:pkg:exf:config}} |
38 |
|
|
39 |
As with all MITgcm packages, EXF can be turned on or off at compile time |
As with all MITgcm packages, EXF can be turned on or off at compile time |
49 |
\label{tab:pkg:exf:cpp} |
\label{tab:pkg:exf:cpp} |
50 |
{\footnotesize |
{\footnotesize |
51 |
\begin{tabular}{|l|l|} |
\begin{tabular}{|l|l|} |
52 |
\hline |
\hline |
53 |
\textbf{CPP option} & \textbf{Description} \\ |
\textbf{CPP option} & \textbf{Description} \\ |
54 |
\hline |
\hline \hline |
55 |
\texttt{EXF\_VERBOSE} & |
\texttt{EXF\_VERBOSE} & |
56 |
verbose mode (recommended only for testing) \\ |
verbose mode (recommended only for testing) \\ |
57 |
\texttt{ALLOW\_ATM\_TEMP} & |
\texttt{ALLOW\_ATM\_TEMP} & |
66 |
\texttt{USE\_EXF\_INTERPOLATION} & enable on-the-fly bilinear or bicubic interpolation of input fields \\ |
\texttt{USE\_EXF\_INTERPOLATION} & enable on-the-fly bilinear or bicubic interpolation of input fields \\ |
67 |
\hline |
\hline |
68 |
\texttt{ALLOW\_CLIMTEMP\_RELAXATION} & |
\texttt{ALLOW\_CLIMTEMP\_RELAXATION} & |
69 |
relaxation to 3-D potential temperature field \\ |
relaxation to 3-D potential temperature climatology \\ |
70 |
\texttt{ALLOW\_CLIMSALT\_RELAXATION} & |
\texttt{ALLOW\_CLIMSALT\_RELAXATION} & |
71 |
relaxation to 3-D salinity field \\ |
relaxation to 3-D salinity climatology \\ |
72 |
\texttt{ALLOW\_CLIMSST\_RELAXATION} & |
\texttt{ALLOW\_CLIMSST\_RELAXATION} & |
73 |
relaxation to 2-D SST relaxation \\ |
relaxation to 2-D SST climatology \\ |
74 |
\texttt{ALLOW\_CLIMSSS\_RELAXATION} & |
\texttt{ALLOW\_CLIMSSS\_RELAXATION} & |
75 |
relaxation to 2-D SSS relaxation \\ |
relaxation to 2-D SSS climatology \\ |
76 |
\hline |
\hline |
77 |
\texttt{SHORTWAVE\_HEATING} & in \texttt{CPP\_OPTIONS.h}: enable shortwave radiation \\ |
\texttt{SHORTWAVE\_HEATING} & in \texttt{CPP\_OPTIONS.h}: enable shortwave radiation \\ |
78 |
\texttt{ATMOSPHERIC\_LOADING} & in \texttt{CPP\_OPTIONS.h}: enable surface pressure forcing \\ |
\texttt{ATMOSPHERIC\_LOADING} & in \texttt{CPP\_OPTIONS.h}: enable surface pressure forcing \\ |
85 |
|
|
86 |
%---------------------------------------------------------------------- |
%---------------------------------------------------------------------- |
87 |
|
|
88 |
\subsection{EXF runtime parameters |
\subsubsection{Run-time parameters |
89 |
\label{sec:pkg:exf:runtime}} |
\label{sec:pkg:exf:runtime}} |
90 |
|
|
91 |
|
Run-time parameters are set in files \texttt{data.pkg}, |
92 |
|
and \texttt{data.pkg\_clim} (for relaxation/climatological fields). |
93 |
|
Run-time parameters may be broken into 2 categories: |
94 |
|
(i) general flags and parameters, and |
95 |
|
(ii) attributes for each forcing and climatological field. |
96 |
|
|
97 |
|
\paragraph{General flags and parameters} |
98 |
|
|
99 |
|
\begin{table}[h!] |
100 |
|
\label{tab:pkg:exf:runtime_flags} |
101 |
|
{\footnotesize |
102 |
|
\begin{tabular}{|l|cl|} |
103 |
|
\hline |
104 |
|
\textbf{Flag/parameter} & \textbf{default} & \textbf{Description} \\ |
105 |
|
\hline \hline |
106 |
|
useExfCheckRange & \texttt{.TRUE.} & ~ \\ |
107 |
|
useExfYearlyFields & \texttt{.FALSE.} & ~ \\ |
108 |
|
twoDigitYear & \texttt{.FALSE.} & ~ \\ |
109 |
|
repeatPeriod & \texttt{0.0} & ~ \\ |
110 |
|
windstressmax & \texttt{2.0} & ~ \\ |
111 |
|
exf\_albedo & \texttt{0.1} & ~ \\ |
112 |
|
exf\_iprec & \texttt{32} & ~ \\ |
113 |
|
exf\_yftype & \texttt{'RL'} & ~ \\ |
114 |
|
\hline |
115 |
|
\end{tabular} |
116 |
|
} |
117 |
|
\caption{~} |
118 |
|
\end{table} |
119 |
|
|
120 |
|
|
121 |
|
\paragraph{Field attributes} |
122 |
|
|
123 |
|
|
124 |
|
|
125 |
%---------------------------------------------------------------------- |
%---------------------------------------------------------------------- |
126 |
|
|
127 |
\subsection{EXF fields and units |
\subsection{EXF fields and units |