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.
#2499 (Major bug when activating bio-model light penetration) – NEMO

Opened 4 years ago

Closed 4 years ago

#2499 closed Defect (fixed)

Major bug when activating bio-model light penetration

Reported by: cetlod Owned by: systeam
Priority: high Milestone:
Component: MULTIPLE Version:
Severity: minor Keywords:
Cc:

Description

Context

When using the simulated time varying chlorophyll by TOP biogeochemical model ( ln_qsr_bio =.true. ) to compute the light absorption in the ocean, the heat content trend due to Qsr flux is always zero everytime

Analysis

In tra_qsr_init, the level of light extinction ( nksr ) is not computed in case of BIO light penetration (np_BIO) and then set to 0 by default. The heat content trend is not computed and stay equal to its initial values

  DO jk = 1, nksr
     qsr_hc(:,:,jk) = r1_rau0_rcp * ( etot3(:,:,jk) - etot3(:,:,jk+1) )
  END DO

Recommendation

Compute the tabulated attenuation coef and the level of light extinction exactly in the same way than the RGB light penetration

     CASE( np_BIO )                   !==  BIO light penetration  ==!
         !
         IF(lwp) WRITE(numout,*) '   ==>>>   bio-model light penetration'
         IF( .NOT.lk_top )   CALL ctl_stop( 'No bio model : ln_qsr_bio = true impossible ' )
         CALL trc_oce_rgb( rkrgb )                 ! tabulated attenuation coef.
         !
         nksr = trc_oce_ext_lev( r_si2, 33._wp )   ! level of light extinction
         !
         IF(lwp) WRITE(numout,*) '        level of light extinction = ', nksr, ' ref depth = ', gdepw_1d(nksr+1), ' m'

         !
      END SELECT

Commit History (3)

ChangesetAuthorTimeChangeLog
13333cetlod2020-07-22T16:05:31+02:00

trunk : bugfix in the heat content trend when activating bio-model light penetration, see ticket #2499

13332cetlod2020-07-22T16:04:36+02:00

r4.0-HEAD_r12713_clem_dan_fixcpl : bugfix in the heat content trend when activating bio-model light penetration, see ticket #2499

13331cetlod2020-07-22T16:00:04+02:00

r4.0-HEAD : bugfix in the heat content trend when activating bio-model light penetration, see ticket #2499

Change History (4)

comment:1 Changed 4 years ago by cetlod

In 13331:

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

comment:2 Changed 4 years ago by cetlod

In 13332:

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

comment:3 Changed 4 years ago by cetlod

In 13333:

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

comment:4 Changed 4 years ago by cetlod

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