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 15095 for NEMO/branches/UKMO/NEMO_r4.2RC_GO8_package/src/OCE/SBC/sbcssm.F90 – NEMO

Ignore:
Timestamp:
2021-07-07T13:22:23+02:00 (3 years ago)
Author:
ayoung
Message:

Additional physics changes. Ticket #2648.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_r4.2RC_GO8_package/src/OCE/SBC/sbcssm.F90

    r15062 r15095  
    5959      REAL(wp) ::   zcoef, zf_sbc       ! local scalar 
    6060      REAL(wp), DIMENSION(jpi,jpj,jpts) :: zts 
    61       !!--------------------------------------------------------------------- 
     61      CHARACTER(len=4),SAVE :: stype  
     62      !!---------------------------------------------------------------------  
     63      IF( kt == nit000 ) THEN  
     64         IF( ln_TEOS10 ) THEN  
     65            stype='abs'   ! teos-10: using absolute salinity (sst is converted to potential temperature for the surface module)  
     66         ELSE IF( ln_EOS80  ) THEN  
     67            stype='pra'   ! eos-80: using practical salinity  
     68         ELSE IF ( ln_SEOS) THEN  
     69            stype='seos' ! seos using Simplified Equation of state (sst is converted to potential temperature for the surface module)  
     70         ENDIF  
     71      ENDIF  
    6272      ! 
    6373      !                                        !* surface T-, U-, V- ocean level variables (T, S, depth, velocity) 
     
    170180         CALL iom_put( 'ssu_m', ssu_m ) 
    171181         CALL iom_put( 'ssv_m', ssv_m ) 
    172          CALL iom_put( 'sst_m', sst_m ) 
    173          CALL iom_put( 'sss_m', sss_m ) 
     182         CALL iom_put( 'sst_m_pot', sst_m )  
     183         CALL iom_put( 'sss_m_'//stype, sss_m )  
    174184         CALL iom_put( 'ssh_m', ssh_m ) 
    175185         CALL iom_put( 'e3t_m', e3t_m ) 
Note: See TracChangeset for help on using the changeset viewer.