Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
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
Méso-NH
Méso-NH code
Commits
e4b068e2
Commit
e4b068e2
authored
1 year ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 01/12/2023: bugfix: modeln: compute correctly number of timesteps between 2 backups
parent
ba5fc933
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/MNH/modeln.f90
+7
-1
7 additions, 1 deletion
src/MNH/modeln.f90
with
7 additions
and
1 deletion
src/MNH/modeln.f90
+
7
−
1
View file @
e4b068e2
...
...
@@ -499,6 +499,7 @@ INTEGER :: IPOINTS
CHARACTER
(
len
=
16
)
::
YTCOUNT
,
YPOINTS
CHARACTER
(
LEN
=
:),
ALLOCATABLE
::
YDADNAME
!
INTEGER
::
IBAKSTEP
! Number of timesteps since previous backup
INTEGER
::
ISYNCHRO
! model synchronic index relative to its father
! = 1 for the first time step in phase with DAD
! = 0 for the last time step (out of phase)
...
...
@@ -1036,7 +1037,12 @@ IF ( nfile_backup_current < NBAK_NUMB ) THEN
CALL
WRITE_SURF_ATM_n
(
YSURF_CUR
,
'MESONH'
,
'ALL'
)
IF
(
KTCOUNT
>
1
)
THEN
CALL
DIAG_SURF_ATM_n
(
YSURF_CUR
,
'MESONH'
)
CALL
WRITE_DIAG_SURF_ATM_n
(
YSURF_CUR
,
'MESONH'
,
'ALL'
,
KTCOUNT
/
nfile_backup_current
)
IF
(
NFILE_BACKUP_CURRENT
==
1
)
THEN
IBAKSTEP
=
KTCOUNT
-
1
ELSE
IBAKSTEP
=
KTCOUNT
-
TBACKUPN
(
NFILE_BACKUP_CURRENT
-
1
)
%
NSTEP
END
IF
CALL
WRITE_DIAG_SURF_ATM_n
(
YSURF_CUR
,
'MESONH'
,
'ALL'
,
IBAKSTEP
)
END
IF
NULLIFY
(
TFILE_SURFEX
)
END
IF
...
...
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