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 15670 for branches/UKMO/AMM15_v3_6_STABLE_package_collate_amm7ps45/NEMOGCM/NEMO/OPA_SRC/ASM – NEMO

Ignore:
Timestamp:
2022-01-25T15:20:24+01:00 (2 years ago)
Author:
petesykes
Message:

Adding PS45 AMM7 changes

Location:
branches/UKMO/AMM15_v3_6_STABLE_package_collate_amm7ps45/NEMOGCM/NEMO/OPA_SRC/ASM
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/AMM15_v3_6_STABLE_package_collate_amm7ps45/NEMOGCM/NEMO/OPA_SRC/ASM/asminc.F90

    r10728 r15670  
    7676   LOGICAL, PUBLIC :: ln_trainc = .FALSE.      !: No tracer (T and S) assimilation increments 
    7777   LOGICAL, PUBLIC :: ln_dyninc = .FALSE.      !: No dynamics (u and v) assimilation increments 
     78   LOGICAL, PUBLIC :: ln_ssh_hs_cons = .FALSE. !: Conserve heat and salt when adding SSH increment 
    7879   LOGICAL, PUBLIC :: ln_sshinc = .FALSE.      !: No sea surface height assimilation increment 
    7980   LOGICAL, PUBLIC :: ln_seaiceinc             !: No sea ice concentration increment 
     
    8889   REAL(wp), PUBLIC, DIMENSION(:,:,:), ALLOCATABLE ::   u_bkginc, v_bkginc   !: Increment to the u- & v-components  
    8990   REAL(wp), PUBLIC, DIMENSION(:)    , ALLOCATABLE ::   wgtiau               !: IAU weights for each time step 
    90 #if defined key_asminc 
    9191   REAL(wp), PUBLIC, DIMENSION(:,:), ALLOCATABLE ::   ssh_iau           !: IAU-weighted sea surface height increment 
    92 #endif 
    9392   !                                !!! time steps relative to the cycle interval [0,nitend-nit000-1] 
    9493   INTEGER , PUBLIC ::   nitbkg      !: Time step of the background state used in the Jb term 
     
    173172         &                 ln_pno3inc, ln_psi4inc, ln_pdicinc, ln_palkinc, & 
    174173         &                 ln_pphinc, ln_po2inc, ln_ppo4inc,               & 
    175          &                 ln_asmdin, ln_asmiau,                           & 
     174         &                 ln_asmdin, ln_asmiau, ln_ssh_hs_cons,           & 
    176175         &                 nitbkg, nitdin, nitiaustr, nitiaufin, niaufn,   & 
    177176         &                 ln_salfix, salfixmin, nn_divdmp, nitavgbkg,     & 
     
    193192      ln_asmiau = .TRUE. 
    194193      ln_salfix = .FALSE. 
     194      ln_ssh_hs_cons = .FALSE. 
    195195      ln_temnofreeze = .FALSE. 
    196196      salfixmin = -9999 
     
    222222         WRITE(numout,*) '      Logical switch for applying tracer increments            ln_trainc = ', ln_trainc 
    223223         WRITE(numout,*) '      Logical switch for applying velocity increments          ln_dyninc = ', ln_dyninc 
     224         WRITE(numout,*) '      Logical switch for conserving heat/salt when applying SSH increments ln_ssh_hs_cons = ', ln_ssh_hs_cons 
    224225         WRITE(numout,*) '      Logical switch for applying SSH increments               ln_sshinc = ', ln_sshinc 
    225226         WRITE(numout,*) '      Logical switch for Direct Initialization (DI)            ln_asmdin = ', ln_asmdin 
Note: See TracChangeset for help on using the changeset viewer.