Opened 2 months ago

Last modified 6 days ago

#2377 assigned Defect

Incorrect restart after the first year of the model run when option 2 of the freshwater-budget adjustment mechanism is active (`nn_fwb = 2`, module `sbcfwb`)

Reported by: smueller Owned by: smueller
Priority: low Milestone:
Component: SBC Version: trunk
Severity: minor Keywords: fwb
Cc:

Description

Context

The defect described in ticket #2376 was also found in the trunk version of NEMO.

Analysis

See ticket #2376.

Recommendation

See ticket #2376.

Commit History (4)

ChangesetAuthorTimeChangeLog
12608smueller2020-03-26T11:52:25+01:00

Removal of the needless tracking of the freshwater-budget adjustment flux for the previous year (variable a_fwb_b) in option 2 of the freshwater-budget adjustment mechanism (ticket #2377)

12602smueller2020-03-25T13:22:28+01:00

Addition of XIOS-based restart I/O to the restart capability of option 2 of the freshwater-budget adjustment mechanism (ticket #2377)

This changeset extends the standard restart capability added in r12591 by adding optional XIOS-based restart I/O according to the recipe provided in section 10.2.1 of the reference manual for NEMO version 4.0.1.

12591smueller2020-03-24T11:21:58+01:00

Addition of standard restart capability without XIOS support to option 2 of the freshwater-budget adjustment mechanism as a remedy for the defect reported in ticket #2377

12491smueller2020-02-28T21:00:24+01:00

Inception of a branch associated with ticket #2377

Change History (8)

comment:1 Changed 5 weeks ago by smueller

  • Owner changed from systeam to smueller
  • Status changed from new to assigned

comment:2 Changed 5 weeks ago by smueller

In 12491:

Inception of a branch associated with ticket #2377

comment:3 Changed 4 weeks ago by smueller

See ticket:2376#comment:2.

The files EMPave.dat and EMPave_old.dat are used to store global freshwater-budget adjustment fluxes for two successive model years (in the form of two scalar values), of which only the more recent appears to be used in the current model version (the value of variable a_fwb in source:/NEMO/trunk/src/OCE/SBC/sbcfwb.F90). Therefore, the handling of the value from the earlier year could be removed (variable a_fwb_b in source:/NEMO/trunk/src/OCE/SBC/sbcfwb.F90) in future model versions. Moreover, with a normalised restart mechanism in place, the more recent adjustment flux read in from file EMPave_old.dat would solely be used to initialise non-restarted model runs, and the corresponding adjustment flux written to file EMPave.dat at the end of model runs would become available from restart files. Therefore, the initial freshwater-budget adjustment flux could be set using a namelisted parameter (e.g., rn_fwb0 in a new namelist namsbc_fwb), which would make it possible to discontinue the use of the files EMPave.dat and EMPave_old.dat.

Last edited 4 weeks ago by smueller (previous) (diff)

comment:4 Changed 8 days ago by smueller

In 12591:

Addition of standard restart capability without XIOS support to option 2 of the freshwater-budget adjustment mechanism as a remedy for the defect reported in ticket #2377

comment:5 Changed 8 days ago by smueller

While it is not detected by the standard SETTE restartability test for the ORCA2_ICE_PISCES reference configuration, the defect can be demonstrated using a variant of this test where the restart occcurs after the first year of the model run (e.g., LONG runs for 11680 time steps and SHORT restarts from the model state of LONG at time step 8760). Such a modified restartability test (without the PISCES component) is unsuccessful before r12591 and successful after r12591.

comment:6 Changed 7 days ago by smueller

In 12602:

Addition of XIOS-based restart I/O to the restart capability of option 2 of the freshwater-budget adjustment mechanism (ticket #2377)

This changeset extends the standard restart capability added in r12591 by adding optional XIOS-based restart I/O according to the recipe provided in section 10.2.1 of the reference manual for NEMO version 4.0.1.

comment:7 Changed 7 days ago by smueller

The XIOS-based restart I/O option appears to be faulty in source:/NEMO/trunk@12489 (see #2386) on which source:/NEMO/branches/2020/ticket2377 is based. A preliminary test after merging [12515] and [12521] from branch source:/NEMO/branches/2020/r12377_ticket2386 into a working copy of source:/NEMO/branches/2020/ticket2377 suggests that the newly added restart variables are correctly included in the restart file when option 2 of the freshwater-budget adjustment mechanism and the XIOS-based restart I/O option are active.

Last edited 7 days ago by smueller (previous) (diff)

comment:8 Changed 6 days ago by smueller

In 12608:

Removal of the needless tracking of the freshwater-budget adjustment flux for the previous year (variable a_fwb_b) in option 2 of the freshwater-budget adjustment mechanism (ticket #2377)

Note: See TracTickets for help on using tickets.