Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
GOSI9esm
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Consortium Members
UKMO
GOSI
GOSI9esm
Commits
1741c8ec
Commit
1741c8ec
authored
1 year ago
by
Guillaume Samson
Browse files
Options
Downloads
Patches
Plain Diff
Merge branch 'asm_flags_hardcoded' into 'branch_4.2'
parent
d3280950
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cfgs/SHARED/namelist_ref
+2
-0
2 additions, 0 deletions
cfgs/SHARED/namelist_ref
src/OCE/ASM/asminc.F90
+14
-14
14 additions, 14 deletions
src/OCE/ASM/asminc.F90
with
16 additions
and
14 deletions
cfgs/SHARED/namelist_ref
+
2
−
0
View file @
1741c8ec
...
...
@@ -1485,6 +1485,7 @@
ln_trainc = .false. ! Logical switch for applying tracer increments
ln_dyninc = .false. ! Logical switch for applying velocity increments
ln_sshinc = .false. ! Logical switch for applying SSH increments
ln_seaiceinc = .false. ! Logical switch for applying Sea ice concentration increments
ln_asmdin = .false. ! Logical switch for Direct Initialization (DI)
ln_asmiau = .false. ! Logical switch for Incremental Analysis Updating (IAU)
nitbkg = 0 ! Timestep of background in [0,nitend-nit000-1]
...
...
@@ -1494,6 +1495,7 @@
niaufn = 0 ! Type of IAU weighting function
ln_salfix = .false. ! Logical switch for ensuring that the sa > salfixmin
salfixmin = -9999 ! Minimum salinity after applying the increments
ln_temnofreeze=.false. ! Don't allow the temperature to drop below freezing
nn_divdmp = 0 ! Number of iterations of divergence damping operator
/
...
...
This diff is collapsed.
Click to expand it.
src/OCE/ASM/asminc.F90
+
14
−
14
View file @
1741c8ec
...
...
@@ -57,16 +57,17 @@ MODULE asminc
#else
LOGICAL
,
PUBLIC
,
PARAMETER
::
lk_asminc
=
.FALSE.
!: No assimilation increments
#endif
LOGICAL
,
PUBLIC
::
ln_bkgwri
!: No output of the background state fields
LOGICAL
,
PUBLIC
::
ln_asmiau
!: No applying forcing with an assimilation increment
LOGICAL
,
PUBLIC
::
ln_asmdin
!: No direct initialization
LOGICAL
,
PUBLIC
::
ln_trainc
!: No tracer (T and S) assimilation increments
LOGICAL
,
PUBLIC
::
ln_dyninc
!: No dynamics (u and v) assimilation increments
LOGICAL
,
PUBLIC
::
ln_sshinc
!: No sea surface height assimilation increment
LOGICAL
,
PUBLIC
::
ln_seaiceinc
!: No sea ice concentration increment
LOGICAL
,
PUBLIC
::
ln_salfix
!: Apply minimum salinity check
LOGICAL
,
PUBLIC
::
ln_temnofreeze
=
.FALSE.
!: Don't allow the temperature to drop below freezing
INTEGER
,
PUBLIC
::
nn_divdmp
!: Apply divergence damping filter nn_divdmp times
LOGICAL
,
PUBLIC
::
ln_bkgwri
!: Logical switch for writing out background state
LOGICAL
,
PUBLIC
::
ln_asmiau
!: Logical switch for Incremental Analysis Updating (IAU)
LOGICAL
,
PUBLIC
::
ln_asmdin
!: Logical switch for Direct Initialization (DI)
LOGICAL
,
PUBLIC
::
ln_trainc
!: Logical switch for applying tracer increments
LOGICAL
,
PUBLIC
::
ln_dyninc
!: Logical switch for applying velocity increments
LOGICAL
,
PUBLIC
::
ln_sshinc
!: Logical switch for applying SSH increments
LOGICAL
,
PUBLIC
::
ln_seaiceinc
!: Logical switch for applying Sea ice concentration increments
LOGICAL
,
PUBLIC
::
ln_salfix
!: Logical switch for ensuring that the sa > salfixmin
LOGICAL
,
PUBLIC
::
ln_temnofreeze
!: Don't allow the temperature to drop below freezing
INTEGER
,
PUBLIC
::
nn_divdmp
!: Number of iterations of divergence damping operator
REAL
(
wp
),
PUBLIC
,
DIMENSION
(:,:,:),
ALLOCATABLE
::
t_bkg
,
s_bkg
!: Background temperature and salinity
REAL
(
wp
),
PUBLIC
,
DIMENSION
(:,:,:),
ALLOCATABLE
::
u_bkg
,
v_bkg
!: Background u- & v- velocity components
...
...
@@ -139,15 +140,13 @@ CONTAINS
&
ln_trainc
,
ln_dyninc
,
ln_sshinc
,
&
&
ln_asmdin
,
ln_asmiau
,
&
&
nitbkg
,
nitdin
,
nitiaustr
,
nitiaufin
,
niaufn
,
&
&
ln_salfix
,
salfixmin
,
nn_divdmp
&
ln_seaiceinc
,
ln_salfix
,
salfixmin
,
&
&
ln_temnofreeze
,
nn_divdmp
!!----------------------------------------------------------------------
!-----------------------------------------------------------------------
! Read Namelist nam_asminc : assimilation increment interface
!-----------------------------------------------------------------------
ln_seaiceinc
=
.FALSE.
ln_temnofreeze
=
.FALSE.
READ
(
numnam_ref
,
nam_asminc
,
IOSTAT
=
ios
,
ERR
=
901
)
901
IF
(
ios
/
=
0
)
CALL
ctl_nam
(
ios
,
'nam_asminc in reference namelist'
)
READ
(
numnam_cfg
,
nam_asminc
,
IOSTAT
=
ios
,
ERR
=
902
)
...
...
@@ -174,6 +173,7 @@ CONTAINS
WRITE
(
numout
,
*
)
' Type of IAU weighting function niaufn = '
,
niaufn
WRITE
(
numout
,
*
)
' Logical switch for ensuring that the sa > salfixmin ln_salfix = '
,
ln_salfix
WRITE
(
numout
,
*
)
' Minimum salinity after applying the increments salfixmin = '
,
salfixmin
WRITE
(
numout
,
*
)
' Do not apply negative increments if the T < freezing ln_temnofreeze = '
,
ln_temnofreeze
ENDIF
nitbkg_r
=
nitbkg
+
nit000
-
1
! Background time referenced to nit000
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment