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.
#326 (Problem with the update of the runoff in sbcrnf.F90) – NEMO

Opened 15 years ago

Closed 15 years ago

Last modified 4 years ago

#326 closed Bug (fixed)

Problem with the update of the runoff in sbcrnf.F90

Reported by: spolod Owned by: nemo
Priority: high Milestone:
Component: OCE Version: v3.0
Severity: Keywords:
Cc:

Description

Hi

Bug in sbcrnf.F90. Too many rivers (to cross) if nn_fsbc > 1 .....

A simple fix is to put a

IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN
<<CODE>>
ENDIF

block around the following code:

100	         ! C a u t i o n : runoff is negative and in kg/m2/s
101	
102	         emp (:,:) = emp (:,:) - ABS( sf_rnf(1)%fnow(:,:) )
103	         emps(:,:) = emps(:,:) - ABS( sf_rnf(1)%fnow(:,:) )

cheers
Stephane

Commit History (1)

ChangesetAuthorTimeChangeLog
1303ctlod2009-02-10T10:17:34+01:00

update emp(:,:) field with runoffs every nn_fsbc only and not at each time step, see ticket: #326

Change History (4)

comment:1 Changed 15 years ago by ctlod

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

comment:2 Changed 4 years ago by jcastill

In 12432:

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

comment:3 Changed 4 years ago by jcastill

In 12433:

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

comment:4 Changed 4 years ago by jcastill

In 12617:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found
Note: See TracTickets for help on using tickets.