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 2082 for branches/DEV_r2006_merge_TRA_TRC/NEMO/TOP_SRC/C14b/trcsms_c14b.F90 – NEMO

Ignore:
Timestamp:
2010-09-10T12:32:58+02:00 (14 years ago)
Author:
cetlod
Message:

Improve the merge of TRA-TRC, see ticket #717

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r2006_merge_TRA_TRC/NEMO/TOP_SRC/C14b/trcsms_c14b.F90

    r2038 r2082  
    234234            !  Computation of solubility   
    235235            IF (tmask(ji,jj,1) >  0.) THEN 
    236                ztp  = ( tn(ji,jj,1) + 273.16 ) * 0.01 
     236               ztp  = ( tsn(ji,jj,1,jp_tem) + 273.16 ) * 0.01 
    237237               zsk  = 0.023517 + ztp * ( -0.023656 + 0.0047036 * ztp ) 
    238                zsol = EXP( -60.2409 + 93.4517 / ztp  + 23.3585 * LOG( ztp ) + zsk * sn(ji,jj,1) ) 
     238               zsol = EXP( -60.2409 + 93.4517 / ztp  + 23.3585 * LOG( ztp ) + zsk * tsn(ji,jj,1,jp_sal) ) 
    239239               ! convert solubilities [mol/(l * atm)] -> [mol/(m^3 * ppm)] 
    240240               zsol = zsol * 1.0e-03 
     
    247247 
    248248            ! Computes the Schmidt number of CO2 in seawater 
    249             zt   = tn(ji,jj,1) 
     249            zt   = tsn(ji,jj,1,jp_tem) 
    250250            zsch = 2073.1 + zt * ( -125.62 + zt * (3.6276 - 0.043219 * zt ) ) 
    251251 
Note: See TracChangeset for help on using the changeset viewer.