-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial version of 3dvar and dirac ctest.
- Loading branch information
Showing
8 changed files
with
199 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
cost function: | ||
cost type: 3D-Var | ||
time window: | ||
begin: '2021-06-29T00:00:00Z' | ||
length: P1D | ||
analysis variables: [ice_area_fraction] | ||
background error: | ||
covariance model: SABER | ||
saber central block: | ||
saber block name: ID | ||
saber outer blocks: | ||
- saber block name: BUMP_StdDev | ||
read: | ||
general: | ||
testing: true | ||
io: | ||
data directory: Data | ||
files prefix: test | ||
drivers: | ||
compute variance: true | ||
variance: | ||
explicit stddev: true | ||
stddev: | ||
- variables: | ||
- ice_area_fraction | ||
value: 1 | ||
geometry : | ||
nemo variables: | ||
- name: ice_area_fraction | ||
nemo field name: iiceconc | ||
model space: surface | ||
field precision: double | ||
- name: sea_surface_temperature | ||
nemo field name: votemper | ||
model space: surface | ||
field precision: double | ||
- name: sea_water_potential_temperature | ||
nemo field name: votemper | ||
model space: volume | ||
field precision: double | ||
- name: ice_area_fraction_background_error | ||
nemo field name: sic_tot_var | ||
model space: surface | ||
variable type: background variance | ||
field precision: double | ||
grid name: ORCA2_T | ||
number levels: 10 | ||
background : | ||
date: 2021-06-29T12:00:00Z | ||
state variables: [ ice_area_fraction ] | ||
nemo field file: Data/orca2_t_nemo.nc | ||
observations: | ||
observers: | ||
- obs space: | ||
name: Sea Ice | ||
obsdatain: | ||
engine: | ||
type: H5File | ||
obsfile: Data/sic_obs_ideal.nc | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: testoutput/test_3dvar.nc | ||
simulated variables: [ice_area_fraction] | ||
get values: | ||
time interpolation: linear | ||
atlas-interpolator: | ||
type: unstructured-bilinear-lonlat | ||
non_linear: missing-if-all-missing | ||
max_fraction_elems_to_try: 0.0 | ||
# adjoint: true | ||
obs operator: | ||
name: Composite | ||
components: | ||
- name: Identity | ||
obs error: | ||
covariance model: diagonal | ||
variational: | ||
minimizer: | ||
algorithm: DRIPCG | ||
iterations: | ||
- ninner: 1 | ||
gradient norm reduction: 1e-30 | ||
geometry : | ||
nemo variables: | ||
- name: ice_area_fraction | ||
nemo field name: iiceconc | ||
model space: surface | ||
- name: sea_surface_temperature | ||
nemo field name: votemper | ||
model space: surface | ||
- name: sea_water_potential_temperature | ||
nemo field name: votemper | ||
model space: volume | ||
- name: ice_area_fraction_background_error | ||
nemo field name: sic_tot_var | ||
model space: surface | ||
variable type: background variance | ||
grid name: ORCA2_T | ||
number levels: 10 | ||
test: on | ||
online diagnostics: | ||
write increment: true | ||
increment: | ||
state component: | ||
datadir: Data | ||
output path: testoutput/increments_ice | ||
date: 2021-06-30T00:00:00Z | ||
exp: 3dvar.iter1 | ||
type: in | ||
final: | ||
diagnostics: | ||
departures: oman | ||
output: | ||
date: 2021-06-30T00:00:00Z | ||
state variables: [ ice_area_fraction ] | ||
nemo field file: testoutput/3dvar_ice | ||
# exp: 3dvar | ||
# steps: ["2021-06-29T12:00:00Z"] # state write not implemented | ||
|
||
#test: | ||
# reference filename: testoutput/test_3dvar_ice_obs.ref |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
background error: | ||
covariance model: SABER | ||
saber central block: | ||
saber block name: ID | ||
saber outer blocks: | ||
- saber block name: BUMP_StdDev | ||
read: | ||
general: | ||
testing: true | ||
io: | ||
data directory: Data | ||
files prefix: test | ||
drivers: | ||
compute variance: true | ||
variance: | ||
explicit stddev: true | ||
stddev: | ||
- variables: | ||
- ice_area_fraction | ||
value: 1 | ||
|
||
dirac: | ||
x indices: [20] | ||
y indices: [10] | ||
z indices: [1] | ||
|
||
geometry: | ||
nemo variables: | ||
- name: ice_area_fraction | ||
nemo field name: iiceconc | ||
model space: surface | ||
field precision: double | ||
- name: sea_surface_temperature | ||
nemo field name: votemper | ||
model space: surface | ||
field precision: double | ||
- name: sea_water_potential_temperature | ||
nemo field name: votemper | ||
model space: volume | ||
field precision: double | ||
- name: ice_area_fraction_background_error | ||
nemo field name: sic_tot_var | ||
model space: surface | ||
variable type: background variance | ||
field precision: double | ||
grid name: ORCA2_T | ||
number levels: 10 | ||
background: | ||
date: 2021-06-30T12:00:00Z | ||
state variables: [ ice_area_fraction ] | ||
nemo field file: Data/orca2_t_nemo.nc | ||
output dirac: | ||
output path: testoutput/dirac_cov_%id% | ||
|
||
#test: | ||
# reference filename: testoutput/test_dirac.ref |