Skip to content

Commit

Permalink
marine algo
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumevernieres committed Sep 13, 2024
1 parent 0c4fbfe commit 71065c0
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 0 deletions.
43 changes: 43 additions & 0 deletions algorithm/marine/soca_2cice_antarctic.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
input geometry:
mom6_input_nml: mom_input.nml
fields metadata: fields_metadata.yaml
geom_grid_file: soca_gridspec.nc

output geometry:
mom6_input_nml: mom_input.nml
fields metadata: fields_metadata.yaml
geom_grid_file: soca_gridspec.nc

variable change:
variable change name: Soca2Cice
do inverse: false
seaice edge: 0.9
shuffle: false # seg. fault when true
rescale prior:
min hice: 0.5
min hsno: 0.1
domain: antarctic
cice background state:
restart: {{ ICE_RST }}
grid: ' '
ncat: 5
ice_lev: 7
sno_lev: 1
tstep: PT1H
cice output:
restart: {{ ICE_RST }}
output variables: [tocn, socn, hocn, cicen, hicen, hsnon]

states:
- input:
read_from_file: 1
basename: ./
ocn_filename: {{ OCN_ANA }}
ice_filename: {{ ICE_ANA }}
date: '{{ FCST_BEGIN }}'
state variables: [tocn, socn, hocn, cicen, hicen, hsnon]
output:
datadir: Data
exp: soca2cice
type: fc
date: '{{ FCST_BEGIN }}'
40 changes: 40 additions & 0 deletions algorithm/marine/soca_2cice_arctic.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
input geometry:
mom6_input_nml: mom_input.nml
fields metadata: ./fields_metadata.yaml

output geometry:
mom6_input_nml: mom_input.nml
fields metadata: ./fields_metadata.yaml

variable change:
variable change name: Soca2Cice
do inverse: false
seaice edge: 0.8
shuffle: false
rescale prior:
min hice: 0.5
min hsno: 0.1
domain: arctic
cice background state:
restart: {{ ICE_RST }}
ncat: 5
ice_lev: 7
sno_lev: 1
tstep: PT1H
cice output:
restart: {{ ICE_RST }}
output variables: [tocn, socn, hocn, cicen, hicen, hsnon]

states:
- input:
read_from_file: 1
basename: ./
ocn_filename: {{ OCN_ANA }}
ice_filename: {{ ICE_ANA }}
date: '{{ FCST_BEGIN }}'
state variables: [tocn, socn, hocn, cicen, hicen, hsnon]
output:
datadir: Data
exp: soca2cice
type: fc
date: '{{ FCST_BEGIN }}'
28 changes: 28 additions & 0 deletions algorithm/marine/socaincr2mom6.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
geometry:
mom6_input_nml: mom_input.nml
fields metadata: ./fields_metadata.yaml

date: '{{ MARINE_WINDOW_BEGIN_ISO }}'

layers variable: [hocn]

increment variables: [tocn, socn, uocn, vocn, ssh]

vertical geometry:
date: '{{ MARINE_WINDOW_BEGIN_ISO }}'
basename: ./INPUT/
ocn_filename: MOM.res.nc
read_from_file: 1

soca increment:
date: '{{ MARINE_WINDOW_BEGIN_ISO }}'
basename: ./Data/
ocn_filename: 'ocn.3dvarfgat_pseudo.incr.{{MARINE_WINDOW_MIDDLE_ISO}}.nc'
read_from_file: 1

output increment:
datadir: ./
date: '{{ MARINE_WINDOW_BEGIN_ISO }}'
exp: mom6_iau
type: incr
output file: inc.nc

0 comments on commit 71065c0

Please sign in to comment.