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 8131 for branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcdms_medusa.F90 – NEMO

Ignore:
Timestamp:
2017-06-02T17:14:01+02:00 (7 years ago)
Author:
jpalmier
Message:

JPALM -- DMS add an updated version of ANDERSON sheme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcdms_medusa.F90

    r8074 r8131  
    66   !! History : 
    77   !!  -   !  2014-08  (J. Palmieri - A. Yool)    added for UKESM1 project 
     8   !!  -   !  2017-05  (A. Yool)                  add extra Anderson scheme 
    89   !!---------------------------------------------------------------------- 
    910#if defined key_medusa && defined key_roam 
     
    3839!======================================================================= 
    3940! 
    40    SUBROUTINE trc_dms_medusa( chn, chd, mld, xqsr, xdin,   &  !! inputs 
    41      &  dms_andr, dms_simo, dms_aran, dms_hall )              !! outputs 
     41   SUBROUTINE trc_dms_medusa( chn, chd, mld, xqsr, xdin, xlim,  &  !! inputs 
     42     &  dms_andr, dms_simo, dms_aran, dms_hall dms_andm)           !! outputs 
    4243!       
    4344!======================================================================= 
     
    6970      !!                    and is included because it is formally 
    7071      !!                    published (and different from the above) 
     72      !! 
     73      !! AXY (25/05/17): add extra "corrected" Anderson scheme 
     74      !! 
     75      !!                 5. As Anderson et al. (2001) but modified to 
     76      !!                    more accurately reflect nutrient limitation 
     77      !!                    status of phytoplankton community 
    7178      !! 
    7279      !! AXY (08/07/15): amend to remove Julien's original calculation 
     
    8491      REAL(wp), INTENT( in )    :: xqsr                 !! surface irradiance        (W/m2) 
    8592      REAL(wp), INTENT( in )    :: xdin                 !! surface DIN               (mmol N/m3) 
     93      REAL(wp), INTENT( in )    :: xlim                 !! surface DIN limitation    (mmol N/m3) 
    8694      REAL(wp), INTENT( inout ) :: dms_andr             !! DMS surface concentration (nmol/L)  
    8795      REAL(wp), INTENT( inout ) :: dms_simo             !! DMS surface concentration (nmol/L)  
    8896      REAL(wp), INTENT( inout ) :: dms_aran             !! DMS surface concentration (nmol/L)  
    8997      REAL(wp), INTENT( inout ) :: dms_hall             !! DMS surface concentration (nmol/L)  
     98      REAL(wp), INTENT( inout ) :: dms_andm             !! DMS surface concentration (nmol/L)  
    9099! 
    91100      REAL(wp) :: CHL, cmr, sw_dms 
     
    147156           dms_hall = fq3 
    148157        endif 
     158! 
     159! AXY (25/05/17): modified Anderson et al. (2001) 
     160        Jterm = xqsr + 1.0e-6 
     161        !! this version fixes the hard-coded assumption above 
     162        Qterm = xlim 
     163        fq1 = log10(CHL * Jterm * Qterm) 
     164        if (fq1 > 1.72) then 
     165           dms_andm = (8.24 * (fq1 - 1.72)) + 2.29 
     166        else 
     167           dms_andm = 2.29 
     168        endif 
    149169 
    150170  END SUBROUTINE trc_dms_medusa 
Note: See TracChangeset for help on using the changeset viewer.