Opened 2 years ago
Last modified 2 years ago
#2749 assigned Defect
Wave coupling only: diurnal cycle reconstruction error
Reported by: | jcastill | Owned by: | deazer |
---|---|---|---|
Priority: | low | Milestone: | 2021 WP |
Component: | SBC | Version: | trunk |
Severity: | minor | Keywords: | coupling, diurnalcycle |
Cc: | clevy, deazer |
Description
Context
When running in coupled mode but not coupling to an atmospheric model, and when using diurnal cycle reconstruction (ln_dm2dc=.true.), NEMO will stop with an error:
sbc_cpl_rcv: diurnal cycle reconstruction (ln_dm2dc) needs daily couping for solar radiation
Analysis
Here NEMO still assumes that when it is running in coupled mode it is coupled to an atmosphere model. In coupling mode the diurnal cycle frequency (ncpl_qsr_frq) is calculated as the sum of the coupling frequency of the atmospheric radiation terms, and this value is required to be equal to one day. If there is no atmospheric coupling, which is something perfectly valid to do (for example when coupling only to a wave model), this frequency is equal to zero and the code throws an error.
Recommendation
Throw the error mentioned above only if the frequency is not equal to one day and if atmosphere coupling is taking place (ln_cpl=.true.)
Commit History (1)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
15534 | jcastill | 2021-11-25T10:25:52+01:00 | Branch to work in ticket #2749 |
Attachments (1)
Change History (6)
comment:1 Changed 2 years ago by jcastill
- Cc clevy added
comment:2 Changed 2 years ago by jcastill
comment:3 Changed 2 years ago by jcastill
- Owner changed from jcastill to clevy
- Status changed from new to assigned
Working branch: branches/UKMO/v15531_wave_radiation_diurnal_cycle
I did not find Enda's user name and therefore he is not in copy of the ticket.
comment:4 Changed 2 years ago by jcastill
- Cc deazer added
- Owner changed from clevy to deazer
comment:5 Changed 2 years ago by jcastill
Sette test successfully run. Functionality has been tested in the Met Office amm15 configuration.
In 15534: