-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Processing of the offline ensemble (#549)
* wip * wip * wip * post proc ensemble of incr * wip * fixed tests, apply new tool to B * code tidy * ...
- Loading branch information
1 parent
8ca585b
commit 7b67146
Showing
18 changed files
with
545 additions
and
180 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,49 @@ | ||
input geometry: | ||
geometry: | ||
geom_grid_file: soca_gridspec.nc | ||
mom6_input_nml: mom_input.nml | ||
fields metadata: fields_metadata.yaml | ||
|
||
output geometry: | ||
geom_grid_file: soca_gridspec.nc | ||
mom6_input_nml: mom_input.nml | ||
fields metadata: fields_metadata.yaml | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
|
||
layers variable: [hocn] | ||
|
||
increment variables: [tocn, socn, uocn, vocn, ssh, hocn] | ||
|
||
set increment variables to zero: [ssh] | ||
|
||
vertical geometry: | ||
read_from_file: 1 | ||
basename: ./INPUT/ | ||
ocn_filename: MOM.res.nc | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
|
||
soca increments: | ||
number of increments: ${CLIM_ENS_SIZE} | ||
pattern: '%mem%' | ||
template: | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
basename: ./static_ens/ | ||
ocn_filename: 'ocn.pert.ens.%mem%.{{ATM_WINDOW_BEGIN}}.PT0S.nc' | ||
read_from_file: 1 | ||
|
||
linear variable change: | ||
input variables: [tocn, socn, ssh, uocn, vocn, hocn, cicen, hicen, hsnon] | ||
output variables: [tocn, socn, ssh, uocn, vocn, hocn, cicen, hicen, hsnon] | ||
do inverse: false | ||
linear variable changes: | ||
- linear variable change name: BkgErrFILT | ||
ocean_depth_min: 500 # zero where ocean is shallower than 500m | ||
rescale_bkgerr: 0.3 # rescale perturbation | ||
rescale_bkgerr: 1.0 # rescale perturbation | ||
efold_z: 1500.0 # Apply exponential decay | ||
- linear variable change name: BalanceSOCA # linear steric height from (T,S) perturbation | ||
|
||
increments: | ||
- date: '{{ATM_WINDOW_BEGIN}}' | ||
input variables: [tocn, socn, ssh, uocn, vocn, hocn, cicen, hicen, hsnon] | ||
input: | ||
read_from_file: 1 | ||
basename: ./static_ens/ | ||
ocn_filename: 'ocn.bal.ens.MEMNUM.{{ATM_WINDOW_BEGIN}}.PT0S.nc' | ||
ice_filename: 'ice.bal.ens.MEMNUM.{{ATM_WINDOW_BEGIN}}.PT0S.nc' | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
state variables: [ssh, tocn, socn, uocn, vocn, cicen, hicen, hsnon] | ||
- linear variable change name: BalanceSOCA | ||
trajectory: | ||
read_from_file: 1 | ||
state variables: [tocn, socn, uocn, vocn, ssh, hocn, layer_depth, mld] | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
basename: ./INPUT/ | ||
ocn_filename: MOM.res.nc | ||
ice_filename: cice.res.nc | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
state variables: [cicen, hicen, hsnon, socn, tocn, uocn, vocn, ssh, hocn, mld, layer_depth] | ||
output: | ||
datadir: ./static_ens | ||
exp: filtered.MEMNUM | ||
type: incr | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
read_from_file: 1 | ||
|
||
output increment: | ||
datadir: ./static_ens/ | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
exp: tmp | ||
type: incr | ||
output file: 'ocn.pert.steric.%mem%.{{ATM_WINDOW_BEGIN}}.nc' | ||
pattern: '%mem%' |
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 |
---|---|---|
|
@@ -30,6 +30,6 @@ ensemble: | |
|
||
recentered output: | ||
datadir: ./static_ens | ||
exp: bal | ||
exp: pert | ||
type: ens | ||
date: '{{ATM_WINDOW_BEGIN}}' |
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,31 @@ | ||
geometry: | ||
geom_grid_file: soca_gridspec.nc | ||
mom6_input_nml: mom_input.nml | ||
fields metadata: fields_metadata.yaml | ||
|
||
date: '{{ATM_WINDOW_BEGIN}}' | ||
|
||
layers variable: [hocn] | ||
|
||
increment variables: [tocn, socn, uocn, vocn, ssh, hocn] | ||
|
||
set increment variables to zero: [ssh] | ||
|
||
vertical geometry: | ||
read_from_file: 1 | ||
basename: ./INPUT/ | ||
ocn_filename: MOM.res.nc | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
|
||
soca increment: | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
basename: ./static_ens/ | ||
ocn_filename: 'ocn.orig_ens_stddev.incr.{{ATM_WINDOW_BEGIN}}.nc' | ||
read_from_file: 1 | ||
|
||
output increment: | ||
datadir: ./ | ||
date: '{{ATM_WINDOW_BEGIN}}' | ||
exp: filtered | ||
type: incr | ||
output file: 'ocn.orig_ens_stddev.incr.{{ATM_WINDOW_BEGIN}}.nc' |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
geometry: | ||
mom6_input_nml: mom_input.nml | ||
fields metadata: ./fields_metadata.yaml | ||
|
||
date: 2018-04-15T09:00:00Z | ||
|
||
layers variable: [hocn] | ||
|
||
increment variables: [tocn, socn, uocn, vocn, ssh, hocn] | ||
|
||
set increment variables to zero: [uocn, vocn, ssh] | ||
|
||
vertical geometry: | ||
date: 2018-04-15T09:00:00Z | ||
basename: ./INPUT/ | ||
ocn_filename: MOM.res.nc | ||
read_from_file: 1 | ||
|
||
soca increment: | ||
date: 2018-04-15T09:00:00Z | ||
basename: ./Data/ | ||
ocn_filename: 'ocn.3dvarfgat_pseudo.incr.2018-04-15T12:00:00Z.nc' | ||
read_from_file: 1 | ||
|
||
#TODO: add one more ctest to check the snippet below | ||
#soca increments: | ||
# number of increments: 1 | ||
# pattern: incr | ||
# template: | ||
# date: 2018-04-15T09:00:00Z | ||
# basename: ./static_ens/ | ||
# ocn_filename: 'ocn.1.nc' | ||
# read_from_file: 1 | ||
|
||
linear variable change: | ||
linear variable changes: | ||
- linear variable change name: BkgErrFILT | ||
ocean_depth_min: 500 # zero where ocean is shallower than 500m | ||
rescale_bkgerr: 1.0 # rescale perturbation | ||
efold_z: 1500.0 # Apply exponential decay | ||
- linear variable change name: BalanceSOCA | ||
trajectory: | ||
state variables: [tocn, socn, uocn, vocn, ssh, hocn, layer_depth, mld] | ||
date: 2018-04-15T09:00:00Z | ||
basename: ./INPUT/ | ||
ocn_filename: MOM.res.nc | ||
read_from_file: 1 | ||
|
||
output increment: | ||
datadir: ./ | ||
date: 2018-04-15T09:00:00Z | ||
exp: mom6_iau | ||
type: incr | ||
output file: inc.nc #inc.%mem%.nc |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#include "gdas_incr_handler.h" | ||
#include "oops/runs/Run.h" | ||
|
||
int main(int argc, char ** argv) { | ||
oops::Run run(argc, argv); | ||
gdasapp::SocaIncrHandler incrhandler; | ||
return run.execute(incrhandler); | ||
} |
Oops, something went wrong.