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 10045 for branches/NERC/dev_r5518_GO6_under_ice_relax/NEMOGCM/NEMO/TOP_SRC/MEDUSA/bio_medusa_update.F90 – NEMO

Ignore:
Timestamp:
2018-08-07T14:19:25+02:00 (6 years ago)
Author:
jpalmier
Message:

Andrew's changes to add the OMIP double_DIC (activated with key_omip_dic)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5518_GO6_under_ice_relax/NEMOGCM/NEMO/TOP_SRC/MEDUSA/bio_medusa_update.F90

    r9163 r10045  
    88   !!   -   ! 2017-08 (A. Yool)            Amend slow-detritus bug 
    99   !!   -   ! 2017-08 (A. Yool)            Reformatting for clarity 
     10   !!   -   ! 2018-08 (A. Yool)            add OMIP preindustrial DIC 
    1011   !!---------------------------------------------------------------------- 
    1112#if defined key_medusa 
     
    3839                                   f_benout_si,                              & 
    3940                                   f_co2flux, f_o2flux,                      & 
     41# if defined key_omip_dic 
     42                                   f_pi_co2flux,                             & ! AXY (06/08/18) 
     43# endif                                    
    4044                                   f_riv_loc_alk, f_riv_loc_c,               & 
    4145                                   f_riv_loc_n, f_riv_loc_si,                &  
     
    395399               fcar_prod(ji,jj) = fcar_prod(ji,jj) + ( fse3t(ji,jj,jk) *     & 
    396400                                                       fc_prod ) 
     401#  if defined key_omip_dic 
     402               !! AXY (06/08/18): OMIP PI DIC has the same BGC fluxes as 
     403               !!                 normal DIC, with the exception of its 
     404               !!                 air-sea exchange; see below 
     405               btra(ji,jj,jpomd_lc) = btra(ji,jj,jpdic_lc) 
     406#  endif                
    397407            ENDIF 
    398408         ENDDO 
     
    573583                  btra(ji,jj,jpdic_lc) = btra(ji,jj,jpdic_lc) + (b0 *              & 
    574584                                                           f_co2flux(ji,jj)) 
     585#  if defined key_omip_dic 
     586                  !! AXY (06/08/18): air-sea CO2 flux is the only difference 
     587                  !!                 between DIC and OMIP PI DIC tracers 
     588                  btra(ji,jj,jpomd_lc) = btra(ji,jj,jpomd_lc) + (b0 *              & 
     589                                                           f_pi_co2flux(ji,jj))                   
     590#  endif                    
    575591                  !! 
    576592                  !! O2 flux (mol/m3/s -> mmol/m3/d) 
     
    624640                  IF (lwp) write (numout,*) 'btra(ji,jj,jpoxy_lc)(',jk,')  = ', & 
    625641                                            btra(ji,jj,jpoxy_lc) 
     642#   if defined key_omip_dic 
     643                  IF (lwp) write (numout,*) 'btra(ji,jj,jpomd_lc)(',jk,')  = ', & 
     644                                            btra(ji,jj,jpomd_lc) 
     645#   endif 
    626646#  endif 
    627647               endif 
     
    731751                  tra(ji,jj,jk,jpoxy) = tra(ji,jj,jk,jpoxy) +                & 
    732752                                        (btra(ji,jj,jpoxy_lc) / 86400.) 
     753#  if defined key_omip_dic 
     754                  tra(ji,jj,jk,jpomd) = tra(ji,jj,jk,jpomd) +                & 
     755                                        (btra(ji,jj,jpomd_lc) / 86400.) 
     756#  endif 
    733757# endif 
    734758               endif 
Note: See TracChangeset for help on using the changeset viewer.