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.
Changeset 11822 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/TRA/traqsr.F90 – NEMO

Ignore:
Timestamp:
2019-10-29T11:41:36+01:00 (4 years ago)
Author:
acc
Message:

Branch 2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps. Sette tested updates to branch to align with trunk changes between 10721 and 11740. Sette tests are passing but results differ from branch before these changes (except for GYRE_PISCES and VORTEX) and branch results already differed from trunk because of algorithmic fixes. Will need more checks to confirm correctness.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/TRA/traqsr.F90

    r10985 r11822  
    170170               DO jj = 2, jpjm1                       ! Separation in R-G-B depending of the surface Chl 
    171171                  DO ji = fs_2, fs_jpim1 
    172                      zchl    = sf_chl(1)%fnow(ji,jj,1) 
     172                     zchl    = MIN( 10. , MAX( 0.03, sf_chl(1)%fnow(ji,jj,1) ) ) 
    173173                     zCtot   = 40.6  * zchl**0.459 
    174174                     zze     = 568.2 * zCtot**(-0.746) 
     
    340340      REWIND( numnam_ref )              ! Namelist namtra_qsr in reference     namelist 
    341341      READ  ( numnam_ref, namtra_qsr, IOSTAT = ios, ERR = 901) 
    342 901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namtra_qsr in reference namelist', lwp ) 
     342901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namtra_qsr in reference namelist' ) 
    343343      ! 
    344344      REWIND( numnam_cfg )              ! Namelist namtra_qsr in configuration namelist 
    345345      READ  ( numnam_cfg, namtra_qsr, IOSTAT = ios, ERR = 902 ) 
    346 902   IF( ios >  0 )   CALL ctl_nam ( ios , 'namtra_qsr in configuration namelist', lwp ) 
     346902   IF( ios >  0 )   CALL ctl_nam ( ios , 'namtra_qsr in configuration namelist' ) 
    347347      IF(lwm) WRITE ( numond, namtra_qsr ) 
    348348      ! 
Note: See TracChangeset for help on using the changeset viewer.