Opened 3 months ago

Closed 2 months 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 3 months ago by cetlod

In 13331:

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

comment:2 Changed 3 months ago by cetlod

In 13332:

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

comment:3 Changed 3 months ago by cetlod

In 13333:

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

comment:4 Changed 2 months ago by cetlod

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