Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warning for FSD without waves, clarify documentation #409

Merged
merged 7 commits into from
Oct 20, 2022
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
3 changes: 3 additions & 0 deletions configuration/driver/icedrv_init.F90
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,9 @@ subroutine input_data

wave_spec = .false.
if (tr_fsd .and. (trim(wave_spec_type) /= 'none')) wave_spec = .true.
if (tr_fsd .and. (trim(wave_spec_type) == 'none')) then
write (nu_diag,*) 'WARNING: tr_fsd=T but wave_spec=F - not recommended'
end if

!-----------------------------------------------------------------
! spew
Expand Down
6 changes: 3 additions & 3 deletions doc/source/user_guide/ug_case_settings.rst
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,10 @@ forcing_nml
"``update_ocn_f``", "``.false.``", "do not include frazil water/salt fluxes in ocn fluxes", "``.false.``"
"", "``true``", "include frazil water/salt fluxes in ocn fluxes", ""
"``ustar_min``", "real", "minimum value of ocean friction velocity in m/s", "0.005"
"``wave_spec_type``", "``constant``", "wave data file is provided, constant wave spectrum, for testing", "``none``"
"``wave_spec_type``", "``constant``", "wave data file is provided, sea surface height generated using constant phase (1 iteration of wave fracture)", "``none``"
"", "``none``", "no wave data provided, no wave-ice interactions (not recommended when using the FSD)", ""
"", "``profile``", "no wave data file is provided, use fixed dummy wave spectrum, for testing", ""
"", "``random``", "wave data file is provided, wave spectrum generated using random number", ""
"", "``profile``", "no wave data file is provided, use fixed dummy wave spectrum, for testing, sea surface height generated using constant phase (1 iteration of wave fracture)", ""
"", "``random``", "wave data file is provided, sea surface height generated using random number (multiple iterations of wave fracture)", ""
"``ycycle``", "integer", "number of years in forcing data cycle", "1"
"", "", "", ""

Expand Down