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.
#2312 (potential negative surface Chl values with OTF interpolation in traqsr.F90) – NEMO

Opened 3 years ago

Closed 3 years ago

Last modified 12 months ago

#2312 closed Bug (fixed)

potential negative surface Chl values with OTF interpolation in traqsr.F90

Reported by: gsamson Owned by: gsamson
Priority: low Milestone:
Component: TRA Version: v4.0
Severity: minor Keywords: v4.0
Cc:

Description

Context

OTF interpolation can create surface Chl negative values when reading Chl data (nn_chldta = 1) with small values (~10e-3) in tra_qsr routine.

Analysis

"zCtot = 40.6 * zchl0.459" will crash nemo if zchl < 0

Fix

add physical limits to surface Chl as it is done for 3D Chl profiles:

zch = MIN( 10. , MAX( 0.03, sf_chl(1)%fnow(ji,jj,1) ) )

Commit History (1)

ChangesetAuthorTimeChangeLog
11410gsamson2019-08-06T16:50:38+02:00

bugfix for negative Chl values in tra_qsr, see #2312

Change History (3)

comment:1 Changed 3 years ago by gsamson

In 11410:

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

comment:2 Changed 3 years ago by gsamson

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

comment:3 Changed 12 months ago by nemo

  • Keywords v4.0 added
Note: See TracTickets for help on using tickets.