<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.myroms.org/wiki/index.php?action=history&amp;feed=atom&amp;title=I4DVAR_Observation_Impact_Tutorial</id>
	<title>I4DVAR Observation Impact Tutorial - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.myroms.org/wiki/index.php?action=history&amp;feed=atom&amp;title=I4DVAR_Observation_Impact_Tutorial"/>
	<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;action=history"/>
	<updated>2026-04-27T14:53:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=5913&amp;oldid=prev</id>
		<title>Robertson at 15:15, 28 January 2021</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=5913&amp;oldid=prev"/>
		<updated>2021-01-28T15:15:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:15, 28 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l53&quot;&gt;Line 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the configuration script [[job_i4dvar_sen|job_i4dvar_sen.sh]] and provide the appropriate place for the [[substitute]] Perl script:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;set SUBSTITUTE=${ROMS_ROOT}/ROMS/Bin/substitute&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This script is distributed with ROMS and it is found in the ROMS/Bin sub-directory. Alternatively, you can define ROMS_ROOT environmental variable in your .cshrc login script. For example, I have:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv ROMS_ROOT /home/arango/ocean/toms/repository/trunk&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the configuration script [[job_i4dvar_sen|job_i4dvar_sen.sh]] and provide the appropriate place for the [[substitute]] Perl script:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;set SUBSTITUTE=${ROMS_ROOT}/ROMS/Bin/substitute&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This script is distributed with ROMS and it is found in the ROMS/Bin sub-directory. Alternatively, you can define ROMS_ROOT environmental variable in your .cshrc login script. For example, I have:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv ROMS_ROOT /home/arango/ocean/toms/repository/trunk&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Execute the configuration [[job_i4dvar_sen|job_i4dvar_sen.sh]] &amp;#039;&amp;#039;&amp;#039;before&amp;#039;&amp;#039;&amp;#039; running the model. It copies the required files and creates &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;i4dvar.in&amp;lt;/span&amp;gt; input script from template &amp;#039;&amp;#039;&amp;#039;[[s4dvar.in]]&amp;#039;&amp;#039;&amp;#039;. This has to be done &amp;#039;&amp;#039;&amp;#039;every time&amp;#039;&amp;#039;&amp;#039; that you run this application. We need a clean and fresh copy of the initial conditions and observation files since they are modified by ROMS during execution.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Execute the configuration [[job_i4dvar_sen|job_i4dvar_sen.sh]] &amp;#039;&amp;#039;&amp;#039;before&amp;#039;&amp;#039;&amp;#039; running the model. It copies the required files and creates &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;i4dvar.in&amp;lt;/span&amp;gt; input script from template &amp;#039;&amp;#039;&amp;#039;[[s4dvar.in]]&amp;#039;&amp;#039;&amp;#039;. This has to be done &amp;#039;&amp;#039;&amp;#039;every time&amp;#039;&amp;#039;&amp;#039; that you run this application. We need a clean and fresh copy of the initial conditions and observation files since they are modified by ROMS during execution.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Run ROMS with data assimilation:&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;red&quot;&amp;gt;mpirun -np 4 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;oceanM &lt;/del&gt;roms_wc13.in &amp;gt; &amp;amp; log &amp;amp;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Run ROMS with data assimilation:&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;red&quot;&amp;gt;mpirun -np 4 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;romsM &lt;/ins&gt;roms_wc13.in &amp;gt; &amp;amp; log &amp;amp;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Results==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Results==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=5887&amp;oldid=prev</id>
		<title>Robertson: Text replacement - &quot;\.in&quot; to &quot;.in&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=5887&amp;oldid=prev"/>
		<updated>2021-01-08T17:35:20Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;\.in&amp;quot; to &amp;quot;.in&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:35, 8 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Running I4D-Var Observation Impact==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Running I4D-Var Observation Impact==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To run this exercise, go first to the directory &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt;. Instructions for compiling and running the model are provided below or can be found in the &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt; file. The recommended configuration for this exercise is one outer-loop and 50 inner-loops, and &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;roms_wc13&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\&lt;/del&gt;.in&amp;lt;/span&amp;gt; is configured for this default case. The number of inner-loops is controlled by the parameter [[Variables#Ninner|Ninner]] in &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;roms_wc13&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\&lt;/del&gt;.in&amp;lt;/span&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To run this exercise, go first to the directory &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt;. Instructions for compiling and running the model are provided below or can be found in the &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt; file. The recommended configuration for this exercise is one outer-loop and 50 inner-loops, and &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;roms_wc13.in&amp;lt;/span&amp;gt; is configured for this default case. The number of inner-loops is controlled by the parameter [[Variables#Ninner|Ninner]] in &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;roms_wc13.in&amp;lt;/span&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important CPP Options==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important CPP Options==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l26&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Various Scripts and Include Files==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Various Scripts and Include Files==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following files will be found in &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt; directory after downloading from ROMS test cases SVN repository:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following files will be found in &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt; directory after downloading from ROMS test cases SVN repository:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;box&quot;&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt;                instructions&amp;lt;br /&amp;gt;   [[build_Script|build.bash]]            bash shell script to compile application&amp;lt;br /&amp;gt;   [[build_Script|build.sh]]              csh Unix script to compile application&amp;lt;br /&amp;gt;   [[job_i4dvar_sen|job_i4dvar_sen.sh]]     job configuration script&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;roms_wc13&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\&lt;/del&gt;.in&amp;lt;/span&amp;gt;         ROMS standard input script for WC13&amp;lt;br /&amp;gt;   [[s4dvar.in]]             4D-Var standard input script template&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;                WC13 header with CPP options&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;box&quot;&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt;                instructions&amp;lt;br /&amp;gt;   [[build_Script|build.bash]]            bash shell script to compile application&amp;lt;br /&amp;gt;   [[build_Script|build.sh]]              csh Unix script to compile application&amp;lt;br /&amp;gt;   [[job_i4dvar_sen|job_i4dvar_sen.sh]]     job configuration script&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;roms_wc13.in&amp;lt;/span&amp;gt;         ROMS standard input script for WC13&amp;lt;br /&amp;gt;   [[s4dvar.in]]             4D-Var standard input script template&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;                WC13 header with CPP options&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important parameters in standard input &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;roms_wc13&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\&lt;/del&gt;.in&amp;lt;/span&amp;gt; script==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important parameters in standard input &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;roms_wc13.in&amp;lt;/span&amp;gt; script==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Notice that this driver uses the following adjoint sensitivity parameters (see input script for details):&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Notice that this driver uses the following adjoint sensitivity parameters (see input script for details):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;       [[Variables#DstrS|DstrS]] == 0.0d0                      ! starting day&amp;lt;br /&amp;gt;       [[Variables#DendS|DendS]] == 0.0d0                      ! ending day&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#KstrS|KstrS]] ==  1                         ! starting level&amp;lt;br /&amp;gt;       [[Variables#KendS|KendS]] == 30                         ! ending level&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isFsur)]] == T                 ! free-surface&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isUbar)]] == T                 ! 2D U-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isVbar)]] == T                 ! 2D V-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isUvel)]] == T                 ! 3D U-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isVvel)]] == T                 ! 3D V-momentum&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isTvar)]] == T T               ! tracers&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;       [[Variables#DstrS|DstrS]] == 0.0d0                      ! starting day&amp;lt;br /&amp;gt;       [[Variables#DendS|DendS]] == 0.0d0                      ! ending day&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#KstrS|KstrS]] ==  1                         ! starting level&amp;lt;br /&amp;gt;       [[Variables#KendS|KendS]] == 30                         ! ending level&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isFsur)]] == T                 ! free-surface&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isUbar)]] == T                 ! 2D U-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isVbar)]] == T                 ! 2D V-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isUvel)]] == T                 ! 3D U-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isVvel)]] == T                 ! 3D V-momentum&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isTvar)]] == T T               ! tracers&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot;&gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Notice that the most important CPP options for this application are specified in the [[build_Script|build script]] instead of &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv MY_CPP_FLAGS &amp;quot;-DI4DVAR_ANA_SENSITIVITY&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DAD_IMPULSE&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT_SPLIT&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This is to allow flexibility with different CPP options.&amp;lt;div class=&amp;quot;para&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;For this to work, however, any &amp;#039;&amp;#039;&amp;#039;#undef&amp;#039;&amp;#039;&amp;#039; directives MUST be avoided in the header file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt; since it has precedence during C-preprocessing.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Notice that the most important CPP options for this application are specified in the [[build_Script|build script]] instead of &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv MY_CPP_FLAGS &amp;quot;-DI4DVAR_ANA_SENSITIVITY&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DAD_IMPULSE&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT_SPLIT&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This is to allow flexibility with different CPP options.&amp;lt;div class=&amp;quot;para&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;For this to work, however, any &amp;#039;&amp;#039;&amp;#039;#undef&amp;#039;&amp;#039;&amp;#039; directives MUST be avoided in the header file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt; since it has precedence during C-preprocessing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#You MUST use the [[build_Script|build script]] to compile.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#You MUST use the [[build_Script|build script]] to compile.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the ROMS input script &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;roms_wc13&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\&lt;/del&gt;.in&amp;lt;/span&amp;gt; and specify the appropriate values for the distributed-memory partition. It is set by default to:&amp;lt;div class=&quot;box&quot;&amp;gt;[[Variables#NtileI|NtileI]] == 2                               ! I-direction partition&amp;lt;br /&amp;gt;[[Variables#NtileJ|NtileJ]] == 2                               ! J-direction partition&amp;lt;/div&amp;gt;Notice that the adjoint-based algorithms can only be run in parallel using MPI. This is because of the way that the adjoint model is constructed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the ROMS input script &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;roms_wc13.in&amp;lt;/span&amp;gt; and specify the appropriate values for the distributed-memory partition. It is set by default to:&amp;lt;div class=&quot;box&quot;&amp;gt;[[Variables#NtileI|NtileI]] == 2                               ! I-direction partition&amp;lt;br /&amp;gt;[[Variables#NtileJ|NtileJ]] == 2                               ! J-direction partition&amp;lt;/div&amp;gt;Notice that the adjoint-based algorithms can only be run in parallel using MPI. This is because of the way that the adjoint model is constructed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the configuration script [[job_i4dvar_sen|job_i4dvar_sen.sh]] and provide the appropriate place for the [[substitute]] Perl script:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;set SUBSTITUTE=${ROMS_ROOT}/ROMS/Bin/substitute&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This script is distributed with ROMS and it is found in the ROMS/Bin sub-directory. Alternatively, you can define ROMS_ROOT environmental variable in your .cshrc login script. For example, I have:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv ROMS_ROOT /home/arango/ocean/toms/repository/trunk&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the configuration script [[job_i4dvar_sen|job_i4dvar_sen.sh]] and provide the appropriate place for the [[substitute]] Perl script:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;set SUBSTITUTE=${ROMS_ROOT}/ROMS/Bin/substitute&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This script is distributed with ROMS and it is found in the ROMS/Bin sub-directory. Alternatively, you can define ROMS_ROOT environmental variable in your .cshrc login script. For example, I have:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv ROMS_ROOT /home/arango/ocean/toms/repository/trunk&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Execute the configuration [[job_i4dvar_sen|job_i4dvar_sen.sh]] &amp;#039;&amp;#039;&amp;#039;before&amp;#039;&amp;#039;&amp;#039; running the model. It copies the required files and creates &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;i4dvar.in&amp;lt;/span&amp;gt; input script from template &amp;#039;&amp;#039;&amp;#039;[[s4dvar.in]]&amp;#039;&amp;#039;&amp;#039;. This has to be done &amp;#039;&amp;#039;&amp;#039;every time&amp;#039;&amp;#039;&amp;#039; that you run this application. We need a clean and fresh copy of the initial conditions and observation files since they are modified by ROMS during execution.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Execute the configuration [[job_i4dvar_sen|job_i4dvar_sen.sh]] &amp;#039;&amp;#039;&amp;#039;before&amp;#039;&amp;#039;&amp;#039; running the model. It copies the required files and creates &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;i4dvar.in&amp;lt;/span&amp;gt; input script from template &amp;#039;&amp;#039;&amp;#039;[[s4dvar.in]]&amp;#039;&amp;#039;&amp;#039;. This has to be done &amp;#039;&amp;#039;&amp;#039;every time&amp;#039;&amp;#039;&amp;#039; that you run this application. We need a clean and fresh copy of the initial conditions and observation files since they are modified by ROMS during execution.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Run ROMS with data assimilation:&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;red&quot;&amp;gt;mpirun -np 4 oceanM roms_wc13&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\&lt;/del&gt;.in &amp;gt; &amp;amp; log &amp;amp;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Run ROMS with data assimilation:&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;red&quot;&amp;gt;mpirun -np 4 oceanM roms_wc13.in &amp;gt; &amp;amp; log &amp;amp;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Results==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Results==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=5818&amp;oldid=prev</id>
		<title>Robertson: Text replacement - &quot;ocean_(.*)\.in&quot; to &quot;roms_$1\.in&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=5818&amp;oldid=prev"/>
		<updated>2020-07-21T19:00:43Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;ocean_(.*)\.in&amp;quot; to &amp;quot;roms_$1\.in&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:00, 21 July 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Running I4D-Var Observation Impact==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Running I4D-Var Observation Impact==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To run this exercise, go first to the directory &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt;. Instructions for compiling and running the model are provided below or can be found in the &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt; file. The recommended configuration for this exercise is one outer-loop and 50 inner-loops, and &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ocean_wc13&lt;/del&gt;.in&amp;lt;/span&amp;gt; is configured for this default case. The number of inner-loops is controlled by the parameter [[Variables#Ninner|Ninner]] in &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ocean_wc13&lt;/del&gt;.in&amp;lt;/span&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To run this exercise, go first to the directory &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt;. Instructions for compiling and running the model are provided below or can be found in the &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt; file. The recommended configuration for this exercise is one outer-loop and 50 inner-loops, and &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;roms_wc13\&lt;/ins&gt;.in&amp;lt;/span&amp;gt; is configured for this default case. The number of inner-loops is controlled by the parameter [[Variables#Ninner|Ninner]] in &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;roms_wc13\&lt;/ins&gt;.in&amp;lt;/span&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important CPP Options==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important CPP Options==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l26&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Various Scripts and Include Files==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Various Scripts and Include Files==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following files will be found in &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt; directory after downloading from ROMS test cases SVN repository:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following files will be found in &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt; directory after downloading from ROMS test cases SVN repository:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;box&quot;&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt;                instructions&amp;lt;br /&amp;gt;   [[build_Script|build.bash]]            bash shell script to compile application&amp;lt;br /&amp;gt;   [[build_Script|build.sh]]              csh Unix script to compile application&amp;lt;br /&amp;gt;   [[job_i4dvar_sen|job_i4dvar_sen.sh]]     job configuration script&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ocean_wc13&lt;/del&gt;.in&amp;lt;/span&amp;gt;         ROMS standard input script for WC13&amp;lt;br /&amp;gt;   [[s4dvar.in]]             4D-Var standard input script template&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;                WC13 header with CPP options&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;box&quot;&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt;                instructions&amp;lt;br /&amp;gt;   [[build_Script|build.bash]]            bash shell script to compile application&amp;lt;br /&amp;gt;   [[build_Script|build.sh]]              csh Unix script to compile application&amp;lt;br /&amp;gt;   [[job_i4dvar_sen|job_i4dvar_sen.sh]]     job configuration script&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;roms_wc13\&lt;/ins&gt;.in&amp;lt;/span&amp;gt;         ROMS standard input script for WC13&amp;lt;br /&amp;gt;   [[s4dvar.in]]             4D-Var standard input script template&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;                WC13 header with CPP options&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important parameters in standard input &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ocean_wc13&lt;/del&gt;.in&amp;lt;/span&amp;gt; script==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important parameters in standard input &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;roms_wc13\&lt;/ins&gt;.in&amp;lt;/span&amp;gt; script==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Notice that this driver uses the following adjoint sensitivity parameters (see input script for details):&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Notice that this driver uses the following adjoint sensitivity parameters (see input script for details):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;       [[Variables#DstrS|DstrS]] == 0.0d0                      ! starting day&amp;lt;br /&amp;gt;       [[Variables#DendS|DendS]] == 0.0d0                      ! ending day&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#KstrS|KstrS]] ==  1                         ! starting level&amp;lt;br /&amp;gt;       [[Variables#KendS|KendS]] == 30                         ! ending level&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isFsur)]] == T                 ! free-surface&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isUbar)]] == T                 ! 2D U-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isVbar)]] == T                 ! 2D V-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isUvel)]] == T                 ! 3D U-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isVvel)]] == T                 ! 3D V-momentum&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isTvar)]] == T T               ! tracers&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;       [[Variables#DstrS|DstrS]] == 0.0d0                      ! starting day&amp;lt;br /&amp;gt;       [[Variables#DendS|DendS]] == 0.0d0                      ! ending day&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#KstrS|KstrS]] ==  1                         ! starting level&amp;lt;br /&amp;gt;       [[Variables#KendS|KendS]] == 30                         ! ending level&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isFsur)]] == T                 ! free-surface&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isUbar)]] == T                 ! 2D U-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isVbar)]] == T                 ! 2D V-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isUvel)]] == T                 ! 3D U-momentum&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isVvel)]] == T                 ! 3D V-momentum&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;       [[Variables#Lstate|Lstate(isTvar)]] == T T               ! tracers&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot;&gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Notice that the most important CPP options for this application are specified in the [[build_Script|build script]] instead of &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv MY_CPP_FLAGS &amp;quot;-DI4DVAR_ANA_SENSITIVITY&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DAD_IMPULSE&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT_SPLIT&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This is to allow flexibility with different CPP options.&amp;lt;div class=&amp;quot;para&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;For this to work, however, any &amp;#039;&amp;#039;&amp;#039;#undef&amp;#039;&amp;#039;&amp;#039; directives MUST be avoided in the header file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt; since it has precedence during C-preprocessing.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Notice that the most important CPP options for this application are specified in the [[build_Script|build script]] instead of &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv MY_CPP_FLAGS &amp;quot;-DI4DVAR_ANA_SENSITIVITY&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DAD_IMPULSE&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT_SPLIT&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This is to allow flexibility with different CPP options.&amp;lt;div class=&amp;quot;para&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;For this to work, however, any &amp;#039;&amp;#039;&amp;#039;#undef&amp;#039;&amp;#039;&amp;#039; directives MUST be avoided in the header file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt; since it has precedence during C-preprocessing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#You MUST use the [[build_Script|build script]] to compile.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#You MUST use the [[build_Script|build script]] to compile.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the ROMS input script &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ocean_wc13&lt;/del&gt;.in&amp;lt;/span&amp;gt; and specify the appropriate values for the distributed-memory partition. It is set by default to:&amp;lt;div class=&quot;box&quot;&amp;gt;[[Variables#NtileI|NtileI]] == 2                               ! I-direction partition&amp;lt;br /&amp;gt;[[Variables#NtileJ|NtileJ]] == 2                               ! J-direction partition&amp;lt;/div&amp;gt;Notice that the adjoint-based algorithms can only be run in parallel using MPI. This is because of the way that the adjoint model is constructed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the ROMS input script &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;roms_wc13\&lt;/ins&gt;.in&amp;lt;/span&amp;gt; and specify the appropriate values for the distributed-memory partition. It is set by default to:&amp;lt;div class=&quot;box&quot;&amp;gt;[[Variables#NtileI|NtileI]] == 2                               ! I-direction partition&amp;lt;br /&amp;gt;[[Variables#NtileJ|NtileJ]] == 2                               ! J-direction partition&amp;lt;/div&amp;gt;Notice that the adjoint-based algorithms can only be run in parallel using MPI. This is because of the way that the adjoint model is constructed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the configuration script [[job_i4dvar_sen|job_i4dvar_sen.sh]] and provide the appropriate place for the [[substitute]] Perl script:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;set SUBSTITUTE=${ROMS_ROOT}/ROMS/Bin/substitute&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This script is distributed with ROMS and it is found in the ROMS/Bin sub-directory. Alternatively, you can define ROMS_ROOT environmental variable in your .cshrc login script. For example, I have:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv ROMS_ROOT /home/arango/ocean/toms/repository/trunk&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the configuration script [[job_i4dvar_sen|job_i4dvar_sen.sh]] and provide the appropriate place for the [[substitute]] Perl script:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;set SUBSTITUTE=${ROMS_ROOT}/ROMS/Bin/substitute&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This script is distributed with ROMS and it is found in the ROMS/Bin sub-directory. Alternatively, you can define ROMS_ROOT environmental variable in your .cshrc login script. For example, I have:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv ROMS_ROOT /home/arango/ocean/toms/repository/trunk&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Execute the configuration [[job_i4dvar_sen|job_i4dvar_sen.sh]] &amp;#039;&amp;#039;&amp;#039;before&amp;#039;&amp;#039;&amp;#039; running the model. It copies the required files and creates &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;i4dvar.in&amp;lt;/span&amp;gt; input script from template &amp;#039;&amp;#039;&amp;#039;[[s4dvar.in]]&amp;#039;&amp;#039;&amp;#039;. This has to be done &amp;#039;&amp;#039;&amp;#039;every time&amp;#039;&amp;#039;&amp;#039; that you run this application. We need a clean and fresh copy of the initial conditions and observation files since they are modified by ROMS during execution.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Execute the configuration [[job_i4dvar_sen|job_i4dvar_sen.sh]] &amp;#039;&amp;#039;&amp;#039;before&amp;#039;&amp;#039;&amp;#039; running the model. It copies the required files and creates &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;i4dvar.in&amp;lt;/span&amp;gt; input script from template &amp;#039;&amp;#039;&amp;#039;[[s4dvar.in]]&amp;#039;&amp;#039;&amp;#039;. This has to be done &amp;#039;&amp;#039;&amp;#039;every time&amp;#039;&amp;#039;&amp;#039; that you run this application. We need a clean and fresh copy of the initial conditions and observation files since they are modified by ROMS during execution.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Run ROMS with data assimilation:&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;red&quot;&amp;gt;mpirun -np 4 oceanM &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ocean_wc13&lt;/del&gt;.in &amp;gt; &amp;amp; log &amp;amp;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Run ROMS with data assimilation:&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;red&quot;&amp;gt;mpirun -np 4 oceanM &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;roms_wc13\&lt;/ins&gt;.in &amp;gt; &amp;amp; log &amp;amp;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Results==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Results==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=5777&amp;oldid=prev</id>
		<title>Robertson: Text replacement - &quot;IS4DVAR_SENSITIVITY&quot; to &quot;I4DVAR_ANA_SENSITIVITY&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=5777&amp;oldid=prev"/>
		<updated>2020-07-21T17:41:09Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;IS4DVAR_SENSITIVITY&amp;quot; to &amp;quot;I4DVAR_ANA_SENSITIVITY&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:41, 21 July 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important CPP Options==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important CPP Options==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following C-preprocessing options are activated in the [[build_Script|build script]]:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following C-preprocessing options are activated in the [[build_Script|build script]]:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;box&quot;&amp;gt;   [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;IS4DVAR_SENSITIVITY&lt;/del&gt;]]     I4D-Var observation sensitivity driver&amp;lt;br /&amp;gt;   [[AD_IMPULSE]]              Force ADM with intermittent impulses&amp;lt;br /&amp;gt;   [[OBS_IMPACT]]              Compute observation impact&amp;lt;br /&amp;gt;   [[OBS_IMPACT_SPLIT]]        separate impact due to IC, forcing, and OBC&amp;lt;br /&amp;gt;   [[WC13]]                    Application CPP option&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;box&quot;&amp;gt;   [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;I4DVAR_ANA_SENSITIVITY&lt;/ins&gt;]]     I4D-Var observation sensitivity driver&amp;lt;br /&amp;gt;   [[AD_IMPULSE]]              Force ADM with intermittent impulses&amp;lt;br /&amp;gt;   [[OBS_IMPACT]]              Compute observation impact&amp;lt;br /&amp;gt;   [[OBS_IMPACT_SPLIT]]        separate impact due to IC, forcing, and OBC&amp;lt;br /&amp;gt;   [[WC13]]                    Application CPP option&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Input NetCDF Files==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Input NetCDF Files==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*MPI flags, &amp;lt;span class=&amp;quot;salmon&amp;quot;&amp;gt;USE_MPI&amp;lt;/span&amp;gt; and &amp;lt;span class=&amp;quot;salmon&amp;quot;&amp;gt;USE_MPIF90&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*MPI flags, &amp;lt;span class=&amp;quot;salmon&amp;quot;&amp;gt;USE_MPI&amp;lt;/span&amp;gt; and &amp;lt;span class=&amp;quot;salmon&amp;quot;&amp;gt;USE_MPIF90&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*Path of MPI, NetCDF, and ARPACK libraries according to the compiler. Notice that you need to provide the correct places of these libraries for your computer. If you want to ignore this section, comment out the assignment for the variable &amp;lt;span class=&amp;quot;salmon&amp;quot;&amp;gt;USE_MY_LIBS&amp;lt;/span&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*Path of MPI, NetCDF, and ARPACK libraries according to the compiler. Notice that you need to provide the correct places of these libraries for your computer. If you want to ignore this section, comment out the assignment for the variable &amp;lt;span class=&amp;quot;salmon&amp;quot;&amp;gt;USE_MY_LIBS&amp;lt;/span&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Notice that the most important CPP options for this application are specified in the [[build_Script|build script]] instead of &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;:&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;setenv MY_CPP_FLAGS &quot;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;DIS4DVAR_SENSITIVITY&lt;/del&gt;&quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &quot;${MY_CPP_FLAGS} -DAD_IMPULSE&quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &quot;${MY_CPP_FLAGS} -DOBS_IMPACT&quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &quot;${MY_CPP_FLAGS} -DOBS_IMPACT_SPLIT&quot;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This is to allow flexibility with different CPP options.&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;For this to work, however, any &#039;&#039;&#039;#undef&#039;&#039;&#039; directives MUST be avoided in the header file &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt; since it has precedence during C-preprocessing.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Notice that the most important CPP options for this application are specified in the [[build_Script|build script]] instead of &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;:&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;setenv MY_CPP_FLAGS &quot;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;DI4DVAR_ANA_SENSITIVITY&lt;/ins&gt;&quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &quot;${MY_CPP_FLAGS} -DAD_IMPULSE&quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &quot;${MY_CPP_FLAGS} -DOBS_IMPACT&quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &quot;${MY_CPP_FLAGS} -DOBS_IMPACT_SPLIT&quot;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This is to allow flexibility with different CPP options.&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;For this to work, however, any &#039;&#039;&#039;#undef&#039;&#039;&#039; directives MUST be avoided in the header file &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt; since it has precedence during C-preprocessing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#You MUST use the [[build_Script|build script]] to compile.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#You MUST use the [[build_Script|build script]] to compile.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the ROMS input script &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt; and specify the appropriate values for the distributed-memory partition. It is set by default to:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;[[Variables#NtileI|NtileI]] == 2                               ! I-direction partition&amp;lt;br /&amp;gt;[[Variables#NtileJ|NtileJ]] == 2                               ! J-direction partition&amp;lt;/div&amp;gt;Notice that the adjoint-based algorithms can only be run in parallel using MPI. This is because of the way that the adjoint model is constructed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize the ROMS input script &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt; and specify the appropriate values for the distributed-memory partition. It is set by default to:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;[[Variables#NtileI|NtileI]] == 2                               ! I-direction partition&amp;lt;br /&amp;gt;[[Variables#NtileJ|NtileJ]] == 2                               ! J-direction partition&amp;lt;/div&amp;gt;Notice that the adjoint-based algorithms can only be run in parallel using MPI. This is because of the way that the adjoint model is constructed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4262&amp;oldid=prev</id>
		<title>Arango at 06:10, 3 July 2010</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4262&amp;oldid=prev"/>
		<updated>2010-07-03T06:10:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:10, 3 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;I4D-Var Observation Impact&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;I4D-Var Observation Impact&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- Edit Template:4DVar_Tut_TOC to modify this Table of Contents--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- Edit Template:4DVar_Tut_TOC to modify this Table of Contents--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arango</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4252&amp;oldid=prev</id>
		<title>Arango at 06:04, 3 July 2010</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4252&amp;oldid=prev"/>
		<updated>2010-07-03T06:04:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:04, 3 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;title&quot;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Incremental, 4&lt;/del&gt;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;DVar (I4DVAR) Data Assimilation &lt;/del&gt;Observation Impact&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;title&quot;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;I4D&lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Var &lt;/ins&gt;Observation Impact&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{warning}}This page is under construction{{warning}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- Edit Template:4DVar_Tut_TOC to modify this Table of Contents--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- Edit Template:4DVar_Tut_TOC to modify this Table of Contents--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l28&quot;&gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Various Scripts and Include Files==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Various Scripts and Include Files==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following files will be found in &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt; directory after downloading from ROMS test cases SVN repository:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following files will be found in &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt; directory after downloading from ROMS test cases SVN repository:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;box&quot;&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt;                &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Instructions&lt;/del&gt;&amp;lt;br /&amp;gt;   [[build_Script|build.bash]]            bash shell script to compile application&amp;lt;br /&amp;gt;   [[build_Script|build.sh]]              csh Unix script to compile application&amp;lt;br /&amp;gt;   [[job_i4dvar_sen|job_i4dvar_sen.sh]]     job configuration script&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt;         ROMS standard input script for WC13&amp;lt;br /&amp;gt;   [[s4dvar.in]]             4D-Var standard input script template&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;                WC13 header with CPP options&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;box&quot;&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt;                &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;instructions&lt;/ins&gt;&amp;lt;br /&amp;gt;   [[build_Script|build.bash]]            bash shell script to compile application&amp;lt;br /&amp;gt;   [[build_Script|build.sh]]              csh Unix script to compile application&amp;lt;br /&amp;gt;   [[job_i4dvar_sen|job_i4dvar_sen.sh]]     job configuration script&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt;         ROMS standard input script for WC13&amp;lt;br /&amp;gt;   [[s4dvar.in]]             4D-Var standard input script template&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;                WC13 header with CPP options&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important parameters in standard input &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt; script==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important parameters in standard input &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt; script==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l62&quot;&gt;Line 62:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:i4dvar_impact.png|500px|thumb|center|&amp;lt;center&amp;gt;I4D-Var Observation Impact&amp;lt;/center&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:i4dvar_impact.png|500px|thumb|center|&amp;lt;center&amp;gt;I4D-Var Observation Impact&amp;lt;/center&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==References==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The technical description of the algorithms and application used in this tutorial are described in Moore &#039;&#039;et al.&#039;&#039; ([[Bibliography#MooreAM_2010a|2010a]], [[Bibliography#MooreAM_2010b|b]], [[Bibliography#MooreAM_2010c|c]]).&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arango</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4239&amp;oldid=prev</id>
		<title>Arango at 03:50, 3 July 2010</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4239&amp;oldid=prev"/>
		<updated>2010-07-03T03:50:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:50, 3 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To run this application you need to take the following steps:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To run this application you need to take the following steps:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#We need to run the model application for a period that is long enough to compute meaningful circulation statistics, like mean and standard deviations for all prognostic state variables ([[Variables#zeta|zeta]], [[Variables#u|u]], [[Variables#v|v]], [[Variables#T|T]], and [[Variables#S|S]]). The standard deviations are written to NetCDF files and are read by the 4D-Var algorithm to convert modeled error correlations to error covariances. The error covariance matrix, &#039;&#039;&#039;D&#039;&#039;&#039;, is very large and not well known. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It &lt;/del&gt;is modeled as the solution of a diffusion equation as in [[Bibliography#WeaverAT_2001a|Weaver and Courtier (2001)]].&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;In this application, we need standard deviations for initial conditions, surface forcing ([[ADJUST_WSTRESS]] and [[ADJUST_STFLUX]]), and open boundary conditions ([[ADJUST_BOUNDARY]]). The standard deviations for the initial and open boundary conditions are in terms of the unbalanced error covariance (&#039;&#039;&#039;K &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;D&#039;&#039;&#039;&lt;/del&gt;&amp;lt;sub&amp;gt;u&amp;lt;/sub&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/del&gt;K&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/del&gt;&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;) since the balanced operator is activated ([[BALANCE_OPERATOR]] and [[ZETA_ELLIPTIC]]).&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The balance operator imposes a multivariate constraint on the error covariance such that the unobserved variable information is extracted from observed data by establishing balance relationships (i.e., T-S empirical formulas, hydrostactic balance, and geostrophic balance) with other state variables ([[Bibliography#WeaverAT_2005a|Weaver &#039;&#039;et al.&#039;&#039;, 2005]]).&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;These standard deviations have already been created for you:&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_std_i.nc&amp;lt;/span&amp;gt;     initial conditions&amp;lt;br /&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_std_b.nc&amp;lt;/span&amp;gt;     open boundary conditions&amp;lt;br /&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_std_f.nc&amp;lt;/span&amp;gt;     surface forcing (wind stress and net heat flux)&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#We need to run the model application for a period that is long enough to compute meaningful circulation statistics, like mean and standard deviations for all prognostic state variables ([[Variables#zeta|zeta]], [[Variables#u|u]], [[Variables#v|v]], [[Variables#T|T]], and [[Variables#S|S]]). The standard deviations are written to NetCDF files and are read by the 4D-Var algorithm to convert modeled error correlations to error covariances. The error covariance matrix, &#039;&#039;&#039;D&#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=diag(&#039;&#039;&#039;B&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;B&amp;lt;sub&amp;gt;b&amp;lt;/sub&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;B&amp;lt;sub&amp;gt;f&amp;lt;/sub&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;Q&#039;&#039;&#039;)&lt;/ins&gt;, is very large and not well known. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;B&#039;&#039;&#039; &lt;/ins&gt;is modeled as the solution of a diffusion equation as in [[Bibliography#WeaverAT_2001a|Weaver and Courtier (2001)]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Each covariance matrix is factorized as &#039;&#039;&#039;B = K &amp;amp;Sigma; C &amp;amp;Sigma;&amp;lt;sup&amp;gt;T &amp;lt;/sup&amp;gt;K&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;&#039;&#039;&#039;, where &#039;&#039;&#039;C&#039;&#039;&#039; is a univariate correlation matrix, &#039;&#039;&#039;&amp;amp;Sigma;&#039;&#039;&#039; is a diagonal matrix of error standard deviations, and &#039;&#039;&#039;K&#039;&#039;&#039; is a multivariate balance operator&lt;/ins&gt;.&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;In this application, we need standard deviations for initial conditions, surface forcing ([[ADJUST_WSTRESS]] and [[ADJUST_STFLUX]]), and open boundary conditions ([[ADJUST_BOUNDARY]]). The standard deviations for the initial and open boundary conditions are in terms of the unbalanced error covariance (&#039;&#039;&#039;K &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;B&lt;/ins&gt;&amp;lt;sub&amp;gt;u&amp;lt;/sub&amp;gt; K&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;) since the balanced operator is activated ([[BALANCE_OPERATOR]] and [[ZETA_ELLIPTIC]]).&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The balance operator imposes a multivariate constraint on the error covariance such that the unobserved variable information is extracted from observed data by establishing balance relationships (i.e., T-S empirical formulas, hydrostactic balance, and geostrophic balance) with other state variables ([[Bibliography#WeaverAT_2005a|Weaver &#039;&#039;et al.&#039;&#039;, 2005]]).&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;These standard deviations have already been created for you:&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_std_i.nc&amp;lt;/span&amp;gt;     initial conditions&amp;lt;br /&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_std_b.nc&amp;lt;/span&amp;gt;     open boundary conditions&amp;lt;br /&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_std_f.nc&amp;lt;/span&amp;gt;     surface forcing (wind stress and net heat flux)&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Since we are modeling the error covariance matrix, &#039;&#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;D&lt;/del&gt;&#039;&#039;&#039;, we need to compute the normalization coefficients to ensure that the diagonal elements of the associated correlation matrix &#039;&#039;&#039;C&#039;&#039;&#039; are equal to unity. There are two methods to compute normalization coefficients: exact and randomization (an approximation).&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The exact method is very expensive on large grids. The normalization coefficients are computed by perturbing each model grid cell with a delta function scaled by the area (2D state variables) or volume (3D state variables), and then by convolving with the squared-root adjoint and tangent linear diffusion operators.&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The approximate method is cheaper: the normalization  coefficients are computed using the randomization approach of [[Bibliography#FisherM_1995a|Fisher and Courtier (1995)]]. The coefficients are initialized with random numbers having a uniform distribution (drawn from a normal distribution with zero mean and unit variance). Then, they are scaled by the inverse squared-root of the cell area (2D state variable) or volume (3D state variable) and convolved with the squared-root adjoint and tangent diffusion operators over a specified number of iterations, Nrandom.&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;Check following parameters in the 4D-Var input script [[s4dvar.in]] (see input script for details):&amp;lt;div class=&quot;box&quot;&amp;gt;[[Variables#Nmethod|Nmethod]]  == 0             ! normalization method&amp;lt;br /&amp;gt;[[Variables#Nrandom|Nrandom]]  == 5000          ! randomization iterations&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;[[Variables#LdefNRM|LdefNRM]] == F F F F        ! Create a new normalization files&amp;lt;br /&amp;gt;[[Variables#LwrtNRM|LwrtNRM]] == F F F F        ! Compute and write normalization&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isFsur)]] =  T       ! 2D variable at RHO-points&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isUbar)]] =  T       ! 2D variable at U-points&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isVbar)]] =  T       ! 2D variable at V-points&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isUvel)]] =  T       ! 3D variable at U-points&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isVvel)]] =  T       ! 3D variable at V-points&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isTvar)]] =  T T     ! NT tracers&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isFsur)]] =  T       ! 2D variable at RHO-points&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isUbar)]] =  T       ! 2D variable at U-points&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isVbar)]] =  T       ! 2D variable at V-points&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isUvel)]] =  T       ! 3D variable at U-points&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isVvel)]] =  T       ! 3D variable at V-points&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isTvar)]] =  T T     ! NT tracers&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;[[Variables#CnormF|CnormF(isUstr)]] =  T       ! surface U-momentum stress&amp;lt;br /&amp;gt;[[Variables#CnormF|CnormF(isVstr)]] =  T       ! surface V-momentum stress&amp;lt;br /&amp;gt;[[Variables#CnormF|CnormF(isTsur)]] =  T T     ! NT surface tracers flux&amp;lt;/div&amp;gt;These normalization coefficients have already been computed for you (&#039;&#039;&#039;../Normalization&#039;&#039;&#039;) using the exact method since this application has a small grid (54x53x30):&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_nrm_i.nc&amp;lt;/span&amp;gt;     initial conditions&amp;lt;br /&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_nrm_b.nc&amp;lt;/span&amp;gt;     open boundary conditions&amp;lt;br /&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_nrm_f.nc&amp;lt;/span&amp;gt;     surface forcing (wind stress and&amp;lt;br /&amp;gt;                                           net heat flux)&amp;lt;/div&amp;gt;Notice that the switches [[Variables#LdefNRM|LdefNRM]] and [[Variables#LwrtNRM|LwrtNRM]] are all &#039;&#039;&#039;false&#039;&#039;&#039; (F) since we already computed these coefficients.&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The normalization coefficients need to be computed only once for a particular application provided that the grid, land/sea masking (if any), and decorrelation scales ([[Variables#HdecayI|HdecayI]], [[Variables#VdecayI|VdecayI]], [[Variables#HdecayB|HdecayB]], [[Variables#VdecayV|VdecayV]], and [[Variables#HdecayF|HdecayF]]) remain the same. Notice that large spatial changes in the normalization coefficient structure are observed near the open boundaries and land/sea masking regions.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Since we are modeling the error covariance matrix, &#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;B&lt;/ins&gt;&#039;&#039;&#039;, we need to compute the normalization coefficients to ensure that the diagonal elements of the associated correlation matrix &#039;&#039;&#039;C&#039;&#039;&#039; are equal to unity. There are two methods to compute normalization coefficients: exact and randomization (an approximation).&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The exact method is very expensive on large grids. The normalization coefficients are computed by perturbing each model grid cell with a delta function scaled by the area (2D state variables) or volume (3D state variables), and then by convolving with the squared-root adjoint and tangent linear diffusion operators.&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The approximate method is cheaper: the normalization  coefficients are computed using the randomization approach of [[Bibliography#FisherM_1995a|Fisher and Courtier (1995)]]. The coefficients are initialized with random numbers having a uniform distribution (drawn from a normal distribution with zero mean and unit variance). Then, they are scaled by the inverse squared-root of the cell area (2D state variable) or volume (3D state variable) and convolved with the squared-root adjoint and tangent diffusion operators over a specified number of iterations, Nrandom.&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;Check following parameters in the 4D-Var input script [[s4dvar.in]] (see input script for details):&amp;lt;div class=&quot;box&quot;&amp;gt;[[Variables#Nmethod|Nmethod]]  == 0             ! normalization method&amp;lt;br /&amp;gt;[[Variables#Nrandom|Nrandom]]  == 5000          ! randomization iterations&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;[[Variables#LdefNRM|LdefNRM]] == F F F F        ! Create a new normalization files&amp;lt;br /&amp;gt;[[Variables#LwrtNRM|LwrtNRM]] == F F F F        ! Compute and write normalization&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isFsur)]] =  T       ! 2D variable at RHO-points&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isUbar)]] =  T       ! 2D variable at U-points&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isVbar)]] =  T       ! 2D variable at V-points&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isUvel)]] =  T       ! 3D variable at U-points&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isVvel)]] =  T       ! 3D variable at V-points&amp;lt;br /&amp;gt;[[Variables#CnormI|CnormI(isTvar)]] =  T T     ! NT tracers&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isFsur)]] =  T       ! 2D variable at RHO-points&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isUbar)]] =  T       ! 2D variable at U-points&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isVbar)]] =  T       ! 2D variable at V-points&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isUvel)]] =  T       ! 3D variable at U-points&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isVvel)]] =  T       ! 3D variable at V-points&amp;lt;br /&amp;gt;[[Variables#CnormB|CnormB(isTvar)]] =  T T     ! NT tracers&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;[[Variables#CnormF|CnormF(isUstr)]] =  T       ! surface U-momentum stress&amp;lt;br /&amp;gt;[[Variables#CnormF|CnormF(isVstr)]] =  T       ! surface V-momentum stress&amp;lt;br /&amp;gt;[[Variables#CnormF|CnormF(isTsur)]] =  T T     ! NT surface tracers flux&amp;lt;/div&amp;gt;These normalization coefficients have already been computed for you (&#039;&#039;&#039;../Normalization&#039;&#039;&#039;) using the exact method since this application has a small grid (54x53x30):&amp;lt;div class=&quot;box&quot;&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_nrm_i.nc&amp;lt;/span&amp;gt;     initial conditions&amp;lt;br /&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_nrm_b.nc&amp;lt;/span&amp;gt;     open boundary conditions&amp;lt;br /&amp;gt;&amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;../Data/wc13_nrm_f.nc&amp;lt;/span&amp;gt;     surface forcing (wind stress and&amp;lt;br /&amp;gt;                                           net heat flux)&amp;lt;/div&amp;gt;Notice that the switches [[Variables#LdefNRM|LdefNRM]] and [[Variables#LwrtNRM|LwrtNRM]] are all &#039;&#039;&#039;false&#039;&#039;&#039; (F) since we already computed these coefficients.&amp;lt;div class=&quot;para&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The normalization coefficients need to be computed only once for a particular application provided that the grid, land/sea masking (if any), and decorrelation scales ([[Variables#HdecayI|HdecayI]], [[Variables#VdecayI|VdecayI]], [[Variables#HdecayB|HdecayB]], [[Variables#VdecayV|VdecayV]], and [[Variables#HdecayF|HdecayF]]) remain the same. Notice that large spatial changes in the normalization coefficient structure are observed near the open boundaries and land/sea masking regions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Before you run this application, you need to run the standard [[I4DVAR_Tutorial|I4D-VAR]] (&amp;#039;&amp;#039;&amp;#039;../I4DVAR&amp;#039;&amp;#039;&amp;#039; directory) since we need the Lanczos vectors. Notice that in [[job_i4dvar_sen|job_i4dvar_sen.sh]] we have the following operation:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;cp -p ${Dir}/I4DVAR/wc13_adj_001.nc wc13_lcz.nc&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;In 4D-Var (observartion space minimization), the Lanczos vectors are stored in the output 4D-Var NetCDF file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13_adj_001.nc&amp;lt;/span&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Before you run this application, you need to run the standard [[I4DVAR_Tutorial|I4D-VAR]] (&amp;#039;&amp;#039;&amp;#039;../I4DVAR&amp;#039;&amp;#039;&amp;#039; directory) since we need the Lanczos vectors. Notice that in [[job_i4dvar_sen|job_i4dvar_sen.sh]] we have the following operation:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;cp -p ${Dir}/I4DVAR/wc13_adj_001.nc wc13_lcz.nc&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;In 4D-Var (observartion space minimization), the Lanczos vectors are stored in the output 4D-Var NetCDF file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13_adj_001.nc&amp;lt;/span&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#In addition, to run this application you need an adjoint sensitivity functional. This is computed by the following Matlab script:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;../Data/adsen_37N_transport.m&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;which creates the NetCDF file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13_ads.nc&amp;lt;/span&amp;gt;. This file has already been created for you.&amp;lt;div class=&amp;quot;para&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The adjoint sensitivity functional is defined as the time-averaged transport crossing 37N in the upper 500m.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#In addition, to run this application you need an adjoint sensitivity functional. This is computed by the following Matlab script:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;../Data/adsen_37N_transport.m&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;which creates the NetCDF file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13_ads.nc&amp;lt;/span&amp;gt;. This file has already been created for you.&amp;lt;div class=&amp;quot;para&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The adjoint sensitivity functional is defined as the time-averaged transport crossing 37N in the upper 500m.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arango</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4206&amp;oldid=prev</id>
		<title>Robertson at 14:50, 2 July 2010</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4206&amp;oldid=prev"/>
		<updated>2010-07-02T14:50:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:50, 2 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot;&gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;WC13/plotting/plot_i4dvar_impact.m&amp;lt;/span&amp;gt; Matlab script will allow you to plot the I4D-Var observation impacts:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;WC13/plotting/plot_i4dvar_impact.m&amp;lt;/span&amp;gt; Matlab script will allow you to plot the I4D-Var observation impacts:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:i4dvar_impact.png|500px|thumb|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;left&lt;/del&gt;|&amp;lt;center&amp;gt;I4D-Var Observation Impact&amp;lt;/center&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:i4dvar_impact.png|500px|thumb|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;center&lt;/ins&gt;|&amp;lt;center&amp;gt;I4D-Var Observation Impact&amp;lt;/center&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4205&amp;oldid=prev</id>
		<title>Robertson at 14:49, 2 July 2010</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4205&amp;oldid=prev"/>
		<updated>2010-07-02T14:49:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:49, 2 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l28&quot;&gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Various Scripts and Include Files==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Various Scripts and Include Files==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following files will be found in &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt; directory after downloading from ROMS test cases SVN repository:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following files will be found in &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt; directory after downloading from ROMS test cases SVN repository:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;box&quot;&amp;gt;   [[build_Script|build.bash]]            bash shell script to compile application&amp;lt;br /&amp;gt;   [[build_Script|build.sh]]              csh Unix script to compile application&amp;lt;br /&amp;gt;   [[job_i4dvar_sen|job_i4dvar_sen.sh]]     job configuration script&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt;         ROMS standard input script for WC13&amp;lt;br /&amp;gt;   [[s4dvar.in]]             4D-Var standard input script template&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;                WC13 header with CPP options&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;box&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt;                Instructions&amp;lt;br /&lt;/ins&gt;&amp;gt;   [[build_Script|build.bash]]            bash shell script to compile application&amp;lt;br /&amp;gt;   [[build_Script|build.sh]]              csh Unix script to compile application&amp;lt;br /&amp;gt;   [[job_i4dvar_sen|job_i4dvar_sen.sh]]     job configuration script&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt;         ROMS standard input script for WC13&amp;lt;br /&amp;gt;   [[s4dvar.in]]             4D-Var standard input script template&amp;lt;br /&amp;gt;   &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;                WC13 header with CPP options&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important parameters in standard input &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt; script==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important parameters in standard input &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt; script==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4198&amp;oldid=prev</id>
		<title>Robertson at 13:55, 2 July 2010</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=I4DVAR_Observation_Impact_Tutorial&amp;diff=4198&amp;oldid=prev"/>
		<updated>2010-07-02T13:55:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:55, 2 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Introduction==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Introduction==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The various files in the &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;I4DVAR_impact&amp;lt;/span&amp;gt; folder are needed to run &lt;/del&gt;the primal form of the incremental, strong constraint, 4-Dimensional Variational (&#039;&#039;&#039;4D-Var&#039;&#039;&#039;) data assimilation observation impact &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in &lt;/del&gt;the California Current System, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1/3&amp;amp;deg; &lt;/del&gt;resolution, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;application (&#039;&#039;&#039;&lt;/del&gt;WC13&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;)&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;During this exercise you will apply &lt;/ins&gt;the primal form of the incremental, strong constraint, 4-Dimensional Variational (&#039;&#039;&#039;4D-Var&#039;&#039;&#039;) data assimilation observation impact &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to ROMS configured for the U.S. west coast and &lt;/ins&gt;the California Current System &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(CCS). This configuration&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;referred to as [[WC13]], has 30 km horizontal resolution, and 30 levels in the vertical. While 30 km &lt;/ins&gt;resolution &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is inadequate for capturing much of the energetic mesoscale circulation associated with the CCS&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;WC13&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] captures the broad scale features of the circulation quite well, and serves as a very useful and efficient illustrative example of I4D-Var observation impacts&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#lst:4DVar_Tutorial_Introduction|setup}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#lst:4DVar_Tutorial_Introduction|setup}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Running I4D-Var Observation Impact==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;To run this exercise, go first to the directory &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt;. Instructions for compiling and running the model are provided below or can be found in the &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;Readme&amp;lt;/span&amp;gt; file. The recommended configuration for this exercise is one outer-loop and 50 inner-loops, and &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt; is configured for this default case. The number of inner-loops is controlled by the parameter [[Variables#Ninner|Ninner]] in &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important CPP Options==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Important CPP Options==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The following C-preprocessing options are activated in the [[build_Script|build script]]:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;   [[IS4DVAR_SENSITIVITY]]     I4D-Var observation sensitivity driver&amp;lt;br /&amp;gt;   [[AD_IMPULSE]]              Force ADM with intermittent impulses&amp;lt;br /&amp;gt;   [[OBS_IMPACT]]              Compute observation impact&amp;lt;br /&amp;gt;   [[OBS_IMPACT_SPLIT]]        separate impact due to IC, forcing, and OBC&amp;lt;br /&amp;gt;   [[WC13]]                    Application CPP option&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;   [[IS4DVAR_SENSITIVITY]]     I4D-Var observation sensitivity driver&amp;lt;br /&amp;gt;   [[AD_IMPULSE]]              Force ADM with intermittent impulses&amp;lt;br /&amp;gt;   [[OBS_IMPACT]]              Compute observation impact&amp;lt;br /&amp;gt;   [[OBS_IMPACT_SPLIT]]        separate impact due to IC, forcing, and OBC&amp;lt;br /&amp;gt;   [[WC13]]                    Application CPP option&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Input NetCDF Files==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Input NetCDF Files==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[WC13]] requires the following input NetCDF files:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;                       &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Grid File:&amp;lt;/span&amp;gt;  ../Data/wc13_grd.nc&amp;lt;br /&amp;gt;          &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Nonlinear Initial File:&amp;lt;/span&amp;gt;  wc13_ini.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 01:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_lwrad_down.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 02:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_Pair.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 03:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_Qair.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 04:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_rain.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 05:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_swrad.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 06:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_Tair.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 07:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_wind.nc&amp;lt;br /&amp;gt;                   &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Boundary File:&amp;lt;/span&amp;gt;  ../Data/wc13_ecco_bry.nc&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;        &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Adjoint Sensitivity File:&amp;lt;/span&amp;gt;  wc13_ads.nc&amp;lt;br /&amp;gt;     &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Initial Conditions STD File:&amp;lt;/span&amp;gt;  ../Data/wc13_std_i.nc&amp;lt;br /&amp;gt;    &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Boundary Conditions STD File:&amp;lt;/span&amp;gt;  ../Data/wc13_std_b.nc&amp;lt;br /&amp;gt;        &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Surface Forcing STD File:&amp;lt;/span&amp;gt;  ../Data/wc13_std_f.nc&amp;lt;br /&amp;gt;    &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Initial Conditions Norm File:&amp;lt;/span&amp;gt;  ../Data/wc13_nrm_i.nc&amp;lt;br /&amp;gt;   &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Boundary Conditions Norm File:&amp;lt;/span&amp;gt;  ../Data/wc13_nrm_b.nc&amp;lt;br /&amp;gt;       &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Surface Forcing Norm File:&amp;lt;/span&amp;gt;  ../Data/wc13_nrm_f.nc&amp;lt;br/&amp;gt;               &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Observations File:&amp;lt;/span&amp;gt;  wc13_obs.nc&amp;lt;br /&amp;gt;            &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Lanczos Vectors File:&amp;lt;/span&amp;gt;  wc13_lcz.nc&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;                       &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Grid File:&amp;lt;/span&amp;gt;  ../Data/wc13_grd.nc&amp;lt;br /&amp;gt;          &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Nonlinear Initial File:&amp;lt;/span&amp;gt;  wc13_ini.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 01:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_lwrad_down.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 02:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_Pair.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 03:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_Qair.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 04:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_rain.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 05:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_swrad.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 06:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_Tair.nc&amp;lt;br /&amp;gt;                 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Forcing File 07:&amp;lt;/span&amp;gt;  ../Data/coamps_wc13_wind.nc&amp;lt;br /&amp;gt;                   &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Boundary File:&amp;lt;/span&amp;gt;  ../Data/wc13_ecco_bry.nc&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;        &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Adjoint Sensitivity File:&amp;lt;/span&amp;gt;  wc13_ads.nc&amp;lt;br /&amp;gt;     &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Initial Conditions STD File:&amp;lt;/span&amp;gt;  ../Data/wc13_std_i.nc&amp;lt;br /&amp;gt;    &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Boundary Conditions STD File:&amp;lt;/span&amp;gt;  ../Data/wc13_std_b.nc&amp;lt;br /&amp;gt;        &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Surface Forcing STD File:&amp;lt;/span&amp;gt;  ../Data/wc13_std_f.nc&amp;lt;br /&amp;gt;    &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Initial Conditions Norm File:&amp;lt;/span&amp;gt;  ../Data/wc13_nrm_i.nc&amp;lt;br /&amp;gt;   &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Boundary Conditions Norm File:&amp;lt;/span&amp;gt;  ../Data/wc13_nrm_b.nc&amp;lt;br /&amp;gt;       &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Surface Forcing Norm File:&amp;lt;/span&amp;gt;  ../Data/wc13_nrm_f.nc&amp;lt;br/&amp;gt;               &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Observations File:&amp;lt;/span&amp;gt;  wc13_obs.nc&amp;lt;br /&amp;gt;            &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;Lanczos Vectors File:&amp;lt;/span&amp;gt;  wc13_lcz.nc&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Various Scripts and Include Files==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Various Scripts and Include Files==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The following files will be found in &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;WC13/I4DVAR_impact&amp;lt;/span&amp;gt; directory after downloading from ROMS test cases SVN repository:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;   [[build_Script|build.bash]]            bash shell script to compile application&amp;lt;br /&amp;gt;   [[build_Script|build.sh]]              csh Unix script to compile application&amp;lt;br /&amp;gt;   [[job_i4dvar_sen|job_i4dvar_sen.sh]]     job configuration script&amp;lt;br /&amp;gt;   &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt;         ROMS standard input script for WC13&amp;lt;br /&amp;gt;   [[s4dvar.in]]             4D-Var standard input script template&amp;lt;br /&amp;gt;   &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;                WC13 header with CPP options&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;   [[build_Script|build.bash]]            bash shell script to compile application&amp;lt;br /&amp;gt;   [[build_Script|build.sh]]              csh Unix script to compile application&amp;lt;br /&amp;gt;   [[job_i4dvar_sen|job_i4dvar_sen.sh]]     job configuration script&amp;lt;br /&amp;gt;   &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;ocean_wc13.in&amp;lt;/span&amp;gt;         ROMS standard input script for WC13&amp;lt;br /&amp;gt;   [[s4dvar.in]]             4D-Var standard input script template&amp;lt;br /&amp;gt;   &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;                WC13 header with CPP options&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l38&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#In addition, to run this application you need an adjoint sensitivity functional. This is computed by the following Matlab script:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;../Data/adsen_37N_transport.m&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;which creates the NetCDF file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13_ads.nc&amp;lt;/span&amp;gt;. This file has already been created for you.&amp;lt;div class=&amp;quot;para&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The adjoint sensitivity functional is defined as the time-averaged transport crossing 37N in the upper 500m.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#In addition, to run this application you need an adjoint sensitivity functional. This is computed by the following Matlab script:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;../Data/adsen_37N_transport.m&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;which creates the NetCDF file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13_ads.nc&amp;lt;/span&amp;gt;. This file has already been created for you.&amp;lt;div class=&amp;quot;para&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;The adjoint sensitivity functional is defined as the time-averaged transport crossing 37N in the upper 500m.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize your preferred [[build_Script|build script]] and provide the appropriate values for:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Customize your preferred [[build_Script|build script]] and provide the appropriate values for:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*Root directory, MY_ROOT_DIR&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*Root directory, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;span class=&quot;salmon&quot;&amp;gt;&lt;/ins&gt;MY_ROOT_DIR&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*ROMS source code, MY_ROMS_SRC&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*ROMS source code, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;span class=&quot;salmon&quot;&amp;gt;&lt;/ins&gt;MY_ROMS_SRC&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*Fortran compiler, FORT&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*Fortran compiler, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;span class=&quot;salmon&quot;&amp;gt;&lt;/ins&gt;FORT&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*MPI flags, USE_MPI and USE_MPIF90&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*MPI flags, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;span class=&quot;salmon&quot;&amp;gt;&lt;/ins&gt;USE_MPI&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/span&amp;gt; &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;span class=&quot;salmon&quot;&amp;gt;&lt;/ins&gt;USE_MPIF90&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*Path of MPI, NetCDF, and ARPACK libraries according to the compiler. Notice that you need to provide the correct places of these libraries for your computer. If you want to ignore this section, comment out the assignment for the variable USE_MY_LIBS.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#*Path of MPI, NetCDF, and ARPACK libraries according to the compiler. Notice that you need to provide the correct places of these libraries for your computer. If you want to ignore this section, comment out the assignment for the variable &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;span class=&quot;salmon&quot;&amp;gt;&lt;/ins&gt;USE_MY_LIBS&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Notice that the most important CPP options for this application are specified in the [[build_Script|build script]] instead of &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv MY_CPP_FLAGS &amp;quot;-DIS4DVAR_SENSITIVITY&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DAD_IMPULSE&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT_SPLIT&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This is to allow flexibility with different CPP options.&amp;lt;div class=&amp;quot;para&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;For this to work, however, any &amp;#039;&amp;#039;&amp;#039;#undef&amp;#039;&amp;#039;&amp;#039; directives MUST be avoided in the header file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt; since it has precedence during C-preprocessing.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Notice that the most important CPP options for this application are specified in the [[build_Script|build script]] instead of &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt;:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;setenv MY_CPP_FLAGS &amp;quot;-DIS4DVAR_SENSITIVITY&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DAD_IMPULSE&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT&amp;quot;&amp;lt;br /&amp;gt;setenv MY_CPP_FLAGS &amp;quot;${MY_CPP_FLAGS} -DOBS_IMPACT_SPLIT&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;This is to allow flexibility with different CPP options.&amp;lt;div class=&amp;quot;para&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;For this to work, however, any &amp;#039;&amp;#039;&amp;#039;#undef&amp;#039;&amp;#039;&amp;#039; directives MUST be avoided in the header file &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;wc13.h&amp;lt;/span&amp;gt; since it has precedence during C-preprocessing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#You MUST use the [[build_Script|build script]] to compile.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#You MUST use the [[build_Script|build script]] to compile.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l51&quot;&gt;Line 51:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Results==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Results==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &amp;lt;span class=&quot;twilightBlue&quot;&amp;gt;WC13/plotting/plot_i4dvar_impact.m&amp;lt;/span&amp;gt; Matlab script will allow you to plot the I4D-Var observation impacts:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:i4dvar_impact.png|500px|thumb|left|&amp;lt;center&amp;gt;I4D-Var Observation Impact&amp;lt;/center&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:i4dvar_impact.png|500px|thumb|left|&amp;lt;center&amp;gt;I4D-Var Observation Impact&amp;lt;/center&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
</feed>