New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#2749 (Wave coupling only: diurnal cycle reconstruction error) – NEMO

Opened 6 months ago

Last modified 5 months 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)

ChangesetAuthorTimeChangeLog
15534jcastill2021-11-25T10:25:52+01:00

Branch to work in ticket #2749

Attachments (1)

sette.out (4.9 MB) - added by jcastill 5 months ago.
sette.out

Change History (6)

comment:1 Changed 6 months ago by jcastill

  • Cc clevy added

comment:2 Changed 6 months ago by jcastill

In 15534:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:3 Changed 6 months 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 6 months ago by jcastill

  • Cc deazer added
  • Owner changed from clevy to deazer

Changed 5 months ago by jcastill

sette.out

comment:5 Changed 5 months ago by jcastill

Sette test successfully run. Functionality has been tested in the Met Office amm15 configuration.

Note: See TracTickets for help on using tickets.