1 |
heimbach |
1.6 |
\section{MITgcm/sim adjoint code generation} |
2 |
heimbach |
1.1 |
\label{sec:adjoint} |
3 |
|
|
|
4 |
heimbach |
1.3 |
There is now a growing body of literature on adjoint applications |
5 |
|
|
in oceanography and adjoint code generation via AD. |
6 |
|
|
We therefore limit the description of the method to a brief summary. |
7 |
heimbach |
1.1 |
The adjoint model operator (ADM) is the transpose of the tangent |
8 |
|
|
linear model operator (TLM) of the full (in general nonlinear) forward |
9 |
heimbach |
1.6 |
model, in this case the MITgcm/sim. This operator computes the gradients |
10 |
heimbach |
1.3 |
of scalar-valued model diagnostics (cost function or |
11 |
|
|
objective function) with respect to many model inputs |
12 |
|
|
(independent or control variables). These inputs can be two- or |
13 |
heimbach |
1.1 |
three-dimensional fields of initial conditions of the ocean or sea-ice |
14 |
|
|
state, model parameters such as mixing coefficients, or time-varying |
15 |
|
|
surface or lateral (open) boundary conditions. When combined, these |
16 |
|
|
variables span a potentially high-dimensional (e.g. O(10$^8$)) |
17 |
heimbach |
1.6 |
control space. At this problem dimension, perturbing |
18 |
heimbach |
1.1 |
individual parameters to assess model sensitivities quickly becomes |
19 |
|
|
prohibitive. By contrast, transient sensitivities of the objective |
20 |
|
|
function to any element of the control and model state space can be |
21 |
|
|
computed very efficiently in one single adjoint model integration, |
22 |
|
|
provided an adjoint model is available. |
23 |
|
|
|
24 |
heimbach |
1.3 |
The burden of developing ``by hand" |
25 |
|
|
an adjoint model in general matches that of |
26 |
|
|
the forward model development. The substantial extra investment |
27 |
|
|
often prevents serious attempts at making available adjoint |
28 |
|
|
components of sophisticated models. |
29 |
|
|
The alternative route of rigorous application of AD has proven |
30 |
|
|
very successful in the context of MITgcm ocean modeling applications. |
31 |
|
|
The model has been tailored to be readily used with AD |
32 |
|
|
tools for adjoint code generation. |
33 |
|
|
The adjoint model of the MITgcm has become an invaluable |
34 |
|
|
tool for sensitivity analysis as well as state estimation \citep[for a |
35 |
|
|
recent overview and summary, see][]{heim:08}. |
36 |
|
|
AD also enables the largest possible variety of configurations |
37 |
|
|
and studies to be conducted with adjoint methods. |
38 |
|
|
|
39 |
|
|
The AD route was also taken in developing and adapting the sea-ice |
40 |
|
|
component, so that tangent linear and adjoint components can be obtained |
41 |
|
|
and kept up to date without excessive effort. |
42 |
|
|
As for the TLM and ADM components of MITgcm we rely on the |
43 |
heimbach |
1.1 |
autmomatic differentiation (AD) tool ``Transformation of Algorithms in |
44 |
|
|
Fortran'' (TAF) developed by Fastopt \citep{gier-kami:98} to generate |
45 |
|
|
TLM and ADM code of the MITsim \citep[for details see][]{maro-etal:99, |
46 |
heimbach |
1.3 |
heim-etal:05}. |
47 |
|
|
|
48 |
|
|
In short, the AD tool uses the nonlinear parent |
49 |
heimbach |
1.1 |
model code to generate derivative code for the specified control space |
50 |
|
|
and objective function. Advantages of this approach have been pointed |
51 |
|
|
out, for example by \cite{gier-kami:98}. |
52 |
|
|
|
53 |
heimbach |
1.3 |
[ADD MORE MATERIAL HERE] |
54 |
|
|
|
55 |
heimbach |
1.1 |
Many issues of generating efficient exact adjoint sea-ice code are |
56 |
|
|
similar to those for the ocean model's adjoint. Linearizing the model |
57 |
|
|
around the exact nonlinear model trajectory is a crucial aspect in the |
58 |
|
|
presence of different regimes (e.g., is the thermodynamic growth term |
59 |
|
|
for sea-ice evaluated near or far away from the freezing point of the |
60 |
|
|
ocean surface?). Adapting the (parent) model code to support the AD |
61 |
|
|
tool in providing exact and efficient adjoint code represents the main |
62 |
|
|
work load initially. For legacy code, this task may become |
63 |
|
|
substantial, but it is fairly straightforward when writing new code |
64 |
|
|
with an AD tool in mind. Once this initial task is completed, |
65 |
|
|
generating the adjoint code of a new model configuration takes about |
66 |
|
|
10 minutes. |
67 |
|
|
|
68 |
|
|
[HIGHLIGHT COUPLED NATURE OF THE ADJOINT!] |
69 |
|
|
|
70 |
|
|
|
71 |
heimbach |
1.6 |
\section{A case study: Sensitivities of sea-ice export through |
72 |
heimbach |
1.1 |
the Lancaster Sound} |
73 |
|
|
|
74 |
|
|
We demonstrate the power of the adjoint method in the context of |
75 |
|
|
investigating sea-ice export sensitivities through Lancaster Sound. |
76 |
|
|
The rationale for doing so is to complement the analysis of sea-ice |
77 |
|
|
dynamics in the presence of narrow straits. Lancaster Sound is one of |
78 |
|
|
the main paths of sea-ice flowing through the Canadian Arctic |
79 |
|
|
Archipelago (CAA). Export sensitivities reflect dominant pathways |
80 |
|
|
through the CAA as resolved by the model. Sensitivity maps can shed a |
81 |
|
|
very detailed light on various quantities affecting the sea-ice export |
82 |
|
|
(and thus the underlying pathways). Note that while the dominant |
83 |
|
|
circulation through Lancaster Sound is toward the East, there is a |
84 |
|
|
small Westward flow to the North, hugging the coast of Devon Island |
85 |
|
|
\citep{mell:02, mich-etal:06,muen-etal:06}, which is not resolved in |
86 |
|
|
our simulation. |
87 |
|
|
|
88 |
heimbach |
1.6 |
\subsection{The model configuration} |
89 |
|
|
|
90 |
heimbach |
1.2 |
The model domain is the same as the one described in Part 1, |
91 |
heimbach |
1.1 |
but with halved horizontal resolution. |
92 |
|
|
The adjoint models run efficiently on 80 processors (as validated |
93 |
|
|
by benchmarks on both an SGI Altix and an IBM SP5 at NASA/ARC). |
94 |
|
|
Following a 4-year spinup (1985 to 1988), the model is integrated for four |
95 |
|
|
years and nine months between January 1989 and September 1993. |
96 |
|
|
It is forced using realistic 6-hourly NCEP/NCAR atmospheric state variables. |
97 |
|
|
%Over the open ocean these are |
98 |
|
|
%converted into air-sea fluxes via the bulk formulae of |
99 |
|
|
%\citet{large04}. The air-sea fluxes in the presence of |
100 |
|
|
%sea-ice are handled by the ice model as described in \refsec{model}. |
101 |
|
|
The objective function $J$ is chosen as the ``solid'' fresh water |
102 |
|
|
export, that is the export of ice and snow converted to units of fresh |
103 |
|
|
water, |
104 |
|
|
% |
105 |
|
|
\begin{equation} |
106 |
|
|
J \, = \, (\rho_{i} h_{i}c + \rho_{s} h_{s}c)\,u |
107 |
|
|
\end{equation} |
108 |
|
|
% |
109 |
|
|
through Lancaster Sound at approximately 82\degW\ (cross-section G in |
110 |
heimbach |
1.5 |
\reffig{arctic_topog}) integrated over the final |
111 |
heimbach |
1.1 |
12-month of the integration between October 1992 and September 1993. |
112 |
|
|
|
113 |
|
|
The forward trajectory of the model integration resembles broadly that |
114 |
heimbach |
1.2 |
of the model in Part 1. Many details are different, owning |
115 |
heimbach |
1.1 |
to different resolution and integration period; for example, the solid |
116 |
|
|
fresh water transport through Lancaster Sound is |
117 |
|
|
% |
118 |
|
|
$116\pm101\text{\,km$^{3}$\,y$^{-1}$}$ for a free slip simulation with |
119 |
|
|
the C-LSOR solver, but only $39\pm64\text{\,km$^{3}$\,y$^{-1}$}$ for a |
120 |
heimbach |
1.5 |
no slip simulation. |
121 |
|
|
The large discrepancy between both numbers underlines the need to |
122 |
|
|
better understand the model sensitivities across the entire model state space |
123 |
|
|
resulting from different lateral boundary conditions. |
124 |
heimbach |
1.1 |
|
125 |
heimbach |
1.6 |
The adjoint model is the transpose of the tangent linear model |
126 |
heimbach |
1.1 |
operator. It runs backwards in time, from September 1993 to |
127 |
|
|
January 1989. During its integration it accumulates the Lagrange multipliers |
128 |
|
|
of the model subject to the objective function (solid freshwater export), |
129 |
|
|
which can be interpreted as sensitivities of the objective function |
130 |
|
|
to each control variable and each element of the intermediate |
131 |
|
|
coupled model state variables. |
132 |
|
|
Thus, all sensitivity elements of the coupled |
133 |
|
|
ocean/sea-ice model state as well as the surface atmospheric state are |
134 |
|
|
available for analysis of the transient sensitivity behavior. Over the |
135 |
|
|
open ocean, the adjoint of the bulk formula scheme computes |
136 |
|
|
sensitivities to the time-varying atmospheric state. Over ice-covered |
137 |
|
|
areas, the sea-ice adjoint converts surface ocean sensitivities to |
138 |
|
|
atmospheric sensitivities. |
139 |
|
|
|
140 |
heimbach |
1.6 |
\subsection{Adjoint sensitivities} |
141 |
heimbach |
1.1 |
|
142 |
|
|
The most readily interpretable ice-export sensitivity is that to |
143 |
|
|
effective ice thickness, $\partial{J} / \partial{(hc)}$. |
144 |
heimbach |
1.2 |
Maps of transient sensitivities |
145 |
|
|
$\partial{J} / \partial{(hc)}$ are depicted using |
146 |
|
|
free-slip (\reffig{adjhefffreeslip}) and no-slip (\reffig{adjheffnoslip}) boundary conditions. |
147 |
|
|
Each Figure depicts four sensitivity snapshots from 1 October 1992 |
148 |
|
|
(i.e. the beginning of the averaging period for the objective function $J$ |
149 |
|
|
and 12 months prior to the end of the integration, September 1993), |
150 |
|
|
going back in time to 1 October 1989 |
151 |
|
|
(beginning of model integration is 1 January 1989). |
152 |
|
|
% |
153 |
heimbach |
1.1 |
\begin{figure*}[t] |
154 |
heimbach |
1.2 |
\includegraphics*[width=\textwidth]{\fpath/adj_canarch_freeslip_ADJheff} |
155 |
heimbach |
1.1 |
\caption{Sensitivity $\partial{J}/\partial{(hc)}$ in |
156 |
heimbach |
1.2 |
m$^2$\,s$^{-1}$/m for four different different times using free-slip |
157 |
|
|
lateral boundary conditions for sea ice drift. The color scale is chosen |
158 |
|
|
to illustrate the patterns of the sensitivities. |
159 |
|
|
\label{fig:adjhefffreeslip}} |
160 |
|
|
\end{figure*} |
161 |
|
|
|
162 |
|
|
\begin{figure*}[t] |
163 |
|
|
\includegraphics*[width=\textwidth]{\fpath/adj_canarch_noslip_ADJheff} |
164 |
|
|
\caption{Same as Fig. \ref{fig:adjhefffreeslip}, but for no-slip |
165 |
|
|
lateral boundary conditions for sea ice drift. |
166 |
|
|
\label{fig:adjheffnoslip}} |
167 |
heimbach |
1.1 |
\end{figure*} |
168 |
|
|
|
169 |
|
|
The sensitivity patterns for effective ice thickness are predominantly positive. |
170 |
|
|
An increase in ice volume in most places ``upstream'' of |
171 |
|
|
Lancaster sound increases the solid fresh water export at the exit section. |
172 |
heimbach |
1.2 |
The transient nature of the sensitivity patterns is obvious: |
173 |
heimbach |
1.1 |
the area upstream of the Lancaster Sound that |
174 |
|
|
contributes to the export sensitivity is larger in the earlier snapshot. |
175 |
heimbach |
1.2 |
In the free slip case, the sensivity follows (backwards in time) the dominant pathway through the Barrow Strait |
176 |
heimbach |
1.1 |
into the Viscount Melville Sound, and from there trough the M'Clure Strait |
177 |
heimbach |
1.2 |
into the Arctic Ocean (the branch of the ``Northwest Passage'' first |
178 |
|
|
discovered by Robert McClure during his 1850 to 1854 expedition, during which |
179 |
|
|
he got stuck in Viscount Melville Sound). |
180 |
|
|
|
181 |
heimbach |
1.1 |
Secondary paths are northward from the |
182 |
|
|
Viscount Melville Sound through the Byam Martin Channel into |
183 |
|
|
the Prince Gustav Adolf Sea and through the Penny Strait into the |
184 |
|
|
MacLean Strait. \ml{[Patrick, all these names, if mentioned in the |
185 |
|
|
text need to be included somewhere in a figure (i.e. fig1). Can you |
186 |
|
|
either do this in fig1 (based on martins\_figs.m) or send me a map |
187 |
|
|
where these names are visible so I can do this unambiguously. I |
188 |
|
|
don't know where Byam |
189 |
|
|
Martin Channel, Prince Gustav Adolf Sea, Penny Strait, MacLean |
190 |
|
|
Strait, Ballantyne St., Massey Sound are.]} |
191 |
|
|
|
192 |
|
|
There are large differences between the free slip and no slip |
193 |
|
|
solution. By the end of the adjoint integration in January 1989, the |
194 |
|
|
no slip sensitivities (bottom right) are generally weaker than the |
195 |
|
|
free slip sensitivities and hardly reach beyond the western end of the |
196 |
|
|
Barrow Strait. In contrast, the free-slip sensitivities (bottom left) |
197 |
|
|
extend through most of the CAA and into the Arctic interior, both to |
198 |
|
|
the West (M'Clure St.) and to the North (Ballantyne St., Prince |
199 |
|
|
Gustav Adolf Sea, Massey Sound), because in this case the ice can |
200 |
|
|
drift more easily through narrow straits, so that a positive ice |
201 |
|
|
volume anomaly anywhere upstream in the CAA increases ice export |
202 |
|
|
through the Lancaster Sound within the simulated 4 year period. |
203 |
|
|
|
204 |
heimbach |
1.2 |
One peculiar feature in the October 1992 sensitivity maps |
205 |
|
|
are the negative sensivities to the East and, albeit much weaker, |
206 |
|
|
to the West of the Lancaster Sound. |
207 |
|
|
The former can be explained by indirect effects: less ice to the East means |
208 |
|
|
less resistance to eastward drift and thus more export. |
209 |
|
|
A similar mechanism might account for the latter, |
210 |
|
|
albeit resting on more speculative grounds: less ice to |
211 |
heimbach |
1.1 |
the West means that more ice can be moved eastwards from the Barrow Strait |
212 |
|
|
into the Lancaster Sound leading to more ice export. |
213 |
|
|
|
214 |
heimbach |
1.2 |
The temporal evolution of several ice export sensitivities |
215 |
|
|
along a zonal axis through |
216 |
heimbach |
1.1 |
Lancaster Sound, Barrow Strait, and Melville Sound (115\degW\ to |
217 |
|
|
80\degW, averaged across the passages) are depicted as Hovmueller |
218 |
|
|
diagrams in \reffig{lancasteradj}. These are, from top to bottom, the |
219 |
|
|
sensitivities with respect to effective ice thickness ($hc$), ocean |
220 |
|
|
surface temperature ($SST$) and precipitation ($p$) for free slip |
221 |
|
|
(left column) and no slip (right column) ice drift boundary |
222 |
|
|
conditions. |
223 |
|
|
% |
224 |
|
|
\begin{figure*} |
225 |
heimbach |
1.2 |
\centerline{ |
226 |
heimbach |
1.1 |
\includegraphics*[height=.8\textheight]{\fpath/lancaster_adj} |
227 |
heimbach |
1.2 |
} |
228 |
heimbach |
1.5 |
\caption{Hovmoeller diagrams along the axis Viscount Melville |
229 |
heimbach |
1.1 |
Sound/Barrow Strait/Lancaster Sound. The diagrams show the |
230 |
|
|
sensitivities (derivatives) of the ``solid'' fresh water (i.e., |
231 |
|
|
ice and snow) export $J$ through Lancaster sound |
232 |
|
|
(\reffig{arctic_topog}, cross-section G) with respect to effective |
233 |
|
|
ice thickness ($hc$), ocean surface temperature (SST) and |
234 |
|
|
precipitation ($p$) for two runs with free slip and no slip |
235 |
|
|
boundary conditions for the sea ice drift. Each plot is overlaid |
236 |
|
|
with the contours 1 and 3 of the normalized ice strengh |
237 |
|
|
$P/P^*=(hc)\,\exp[-C\,(1-c)]$ for orientation. |
238 |
|
|
\label{fig:lancasteradj}} |
239 |
|
|
\end{figure*} |
240 |
|
|
% |
241 |
|
|
\begin{figure*} |
242 |
heimbach |
1.2 |
\centerline{ |
243 |
heimbach |
1.6 |
\includegraphics*[height=.8\textheight]{\fpath/lancaster_fwd_1} |
244 |
heimbach |
1.2 |
} |
245 |
heimbach |
1.5 |
\caption{Hovmoeller diagrams along the axis Viscount Melville |
246 |
heimbach |
1.1 |
Sound/Barrow Strait/Lancaster Sound of effective ice thickness |
247 |
|
|
($hc$), effective snow thickness ($h_{s}c$) and normalized ice |
248 |
|
|
strengh $P/P^*=(hc)\,\exp[-C\,(1-c)]$ for two runs with free slip |
249 |
|
|
and no slip boundary conditions for the sea ice drift. Each plot |
250 |
|
|
is overlaid with the contours 1 and 3 of the normalized ice |
251 |
|
|
strength for orientation. |
252 |
heimbach |
1.6 |
\label{fig:lancasterfwd1}} |
253 |
|
|
\end{figure*} |
254 |
|
|
% |
255 |
|
|
\begin{figure*} |
256 |
|
|
\centerline{ |
257 |
|
|
\includegraphics*[height=.8\textheight]{\fpath/lancaster_fwd_2} |
258 |
|
|
} |
259 |
|
|
\caption{Same as Fig. \ref{fig: lancasterfwd1}, but for SST and SSS. |
260 |
|
|
\label{fig:lancasterfwd2}} |
261 |
heimbach |
1.1 |
\end{figure*} |
262 |
|
|
% |
263 |
|
|
|
264 |
|
|
The Hovmoeller diagrams of ice thickness (top row) and sea surface temperature |
265 |
|
|
(second row) sensitivities are coherent: |
266 |
|
|
more ice in the Lancaster Sound leads |
267 |
|
|
to more export, and one way to get more ice is by colder surface |
268 |
|
|
temperatures (less melting from below). In the free slip case the |
269 |
|
|
sensitivities spread out in "pulses" following a seasonal cycle: |
270 |
|
|
ice can propagate eastwards (forward in time and thus sensitivites can |
271 |
|
|
propagate westwards (backwards in time) when the ice strength is low |
272 |
|
|
in late summer to early autumn. |
273 |
|
|
In contrast, during winter, the sensitivities show little to now |
274 |
|
|
westward propagation, as the ice is frozen solid and does not move. |
275 |
|
|
In the no slip case the (normalized) |
276 |
|
|
ice strength does not fall below 1 during the winters of 1991 to 1993 |
277 |
|
|
(mainly because the ice concentrations remain near 100\%, not |
278 |
|
|
shown). Ice is therefore blocked and cannot drift eastwards |
279 |
|
|
(forward in time) through the Viscount |
280 |
|
|
Melville Sound, Barrow Strait, Lancaster Sound channel system. |
281 |
|
|
Consequently, the sensitivities do not propagate westwards (backwards in |
282 |
|
|
time) and the export through Lancaster Sound is only affected by |
283 |
|
|
local ice formation and melting for the entire integration period. |
284 |
|
|
|
285 |
|
|
The sensitivities to precipitation exhibit an oscillatory behaviour: |
286 |
|
|
they are negative (more precipitation leads to less export) |
287 |
|
|
before January (more precisely, late fall) and mostly positive after January |
288 |
|
|
(more precisely, January through July). |
289 |
|
|
Times of positive sensitivities coincide with times of |
290 |
|
|
normalized ice strengths exceeding values of 3 |
291 |
|
|
% |
292 |
|
|
\ml{PH: Problem is, that's not true for the first two years (backward), |
293 |
|
|
east of 95\degW, that is, in the Lancaster Sound. |
294 |
|
|
For example, at 90\degW\ the sensitivities are negative throughout 1992, |
295 |
|
|
and no clear correlation to ice strength is apparent there.} |
296 |
|
|
except between 95\degW\ and 85\degW, which is an area of |
297 |
|
|
increased snow cover in spring. \ml{[ML: and no, I cannot explain |
298 |
|
|
that. Can you?]} |
299 |
|
|
|
300 |
|
|
% |
301 |
|
|
Assuming that most precipation is snow in this area\footnote{ |
302 |
|
|
In the |
303 |
|
|
current implementation the model differentiates between snow and rain |
304 |
|
|
depending on the thermodynamic growth rate; when it is cold enough for |
305 |
|
|
ice to grow, all precipitation is assumed to be snow.} |
306 |
|
|
% |
307 |
|
|
the sensitivities can be interpreted in terms of the model physics. |
308 |
|
|
The accumulation of snow directly increases the exported volume. |
309 |
|
|
Further, short wave radiation cannot penetrate the snow cover and has |
310 |
|
|
a higer albedo than ice (0.85 for dry snow and 0.75 for dry ice in our |
311 |
|
|
case); thus it protects the ice against melting in spring (after |
312 |
|
|
January). |
313 |
|
|
|
314 |
|
|
On the other hand, snow reduces the effective conductivity and thus the heat |
315 |
|
|
flux through the ice. This insulating effect slows down the cooling of |
316 |
|
|
the surface water underneath the ice and limits the ice growth from |
317 |
|
|
below, so that less snow in the ice-growing season leads to more new |
318 |
|
|
ice and thus more ice export. |
319 |
|
|
\ml{PH: Should probably discuss the effect of snow vs. rain. |
320 |
|
|
To me it seems that the "rain" effect doesn't really play a role |
321 |
|
|
because the neg. sensitivities are too late in the fall, |
322 |
|
|
probably mostly falling as snow.} \ml{[ML: correct, I looked at |
323 |
|
|
NCEP/CORE air temperatures, and they are hardly above freezing in |
324 |
|
|
Jul/Aug, but otherwise below freezing, that why I can assume that most |
325 |
|
|
precip is snow. ]} \ml{[this is not very good but do you have anything |
326 |
|
|
better?:]} |
327 |
|
|
The negative sensitivities to precipitation between 95\degW\ and |
328 |
|
|
85\degW\ in spring 1992 may be explained by a similar mechanism: in an |
329 |
|
|
area of thick snow (almost 50\,cm), ice cannot melt and tends to block |
330 |
|
|
the channel so that ice coming in from the West cannot pass thus |
331 |
|
|
leading to less ice export in the next season. |
332 |
|
|
|
333 |
heimbach |
1.6 |
\subsection{Forward sensitivities} |
334 |
heimbach |
1.1 |
|
335 |
heimbach |
1.5 |
\begin{figure} |
336 |
|
|
%\centerline{ |
337 |
|
|
\subfigure %[$hc$] |
338 |
heimbach |
1.6 |
{\includegraphics*[width=.5\textwidth]{\fpath/lanc_pert_heff}} |
339 |
heimbach |
1.5 |
|
340 |
|
|
\subfigure %[SST] |
341 |
heimbach |
1.6 |
{\includegraphics*[width=.5\textwidth]{\fpath/lanc_pert_theta}} |
342 |
heimbach |
1.5 |
|
343 |
|
|
\subfigure %[$p$] |
344 |
heimbach |
1.6 |
{\includegraphics*[width=.5\textwidth]{\fpath/lanc_pert_precip}} |
345 |
heimbach |
1.5 |
%} |
346 |
heimbach |
1.3 |
\caption{~ |
347 |
|
|
\label{fig:lancpert}} |
348 |
heimbach |
1.5 |
\end{figure} |
349 |
heimbach |
1.3 |
% |
350 |
|
|
Using an an adjoint model obtained via automatic differentiation |
351 |
|
|
and applied under potentially nonlinear conditions begs the question |
352 |
|
|
to what extent the adjoint sensitivities are ``reliable". |
353 |
|
|
Obtaining adjoint fields that are physically interpretable |
354 |
|
|
is a good start, but quantitative verification is required to lend |
355 |
|
|
credence to the calculations. |
356 |
|
|
Such verification can be done by comparing the adjoint-derived gradient |
357 |
|
|
with the one obtained from finite-difference perturbation experiments. |
358 |
|
|
More specifically, for a control variable of interest $\mathbf{u}$ |
359 |
|
|
we can readily calculate an expected change $\delta J$ in the objective function |
360 |
|
|
from an applied perturbation $\mathbf{\delta u}$ over the domain $A$ via |
361 |
|
|
% |
362 |
|
|
\begin{equation} |
363 |
|
|
\delta J \, = \, \int_A \frac{\partial J}{\partial \mathbf{u}} \, |
364 |
|
|
\mathbf{\delta u} \, dA |
365 |
|
|
\label{eqn:adjpert} |
366 |
|
|
\end{equation} |
367 |
|
|
% |
368 |
|
|
Alternatively we can infer the magnitude of the cost perturbation |
369 |
|
|
without use of the adjoint, but instead by applying the same |
370 |
|
|
perturbation $\epsilon = | \mathbf{\delta u} |$ to the control space over |
371 |
|
|
the same domain $A$ and run the |
372 |
|
|
forward model. We obtain the perturbed cost by calculating |
373 |
|
|
% |
374 |
|
|
\begin{equation} |
375 |
|
|
\delta J \, = \, |
376 |
|
|
\frac{J(\mathbf{u}+\mathbf{\delta u}) - J(\mathbf{u})}{\epsilon} |
377 |
|
|
\mathbf{\epsilon} |
378 |
|
|
\label{eqn:fdpert} |
379 |
|
|
\end{equation} |
380 |
|
|
|
381 |
|
|
\begin{table*} |
382 |
|
|
\caption{Blabla... All perturbations were applied on a patch around |
383 |
|
|
101.24$^{\circ}$W, 75.76$^{\circ}$N. Reference value for export is |
384 |
|
|
$J_0$ = 69.6 km$^3$. } |
385 |
|
|
\label{tab:pertexp} |
386 |
|
|
\centering |
387 |
|
|
\begin{tabular}{ccccrr} |
388 |
|
|
\hline |
389 |
|
|
variable & time & $\Delta t$ & $\epsilon$ & $\delta J$(adj) & $\delta J$(fd) \\ |
390 |
|
|
\hline \hline |
391 |
|
|
$hc$ & 1-Jan-1989 & init. & 0.5 m & ~ & 1.1 \\ |
392 |
|
|
SST & 1-Jan-1989 & init. & 0.5$^{\circ}$C & ~ & -0.11 \\ |
393 |
|
|
$p$ & 1-Oct-1990 & 10 days & 1.6$\cdot10^{-7}$ m/s & ~ & -0.13 \\ |
394 |
|
|
$p$ & 1-Apr-1991 & 10 days & 1.6$\cdot10^{-7}$ m/s & ~ & 0.32 \\ |
395 |
|
|
\hline |
396 |
|
|
\end{tabular} |
397 |
|
|
\end{table*} |
398 |
|
|
|
399 |
|
|
The degree to which eqn. (\ref{eqn:adjpert}) and (\ref{eqn:fdpert}) agree |
400 |
|
|
depends both on the magnitude of the perturbation $\mathbf{\delta u}$ |
401 |
|
|
and on the integration period (note that forward and adjoint models are |
402 |
|
|
evaluated over the same period). |
403 |
|
|
For nonlinear models they are expected to diverge both with |
404 |
|
|
perturbation magnitude as well as with integration time. |
405 |
|
|
Bearing this in mind, we perform several such experiments |
406 |
|
|
for several control variables, summarized in Table \ref{tab:???}. |
407 |
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
heimbach |
1.1 |
|
411 |
|
|
%(*) |
412 |
|
|
%The sensitivity in Baffin Bay are more complex. |
413 |
|
|
%The pattern evolves along the Western boundary, connecting |
414 |
|
|
%the Lancaster Sound Polynya, the Coburg Island Polynya, and the |
415 |
|
|
%North Water Polynya, and reaches into Nares Strait and the Kennedy Channel. |
416 |
|
|
%The sign of sensitivities has an oscillatory character |
417 |
|
|
%[AT FREQUENCY OF SEASONAL CYCLE?]. |
418 |
|
|
%First, we need to establish whether forward perturbation runs |
419 |
|
|
%corroborate the oscillatory behaviour. |
420 |
|
|
%Then, several possible explanations: |
421 |
|
|
%(i) connection established through Nares Strait throughflow |
422 |
|
|
%which extends into Western boundary current in Northern Baffin Bay. |
423 |
|
|
%(ii) sea-ice concentration there is seasonal, i.e. partly |
424 |
|
|
%ice-free during the year. Seasonal cycle in sensitivity likely |
425 |
|
|
%connected to ice-free vs. ice-covered parts of the year. |
426 |
|
|
%Negative sensitivities can potentially be attributed |
427 |
|
|
%to blocking of Lancaster Sound ice export by Western boundary ice |
428 |
|
|
%in Baffin Bay. |
429 |
|
|
%(iii) Alternatively to (ii), flow reversal in Lancaster Sound is a possibility |
430 |
|
|
%(in reality there's a Northern counter current hugging the coast of |
431 |
|
|
%Devon Island which we probably don't resolve). |
432 |
|
|
|
433 |
|
|
%Remote control of Kennedy Channel on Lancaster Sound ice export |
434 |
|
|
%seems a nice test for appropriateness of free-slip vs. no-slip BCs. |
435 |
|
|
|
436 |
|
|
%\paragraph{Sensitivities to the sea-ice area} |
437 |
|
|
|
438 |
|
|
%Fig. XXX depcits transient sea-ice export sensitivities |
439 |
|
|
%to changes in sea-ice concentration |
440 |
|
|
% $\partial J / \partial area$ using free-slip |
441 |
|
|
%(left column) and no-slip (right column) boundary conditions. |
442 |
|
|
%Sensitivity snapshots are depicted for (from top to bottom) |
443 |
|
|
%12, 24, 36, and 48 months prior to May 2003. |
444 |
|
|
%Contrary to the steady patterns seen for thickness sensitivities, |
445 |
|
|
%the ice-concentration sensitivities exhibit a strong seasonal cycle |
446 |
|
|
%in large parts of the domain (but synchronized on large scale). |
447 |
|
|
%The following discussion is w.r.t. free-slip run. |
448 |
|
|
|
449 |
|
|
%(*) |
450 |
|
|
%Months, during which sensitivities are negative: |
451 |
|
|
%\\ |
452 |
|
|
%0 to 5 Db=N/A, Dr=5 (May-Jan) \\ |
453 |
|
|
%10 to 17 Db=7, Dr=5 (Jul-Jan) \\ |
454 |
|
|
%22 to 29 Db=7, Dr=5 (Jul-Jan) \\ |
455 |
|
|
%34 to 41 Db=7, Dr=5 (Jul-Jan) \\ |
456 |
|
|
%46 to 49 D=N/A \\ |
457 |
|
|
%% |
458 |
|
|
%These negative sensitivities seem to be connected to months |
459 |
|
|
%during which main parts of the CAA are essentially entirely ice-covered. |
460 |
|
|
%This means that increase in ice concentration during this period |
461 |
|
|
%will likely reduce ice export due to blocking |
462 |
|
|
%[NEED TO EXPLAIN WHY THIS IS NOT THE CASE FOR dJ/dHEFF]. |
463 |
|
|
%Only during periods where substantial parts of the CAA are |
464 |
|
|
%ice free (i.e. sea-ice concentration is less than one in larger parts of |
465 |
|
|
%the CAA) will an increase in ice-concentration increase ice export. |
466 |
|
|
|
467 |
|
|
%(*) |
468 |
|
|
%Sensitivities peak about 2-3 months before sign reversal, i.e. |
469 |
|
|
%max. negative sensitivities are expected end of July |
470 |
|
|
%[DOUBLE CHECK THIS]. |
471 |
|
|
|
472 |
|
|
%(*) |
473 |
|
|
%Peaks/bursts of sensitivities for months |
474 |
|
|
%14-17, 19-21, 27-29, 30-33, 38-40, 42-45 |
475 |
|
|
|
476 |
|
|
%(*) |
477 |
|
|
%Spatial "anti-correlation" (in sign) between main sensitivity branch |
478 |
|
|
%(essentially Northwest Passage and immediate connecting channels), |
479 |
|
|
%and remote places. |
480 |
|
|
%For example: month 20, 28, 31.5, 40, 43. |
481 |
|
|
%The timings of max. sensitivity extent are similar between |
482 |
|
|
%free-slip and no-slip run; and patterns are similar within CAA, |
483 |
|
|
%but differ in the Arctic Ocean interior. |
484 |
|
|
|
485 |
|
|
%(*) |
486 |
|
|
%Interesting (but real?) patterns in Arctic Ocean interior. |
487 |
|
|
|
488 |
|
|
%\paragraph{Sensitivities to the sea-ice velocity} |
489 |
|
|
|
490 |
|
|
%(*) |
491 |
|
|
%Patterns of ADJuice at almost any point in time are rather complicated |
492 |
|
|
%(in particular with respect to spatial structure of signs). |
493 |
|
|
%Might warrant perturbation tests. |
494 |
|
|
%Patterns of ADJvice, on the other hand, are more spatially coherent, |
495 |
|
|
%but still hard to interpret (or even counter-intuitive |
496 |
|
|
%in many places). |
497 |
|
|
|
498 |
|
|
%(*) |
499 |
|
|
%"Growth in extent of sensitivities" goes in clear pulses: |
500 |
|
|
%almost no change between months: 0-5, 10-20, 24-32, 36-44 |
501 |
|
|
%These essentially correspond to months of |
502 |
|
|
|
503 |
|
|
|
504 |
|
|
%\subsection{Sensitivities to the oceanic state} |
505 |
|
|
|
506 |
|
|
%\paragraph{Sensitivities to theta} |
507 |
|
|
|
508 |
|
|
%\textit{Sensitivities at the surface (z = 5 m)} |
509 |
|
|
|
510 |
|
|
%(*) |
511 |
|
|
%mabye redo with caxmax=0.02 or even 0.05 |
512 |
|
|
|
513 |
|
|
%(*) |
514 |
|
|
%Core of negative sensitivities spreading through the CAA as |
515 |
|
|
%one might expect [TEST]: |
516 |
|
|
%Increase in SST will decrease ice thickness and therefore ice export. |
517 |
|
|
|
518 |
|
|
%(*) |
519 |
|
|
%What's maybe unexpected is patterns of positive sensitivities |
520 |
|
|
%at the fringes of the "core", e.g. in the Southern channels |
521 |
|
|
%(Bellot St., Peel Sound, M'Clintock Channel), and to the North |
522 |
|
|
%(initially MacLean St., Prince Gustav Adolf Sea, Hazen St., |
523 |
|
|
%then shifting Northward into the Arctic interior). |
524 |
|
|
|
525 |
|
|
%(*) |
526 |
|
|
%Marked sensitivity from the Arctic interior roughly along 60$^{\circ}$W |
527 |
|
|
%propagating into Lincoln Sea, then |
528 |
|
|
%entering Nares Strait and Smith Sound, periodically |
529 |
|
|
%warming or cooling[???] the Lancaster Sound exit. |
530 |
|
|
|
531 |
|
|
%\textit{Sensitivities at depth (z = 200 m)} |
532 |
|
|
|
533 |
|
|
%(*) |
534 |
|
|
%Negative sensitivities almost everywhere, as might be expected. |
535 |
|
|
|
536 |
|
|
%(*) |
537 |
|
|
%Sensitivity patterns between free-slip and no-slip BCs |
538 |
|
|
%are quite similar, except in Lincoln Sea (North of Nares St), |
539 |
|
|
%where the sign is reversed (but pattern remains similar). |
540 |
|
|
|
541 |
|
|
%\paragraph{Sensitivities to salt} |
542 |
|
|
|
543 |
|
|
%T.B.D. |
544 |
|
|
|
545 |
|
|
%\paragraph{Sensitivities to velocity} |
546 |
|
|
|
547 |
|
|
%T.B.D. |
548 |
|
|
|
549 |
|
|
%\subsection{Sensitivities to the atmospheric state} |
550 |
|
|
|
551 |
|
|
%\begin{itemize} |
552 |
|
|
%% |
553 |
|
|
%\item |
554 |
|
|
%plot of ATEMP for 12, 24, 36, 48 months |
555 |
|
|
%% |
556 |
|
|
%\item |
557 |
|
|
%plot of HEFF for 12, 24, 36, 48 months |
558 |
|
|
%% |
559 |
|
|
%\end{itemize} |
560 |
|
|
|
561 |
|
|
|
562 |
|
|
|
563 |
|
|
%\reffig{4yradjheff}(a--d) depict sensitivities of sea-ice export |
564 |
|
|
%through Fram Strait in December 1995 to changes in sea-ice thickness |
565 |
|
|
%12, 24, 36, 48 months back in time. Corresponding sensitivities to |
566 |
|
|
%ocean surface temperature are depicted in |
567 |
|
|
%\reffig{4yradjthetalev1}(a--d). The main characteristics is |
568 |
|
|
%consistency with expected advection of sea-ice over the relevant time |
569 |
|
|
%scales considered. The general positive pattern means that an |
570 |
|
|
%increase in sea-ice thickness at location $(x,y)$ and time $t$ will |
571 |
|
|
%increase sea-ice export through Fram Strait at time $T_e$. Largest |
572 |
|
|
%distances from Fram Strait indicate fastest sea-ice advection over the |
573 |
|
|
%time span considered. The ice thickness sensitivities are in close |
574 |
|
|
%correspondence to ocean surface sentivitites, but of opposite sign. |
575 |
|
|
%An increase in temperature will incur ice melting, decrease in ice |
576 |
|
|
%thickness, and therefore decrease in sea-ice export at time $T_e$. |
577 |
|
|
|
578 |
|
|
%The picture is fundamentally different and much more complex |
579 |
|
|
%for sensitivities to ocean temperatures away from the surface. |
580 |
|
|
%\reffig{4yradjthetalev10??}(a--d) depicts ice export sensitivities to |
581 |
|
|
%temperatures at roughly 400 m depth. |
582 |
|
|
%Primary features are the effect of the heat transport of the North |
583 |
|
|
%Atlantic current which feeds into the West Spitsbergen current, |
584 |
|
|
%the circulation around Svalbard, and ... |
585 |
|
|
|
586 |
|
|
|
587 |
|
|
%%\begin{figure}[t!] |
588 |
|
|
%%\centerline{ |
589 |
|
|
%%\subfigure[{\footnotesize -12 months}] |
590 |
|
|
%%{\includegraphics*[width=0.44\linewidth]{\fpath/run_4yr_ADJheff_arc_lev1_tim072_cmax2.0E+02.eps}} |
591 |
|
|
%%\includegraphics*[width=.3\textwidth]{H_c.bin_res_100_lev1.pdf} |
592 |
|
|
%% |
593 |
|
|
%%\subfigure[{\footnotesize -24 months}] |
594 |
|
|
%%{\includegraphics*[width=0.44\linewidth]{\fpath/run_4yr_ADJheff_arc_lev1_tim145_cmax2.0E+02.eps}} |
595 |
|
|
%%} |
596 |
|
|
%% |
597 |
|
|
%%\caption{Sensitivity of sea-ice export through Fram Strait in December 2005 to |
598 |
|
|
%%sea-ice thickness at various prior times. |
599 |
|
|
%%\label{fig:4yradjheff}} |
600 |
|
|
%%\end{figure} |
601 |
|
|
|
602 |
|
|
|
603 |
|
|
%\ml{[based on the movie series |
604 |
|
|
% zzz\_run\_export\_canarch\_freeslip\_4yr\_1989\_ADJ*:]} The ice |
605 |
|
|
%export through the Canadian Archipelag is highly sensitive to the |
606 |
|
|
%previous state of the ocean-ice system in the Archipelago and the |
607 |
|
|
%Western Arctic. According to the \ml{(adjoint)} senstivities of the |
608 |
|
|
%eastward ice transport through Lancaster Sound (\reffig{arctic_topog}, |
609 |
|
|
%cross-section G) with respect to ice volume (effective thickness), ocean |
610 |
|
|
%surface temperature, and vertical diffusivity near the surface |
611 |
|
|
%(\reffig{fouryearadj}) after 4 years of integration the following |
612 |
|
|
%mechanisms can be identified: near the ``observation'' (cross-section |
613 |
|
|
%G), smaller vertical diffusivities lead to lower surface temperatures |
614 |
|
|
%and hence to more ice that is available for export. Further away from |
615 |
|
|
%cross-section G, the sensitivity to vertical diffusivity has the |
616 |
|
|
%opposite sign, but temperature and ice volume sensitivities have the |
617 |
|
|
%same sign as close to the observation. |
618 |
|
|
|
619 |
|
|
|
620 |
|
|
%%% Local Variables: |
621 |
|
|
%%% mode: latex |
622 |
heimbach |
1.6 |
%%% TeX-master: "ceaice" |
623 |
heimbach |
1.1 |
%%% End: |