Skip to content

Commit

Permalink
code tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumevernieres committed Aug 3, 2023
1 parent 91d06a0 commit b8f27b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
1 change: 1 addition & 0 deletions test/soca/testinput/incr_handler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ soca increment:
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
Expand Down
28 changes: 1 addition & 27 deletions test/soca/testinput/socaincr2mom6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ 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/
Expand All @@ -22,33 +20,9 @@ soca increment:
ocn_filename: 'ocn.3dvarfgat_pseudo.incr.2018-04-15T12:00:00Z.nc'
read_from_file: 1

#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
# pattern: %mem%
output file: inc.nc

0 comments on commit b8f27b2

Please sign in to comment.