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/TOP/PISCES/trcice_pisces.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/TOP/PISCES/trcice_pisces.F90

    r10213 r11822  
    119119      zpisc(jpno3,1) =  5.79e-6_wp / rno3  
    120120      zpisc(jpnh4,1) =  3.22e-7_wp / rno3 
     121      zpisc(jplgw,1) =  1.0e-9_wp 
    121122 
    122123      ! ln_p5z 
     
    162163      zpisc(jpno3,2) =  3.51e-06_wp / rno3  
    163164      zpisc(jpnh4,2) =  6.15e-08_wp / rno3  
     165      zpisc(jplgw,2) =  1.0e-9_wp 
    164166 
    165167      ! ln_p5z 
     
    205207      zpisc(jpno3,3) =  2.64e-5_wp / rno3   
    206208      zpisc(jpnh4,3) =  3.39e-7_wp / rno3   
     209      zpisc(jplgw,3) =  1.0e-9_wp 
    207210 
    208211      ! ln_p5z 
     
    249252      zpisc(jpno3,4) = 5.36e-5_wp / rno3 
    250253      zpisc(jpnh4,4) = 7.18e-7_wp / rno3 
     254      zpisc(jplgw,4) = 1.0e-9_wp 
    251255 
    252256      ! ln_p5z 
     
    266270      zpisc(jpgon,4) =  1.05e-8_wp 
    267271      zpisc(jpgop,4) =  1.05e-8_wp 
    268   
     272! 
     273!     ln_ironice and tracers in seaice are redundant. Thus, if tracers in ice 
     274!     is activated, ln_ironice should be set to false 
     275!     ------------------------------------------------------------------------ 
     276      IF( nn_ice_tr /= 0 .AND. ln_ironice ) THEN 
     277         IF(lwp) THEN 
     278            WRITE(numout,*) '   ==>>>   ln_ironice incompatible with nn_ice_tr = ', nn_ice_tr 
     279            WRITE(numout,*) '           Specify your sea ice iron concentration in nampisice instead ' 
     280            WRITE(numout,*) '           ln_ironice is forced to .FALSE. ' 
     281         ENDIF 
     282         ln_ironice = .FALSE. 
     283      ENDIF 
     284!  
    269285      DO jn = jp_pcs0, jp_pcs1 
    270286         IF( cn_trc_o(jn) == 'GL ' ) trc_o(:,:,jn) = zpisc(jn,1)  ! Global case 
     
    310326            trc_i(:,:,jn) = trc_ice_prescr(jn) 
    311327         ENDIF 
    312         
    313328         !-- Baltic 
    314329         IF( cn_cfg == "orca" .OR. cn_cfg == "ORCA" ) THEN      
     
    318333                     trc_i(:,:,jn) = zratio(jn,2) * trc_o(:,:,jn)  
    319334               END WHERE 
    320             ELSE                                 ! prescribed tracer concentration in ice 
    321                WHERE( 14._wp <= glamt(:,:) .AND. glamt(:,:) <= 32._wp .AND.    & 
    322                    54._wp <= gphit(:,:) .AND. gphit(:,:) <= 66._wp ) 
    323                      trc_i(:,:,jn) = trc_ice_prescr(jn) 
    324                END WHERE 
    325             ENDIF ! trc_ice_ratio 
     335            ENDIF 
    326336         ENDIF 
    327337      ! 
Note: See TracChangeset for help on using the changeset viewer.