3.6. Example ConfigurationΒΆ
The following is a complete example yaml configuration file. This exact file is
used by the ocean.vtloc
ctest to test the vertical localization method of
the ocean data assimilation.
---
mpi:
ens_size: 10
ppn: 1
solver:
inflation:
rtps: 0.0
rtpp: 0.0
mul: 1.0
state:
class: stateio_nc
verbose: false
compression: 0
hzgrid:
- name: hz1
lat2d: {file: grid/ocean.hgrid.nc, variable: geolat}
lon2d: {file: grid/ocean.hgrid.nc, variable: geolon}
lat1d: {file: grid/ocean.hgrid.nc, variable: lath}
lon1d: {file: grid/ocean.hgrid.nc, variable: lonh}
mask: {file: grid/ocean.hgrid.nc, variable: wet}
vtgrid:
- name: vt1
vert1d: {file: grid/ocean.vgrid.nc, variable: Layer}
statedef:
- name: ocn_t
hzgrid: hz1
vtgrid: vt1
input: {file: "bkg/bkg.#ENS4#.nc", variable: Temp}
output: {file: "#TYPE#.#ENS4#.nc", variable: Temp}
- name: ocn_s
hzgrid: hz1
vtgrid: vt1
input: {file: "bkg/bkg.#ENS4#.nc", variable: Salt}
output: {file: "#TYPE#.#ENS4#.nc", variable: Salt}
- name: ocn_u
hzgrid: hz1
vtgrid: vt1
input: {file: "bkg/bkg.#ENS4#.nc", variable: u}
output: {file: "#TYPE#.#ENS4#.nc", variable: u}
- name: ocn_v
hzgrid: hz1
vtgrid: vt1
input: {file: "bkg/bkg.#ENS4#.nc", variable: v}
output: {file: "#TYPE#.#ENS4#.nc", variable: v}
localization:
class: loc_ocean
save_diag: true
hzloc_prof:
type: linearinterp_lat
value:
- {lat: 0.0, radius: 720.0e3}
- {lat: 90.0, radius: 200.0e3}
hzloc_sat:
type: linearinterp_lat
value:
- {lat: 0.0, radius: 500.0e3}
- {lat: 90.0, radius: 50.0e3}
sat_obs:
sat_plats:
- ocn_sat
vtloc_surf:
type: bkg_t
bkg_t_delta: 0.2
bkg_t_var: ocn_t
observation:
class: obsio_test
synthetic_obs:
- [ocn_t, ocn_sat, ocn_t, 20.0, -140.0, 5.0, 0.0, -1.0, 0.1]
- [ocn_t, ocn_prf, ocn_t, 0.0, -140.0, 5.0, 0.0, -1.0, 1.0]
- [ocn_t, ocn_prf, ocn_t, 0.0, -150.0, 5.0, 0.0, -1.0, 1.0]
- [ocn_t, ocn_prf, ocn_t, 0.0, -160.0, 5.0, 0.0, -1.0, 1.0]
- [ocn_t, ocn_prf, ocn_s, 0.0, -160.0, 5.0, 0.0, 0.5, 1.0]