#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: release-4.0
Severity: minor Keywords:
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 (2)

comment:1 Changed 14 months ago by gsamson

In 11410:

bugfix for negative Chl values in tra_qsr, see #2312

comment:2 Changed 14 months ago by gsamson

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.