Skip to content
Snippets Groups Projects
Commit 938c32a6 authored by Rene Redler's avatar Rene Redler
Browse files

adds yac config

this has to be in line with the yaco config concerning time operations
and distribution of fields across yaco processes.
parent 53fc1c05
No related branches found
No related tags found
No related merge requests found
cat > coupling_${EXPNAME}.yaml << EOF
definitions:
atm2oce: &atm2oce
src_component: atmo
src_grid: icon_atmos_grid
tgt_component: ocean
tgt_grid: icon_ocean_grid
src_lag: ${atm_lag}
tgt_lag: ${oce_lag}
oce2atm: &oce2atm
src_component: ocean
src_grid: icon_ocean_grid
tgt_component: atmo
tgt_grid: icon_atmos_grid
src_lag: ${oce_lag}
tgt_lag: ${atm_lag}
atm2yaco0: &atm2yaco0
src_component: atmo_output
src_grid: icon_atmos_grid
tgt_component: yaco0
tgt_grid: healpix_2
src_lag: ${atm_lag}
tgt_lag: ${yaco_lag}
atm2yaco1: &atm2yaco1
src_component: atmo_output
src_grid: icon_atmos_grid
tgt_component: yaco1
tgt_grid: healpix_2
src_lag: ${atm_lag}
tgt_lag: ${yaco_lag}
atm2yaco2: &atm2yaco2
src_component: atmo_output
src_grid: icon_atmos_grid
tgt_component: yaco2
tgt_grid: healpix_2
src_lag: ${atm_lag}
tgt_lag: ${yaco_lag}
atm2yaco3: &atm2yaco3
src_component: atmo_output
src_grid: icon_atmos_grid
tgt_component: yaco3
tgt_grid: healpix_2
src_lag: ${atm_lag}
tgt_lag: ${yaco_lag}
atm2yaco4: &atm2yaco4
src_component: atmo_output
src_grid: icon_atmos_grid
tgt_component: yaco4
tgt_grid: healpix_2
src_lag: ${atm_lag}
tgt_lag: ${yaco_lag}
oce2yaco5: &oce2yaco5
src_component: ocean_output
src_grid: icon_ocean_grid
tgt_component: yaco5
tgt_grid: healpix_2
src_lag: ${oce_lag}
tgt_lag: ${yaco_lag}
oce2yaco6: &oce2yaco6
src_component: ocean_output
src_grid: icon_ocean_grid
tgt_component: yaco6
tgt_grid: healpix_2
src_lag: ${oce_lag}
tgt_lag: ${yaco_lag}
oce2yaco7: &oce2yaco7
src_component: ocean_output
src_grid: icon_ocean_grid
tgt_component: yaco7
tgt_grid: healpix_2
src_lag: ${oce_lag}
tgt_lag: ${yaco_lag}
time_config: &time_config
coupling_period: ${couplingTimeStep}
time_reduction: average
time_config_yaco_PT1H: &time_config_yaco_PT1H
coupling_period: ${yaco_PT1H_CouplingTimeStep}
time_reduction: average
time_config_yaco_PT6H: &time_config_yaco_PT6H
coupling_period: ${yaco_PT6H_CouplingTimeStep}
time_reduction: average
time_config_yaco_P1D: &time_config_yaco_P1D
coupling_period: ${yaco_P1D_CouplingTimeStep}
time_reduction: average
interp_stacks:
nnn_interp_stack: &nnn_interp_stack
interpolation:
- nnn:
n: 1
weighted: arithmetic_average
- fixed:
user_value: -999.9
spmap_interp_stack: &spmap_interp_stack
interpolation:
- source_to_target_map:
weighted: arithmetic_average
spread_distance: 0.5
max_search_distance: 3.6
timestep_unit: ISO_format
calendar: proleptic-gregorian
coupling:
- <<: [ *atm2oce, *nnn_interp_stack, *time_config ]
field: [surface_downward_eastward_stress,
surface_downward_northward_stress,
10m_wind_speed]
- <<: [ *atm2oce, *nnn_interp_stack, *time_config ]
field: [surface_fresh_water_flux,
total_heat_flux,
atmosphere_sea_ice_bundle]
- <<: [ *atm2oce, *nnn_interp_stack, *time_config ]
field: [sea_level_pressure]
- <<: [ *oce2atm, *nnn_interp_stack, *time_config ]
field: [sea_surface_temperature,
eastward_sea_water_velocity,
northward_sea_water_velocity,
ocean_sea_ice_bundle]
- <<: [ *atm2oce, *spmap_interp_stack, *time_config ]
field: river_runoff
- <<: [ *atm2yaco0, *nnn_interp_stack, *time_config_yaco_PT1H ]
field: [ pressure_levels_u, pressure_levels_v, pressure_levels_temp ]
- <<: [ *atm2yaco1, *nnn_interp_stack, *time_config_yaco_PT1H ]
field: [ pressure_levels_hus, pressure_levels_hur, pressure_levels_clw ]
- <<: [ *atm2yaco2, *nnn_interp_stack, *time_config_yaco_PT1H ]
field: [ pressure_levels_omega, pressure_levels_gpsm ]
- <<: [ *atm2yaco3, *nnn_interp_stack, *time_config_yaco_PT1H ]
field: [ pr, tas, clt, uas, vas, dew2, hfss, hfls, clivi, cllvi, pres_sfc, pres_msl ]
- <<: [ *atm2yaco4, *nnn_interp_stack, *time_config_yaco_PT1H ]
field: [ ts_rad, prw, tauu, tauv, ts ]
- <<: [ *atm2yaco4, *nnn_interp_stack, *time_config_yaco_PT1H ]
field: [ rsds, rlds, rsns, rsnt, rlns, rlnt ]
scale_factor: 3600.0 # output timestep in seconds, hard coded
- <<: [ *oce2yaco5, *nnn_interp_stack, *time_config_yaco_PT1H ]
field: [ conc, hi, hs, ice_u, ice_v, mlotst, zos ]
- <<: [ *oce2yaco6, *nnn_interp_stack, *time_config_yaco_P1D ]
field: to
scale_summand: 273.15
- <<: [ *oce2yaco6, *nnn_interp_stack, *time_config_yaco_P1D ]
field: so
- <<: [ *oce2yaco7, *nnn_interp_stack, *time_config_yaco_P1D ]
field: [ u, v, w ]
EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment