Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions cime_config/namelist_definition_drv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2125,9 +2125,9 @@
<category>aux_hist</category>
<group>MED_attributes</group>
<values>
<value></value>
<value>""</value>
<value coupling_mode="noresm" COMP_WAV="ww3">Sw_hs_avg:Sw_Tm1_avg:Sw_thm_avg:Sw_u_avg:Sw_v_avg:Sw_ustokes_avg:Sw_vstokes_avg:Sw_tusx_avg:Sw_tusy_avg:Sw_thp0_avg:Sw_fp0_avg:Sw_phs0_avg:Sw_phs1_avg:Sw_pdir0_avg:Sw_pdir1_avg:Sw_pTm10_avg:Sw_pTm11_avg</value>
<value coupling_mode="cesm" COMP_WAV='ww3'>Sw_Hs:Sw_t01:Sw_t0m1:Sw_thm:Sw_lamult:Sw_ustokes:Sw_vstokes</value>
<value coupling_mode="cesm" COMP_WAV="ww3">Sw_hs_avg:Sw_Tm1_avg:Sw_thm_avg:Sw_u_avg:Sw_v_avg:Sw_ustokes_avg:Sw_vstokes_avg:Sw_tusx_avg:Sw_tusy_avg:Sw_thp0_avg:Sw_fp0_avg:Sw_phs0_avg:Sw_phs1_avg:Sw_pdir0_avg:Sw_pdir1_avg:Sw_pTm10_avg:Sw_pTm11_avg</value>
</values>
<desc>Auxiliary mediator wav2med file1 colon delimited output
fields. NOTE: these are assumed to be time averaged over a day in
Expand Down Expand Up @@ -2159,11 +2159,12 @@
<group>MED_attributes</group>
<values>
<value>.false.</value>
<value coupling_mode="noresm" COMP_WAV='ww3'>.false.</value>
<value coupling_mode="cesm" COMP_WAV='ww3'>.true.</value>
</values>
<desc>Auxiliary mediator wav2med file1 time averaged flag for file output.
If this flag is set to .false. only instantaneous output will be created in the auxiliary file.</desc>
If this flag is set to .false. only instantaneous output will be created in the auxiliary file.
For COMP_WAV=ww3 this must remain .false.: the WW3 cap already produces daily-averaged
Sw_*_avg fields (fillvalue between day boundaries), so a second mediator-side average would
be meaningless.</desc>
</entry>
<entry id="histaux_wav2med_file1_auxname">
<type>char</type>
Expand Down
11 changes: 11 additions & 0 deletions mediator/esmFldsExchange_cesm_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2335,11 +2335,22 @@ subroutine esmFldsExchange_cesm(gcomp, phase, rc)
call addfld_from(compwav, 'Sw_Tm1_avg')
call addfld_from(compwav, 'Sw_thm_avg')
call addfld_from(compwav, 'Sw_thp0_avg')
call addfld_from(compwav, 'Sw_faw_avg')
call addfld_from(compwav, 'Sw_fp0_avg')
call addfld_from(compwav, 'Sw_u_avg')
call addfld_from(compwav, 'Sw_v_avg')
call addfld_from(compwav, 'Sw_cu_avg')
call addfld_from(compwav, 'Sw_cv_avg')
call addfld_from(compwav, 'Sw_tusx_avg')
call addfld_from(compwav, 'Sw_tusy_avg')
call addfld_from(compwav, 'Sw_lamult_avg')
call addfld_from(compwav, 'Sw_charn_avg')
call addfld_from(compwav, 'Sw_tm02_avg')
call addfld_from(compwav, 'Sw_foc_avg')
call addfld_from(compwav, 'Sw_ifrac_avg')
call addfld_from(compwav, 'Sw_thick_avg')
call addfld_from(compwav, 'Sw_tauicex_avg')
call addfld_from(compwav, 'Sw_tauicey_avg')
end if

!-----------------------------
Expand Down
79 changes: 62 additions & 17 deletions mediator/fd_cesm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1340,68 +1340,113 @@
#
- standard_name: Sw_ustokes_avg
canonical_units: m/s
description: Daily averaged stokes drift u component (only needed for med history output)
description: Daily averaged stokes drift u component (only needed for mediator history output)
#
- standard_name: Sw_vstokes_avg
canonical_units: m/s
description: Daily averaged stokes drift v component (only needed for med history output)
description: Daily averaged stokes drift v component (only needed for mediator history output)
#
- standard_name: Sw_hs_avg
canonical_units: m
description: Daily averaged significant wave hight (only needed for med history output)
description: Daily averaged significant wave hight (only needed for mediator history output)
#
- standard_name: Sw_phs0_avg
canonical_units: m
description: Daily averaged averaged wind sea swh (only needed for med history output)
description: Daily averaged averaged wind sea swh (only needed for mediator history output)
#
- standard_name: Sw_phs1_avg
canonical_units: m
description: Daily averaged swell swh (only needed for med history output)
description: Daily averaged swell swh (only needed for mediator history output)
#
- standard_name: Sw_pdir0_avg
canonical_units: degrees
description: Daily averaged wind sea swh (only needed for med history output)
description: Daily averaged wind sea swh (only needed for mediator history output)
#
- standard_name: Sw_pdir1_avg
canonical_units: degrees
description: Daily averaged swell swh (only needed for med history output)
description: Daily averaged swell swh (only needed for mediator history output)
#
- standard_name: Sw_pTm10_avg
canonical_units: s
description: Daily averaged wind sea mean wave Tm1 period (only needed for med history output)
description: Daily averaged wind sea mean wave Tm1 period (only needed for mediator history output)
#
- standard_name: Sw_pTm11_avg
canonical_units: s
description: Daily average swell mean wave Tm1 period (only needed for med history output)
description: Daily average swell mean wave Tm1 period (only needed for mediator history output)
#
- standard_name: Sw_Tm1_avg
canonical_units: s
description: Daily averaged mean wave period of the first moment (only needed for med history output)
description: Daily averaged mean wave period of the first moment (only needed for mediator history output)
#
- standard_name: Sw_thm_avg
canonical_units: degrees
description: Daily averaged mean wave direction (only needed for med history output)
description: Daily averaged mean wave direction (only needed for mediator history output)
#
- standard_name: Sw_thp0_avg
canonical_units: degrees
description: Daily averaged peak wave direction (only needed for med history output)
description: Daily averaged peak wave direction (only needed for mediator history output)
#
- standard_name: Sw_fp0_avg
canonical_units: 1/s
description: Daily averaged peak wave frequency (only needed for med history output)
description: Daily averaged peak wave frequency (only needed for mediator history output)
#
- standard_name: Sw_u_avg
canonical_units: m/s
description: Daily averaged surface wind zonal (only needed for med history output)
description: Daily averaged surface wind zonal (only needed for mediator history output)
#
- standard_name: Sw_v_avg
canonical_units: m/s
description: Daily averaged surface wind meridional (only needed for med history output)
description: Daily averaged surface wind meridional (only needed for mediator history output)
#
- standard_name: Sw_cu_avg
canonical_units: m/s
description: Daily averaged surface zonal current(only needed for mediator history output)
#
- standard_name: Sw_cv_avg
canonical_units: m/s
description: Daily averaged surface meridional current (only needed for mediator history output)
#
- standard_name: Sw_tusx_avg
canonical_units: m2/s
description: Daily averaged stokes zonal transport vector (only needed for med history output)
description: Daily averaged stokes zonal transport vector (only needed for mediator history output)
#
- standard_name: Sw_tusy_avg
canonical_units: m2/s
description: Daily averaged stokes meridional transport vector (only needed for med history output)
description: Daily averaged stokes meridional transport vector (only needed for mediator history output)
#
- standard_name: Sw_lamult_avg
canonical_units: 1
description: Daily averaged Langmuir number (only needed for mediator history output)
#
- standard_name: Sw_charn_avg
canonical_units: 1
description: Daily averaged Charnock parameter (only needed for mediator history output)
#
- standard_name: Sw_tm02_avg
canonical_units: s
alias: Total_m2-period
description: Daily averaged mean wave period of the second moment (only needed for mediator history output)
#
- standard_name: Sw_foc_avg
canonical_units: W/m3
description: Daily averaged wave to ocean energy flux (only needed for mediator history output)
#
- standard_name: Sw_faw_avg
canonical_units: W/m3
description: Daily averaged wind to wave energy flux (only needed for mediator history output)
#
- standard_name: Sw_ifrac_avg
canonical_units: 1
description: Daily averaged sea ice concentration (only needed for mediator history output)
#
- standard_name: Sw_thick_avg
canonical_units: m
description: Daily averaged sea ice thickness (only needed for mediator history output)
#
- standard_name: Sw_tauicex_avg
canonical_units: m2/s2
description: Daily averaged x component of momentum flux to sea ice (only needed for mediator history output)
#
- standard_name: Sw_tauicey_avg
canonical_units: m2/s2
description: Daily averaged y component of momentum flux to sea ice (only needed for mediator history output)
Loading