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 14276 for NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/P4Z/p4zint.F90 – NEMO

Ignore:
Timestamp:
2021-01-07T23:09:56+01:00 (3 years ago)
Author:
aumont
Message:

numerous updates to PISCES, PISCES-QUOTA and the sediment module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/P4Z/p4zint.F90

    r12537 r14276  
    3636      ! 
    3737      INTEGER  :: ji, jj                 ! dummy loop indices 
    38       REAL(wp) :: zvar                   ! local variable 
     38      REAL(wp) :: zrum, zcodel, zargu, zvar 
    3939      !!--------------------------------------------------------------------- 
    4040      ! 
     
    4444      ! ------------------------------------------- 
    4545      ! Generic temperature dependence (Eppley, 1972) 
    46       tgfunc (:,:,:) = EXP( 0.063913 * tsn(:,:,:,jp_tem) ) 
     46      tgfunc (:,:,:) = EXP( 0.0631 * tsn(:,:,:,jp_tem) ) 
    4747      ! Temperature dependence of mesozooplankton (Buitenhuis et al. (2005)) 
    48       tgfunc2(:,:,:) = EXP( 0.07608  * tsn(:,:,:,jp_tem) ) 
    49       ! Temperature dependence of picophytoplankton (Stawiarsky et al., 2016) 
    50       tgfunc3(:,:,:) = EXP( 0.0825   * tsn(:,:,:,jp_tem) ) 
     48      tgfunc2(:,:,:) = EXP( 0.0761  * tsn(:,:,:,jp_tem) ) 
    5149 
    5250      ! Computation of the silicon dependant half saturation  constant for silica uptake 
     
    6967      ENDIF 
    7068      ! 
     69      ! compute the day length depending on latitude and the day 
     70      ! Astronomical parameterization taken from HAMOCC3 
     71      zrum = REAL( nday_year - 80, wp ) / REAL( nyear_len(1), wp ) 
     72      zcodel = ASIN(  SIN( zrum * rpi * 2._wp ) * SIN( rad * 23.5_wp )  ) 
     73 
     74      ! day length in hours 
     75      strn(:,:) = 0. 
     76      DO jj = 1, jpj 
     77         DO ji = 1, jpi 
     78            zargu = TAN( zcodel ) * TAN( gphit(ji,jj) * rad ) 
     79            zargu = MAX( -1., MIN(  1., zargu ) ) 
     80            strn(ji,jj) = MAX( 0.0, 24. - 2. * ACOS( zargu ) / rad / 15. ) 
     81         END DO 
     82      END DO 
     83      ! 
    7184      IF( ln_timing )   CALL timing_stop('p4z_int') 
    7285      ! 
Note: See TracChangeset for help on using the changeset viewer.