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 14190 for branches/UKMO/AMM15_v3_6_STABLE_package_collate/NEMOGCM/NEMO/OPA_SRC/ASM/asminc.F90 – NEMO

Ignore:
Timestamp:
2020-12-16T13:31:27+01:00 (4 years ago)
Author:
kingr
Message:

Allow heat/salt conservation when assimilating SSH to be namelist controlled.

File:
1 edited

Legend:

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

    r13318 r14190  
    7878   LOGICAL, PUBLIC :: ln_trainc = .FALSE.      !: No tracer (T and S) assimilation increments 
    7979   LOGICAL, PUBLIC :: ln_dyninc = .FALSE.      !: No dynamics (u and v) assimilation increments 
     80   LOGICAL, PUBLIC :: ln_ssh_hs_cons = .FALSE. !: Conserve heat and salt when adding SSH increment 
    8081   LOGICAL, PUBLIC :: ln_sshinc = .FALSE.      !: No sea surface height assimilation increment 
    8182   LOGICAL, PUBLIC :: ln_seaiceinc = .FALSE.   !: No sea ice concentration increment 
     
    178179         &                 ln_pno3inc, ln_psi4inc, ln_pdicinc, ln_palkinc, & 
    179180         &                 ln_pphinc, ln_po2inc, ln_ppo4inc,               & 
    180          &                 ln_asmdin, ln_asmiau,                           & 
     181         &                 ln_asmdin, ln_asmiau, ln_ssh_hs_cons,           & 
    181182         &                 nitbkg, nitdin, nitiaustr, nitiaufin, niaufn,   & 
    182183         &                 ln_salfix, salfixmin, nn_divdmp, nitavgbkg,     & 
     
    198199      ln_salfix = .FALSE. 
    199200 
     201      ln_ssh_hs_cons = .FALSE. 
    200202      ln_seaiceinc = .FALSE. 
    201203      ln_sitinc = .FALSE. 
     
    230232         WRITE(numout,*) '      Logical switch for applying tracer increments            ln_trainc = ', ln_trainc 
    231233         WRITE(numout,*) '      Logical switch for applying velocity increments          ln_dyninc = ', ln_dyninc 
     234         WRITE(numout,*) '      Logical switch for conserving heat/salt when applying SSH increments ln_ssh_hs_cons = ', ln_ssh_hs_cons 
    232235         WRITE(numout,*) '      Logical switch for applying SSH increments               ln_sshinc = ', ln_sshinc 
    233236         WRITE(numout,*) '      Logical switch for applying SIC increments               ln_seaiceinc = ', ln_seaiceinc 
Note: See TracChangeset for help on using the changeset viewer.