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.
#2717 (Missing call to asm_bkg_write (trunk version)) – NEMO

Opened 3 years ago

Closed 3 years ago

#2717 closed Bug (fixed)

Missing call to asm_bkg_write (trunk version)

Reported by: timgraham Owned by: systeam
Priority: low Milestone:
Component: ASM Version: trunk
Severity: minor Keywords:
Cc:

Description

Context

Somewhere in the development of NEMO4.0 the call to asm_bkg_wri has been removed from step. This means that the assim_background_Jb file is not written out when nitbkg is anything other than zero (in the case where it's zero there is a call from asm_init).

Fix

Reinstate "call asm_bkg_wri(kt)" in step.F90.

Commit History (1)

ChangesetAuthorTimeChangeLog
15398timgraham2021-10-19T10:49:42+02:00

Bug fix for #2717 (missing calls to asm_bkg_wri)

Change History (2)

comment:1 Changed 3 years ago by timgraham

In 15398:

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

comment:2 Changed 3 years ago by timgraham

  • Resolution set to fixed
  • Status changed from new to closed

This has now been fixed in the trunk at r15398 (see above commit). The final fix was to add:

         IF( ln_bkgwri )    CALL asm_bkg_wri( kstp, Nnn )     ! output background fields

to both step.F90 and stpmlf.F90

An extra if statement has also been added around asm_bkg_wri so that the file is only written on the last tile or if tiling is inactive.

Note: See TracTickets for help on using tickets.