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
RODIER Quentin
Méso-NH code
Commits
c0b3172f
Commit
c0b3172f
authored
5 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 11/02/2020: bugfix: TDADFILE was wrongly constructed for output files
parent
2d03d41f
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/LIB/SURCOUCHE/src/mode_io_manage_struct.f90
+8
-9
8 additions, 9 deletions
src/LIB/SURCOUCHE/src/mode_io_manage_struct.f90
with
8 additions
and
9 deletions
src/LIB/SURCOUCHE/src/mode_io_manage_struct.f90
+
8
−
9
View file @
c0b3172f
!MNH_LIC Copyright 2016-20
19
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC Copyright 2016-20
20
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC for details. version 1.
!-----------------------------------------------------------------
!! Authors
!! -------
!
! P. Wautelet : 2016: original version
! Author
! P. Wautelet 2016: original version
! Modifications:
! P
hilippe
Wautelet
:
05/2016-04/2018: new data structures and calls for I/O
! P
hilippe
Wautelet
:
21/01/2019: add LIO_ALLOW_NO_BACKUP and LIO_NO_WRITE to modd_io_ll
!
to allow to disable writes (for bench purposes)
! P
.
Wautelet 05/2016-04/2018: new data structures and calls for I/O
! P
.
Wautelet 21/01/2019: add LIO_ALLOW_NO_BACKUP and LIO_NO_WRITE to modd_io_ll
! to allow to disable writes (for bench purposes)
! P. Wautelet 12/03/2019: add TMAINFILE field in TFILEDATA
! P. Wautelet 11/02/2020: bugfix: TDADFILE was wrongly constructed for output files
!-----------------------------------------------------------------
MODULE
MODE_IO_MANAGE_STRUCT
!
...
...
@@ -243,7 +242,7 @@ DO IMI = 1, NMODEL
IF
(
IDX
>
0
)
THEN
OUT_MODEL
(
IMI
)
%
TOUTPUTN
(
IPOS
)
%
NOUTDAD
=
IDX
WRITE
(
YDADNUMBER
,
FMT
=
"('.',I3.3)"
)
OUT_MODEL
(
IMI
)
%
TOUTPUTN
(
IPOS
)
%
NOUTDAD
OUT_MODEL
(
IMI
)
%
TOUTPUTN
(
IPOS
)
%
TFILE
%
TDADFILE
=>
OUT_MODEL
(
NDAD
(
IMI
))
%
T
BACKUP
N
(
IDX
)
%
TFILE
OUT_MODEL
(
IMI
)
%
TOUTPUTN
(
IPOS
)
%
TFILE
%
TDADFILE
=>
OUT_MODEL
(
NDAD
(
IMI
))
%
T
OUTPUT
N
(
IDX
)
%
TFILE
ELSE
OUT_MODEL
(
IMI
)
%
TOUTPUTN
(
IPOS
)
%
NOUTDAD
=
-1
NULLIFY
(
OUT_MODEL
(
IMI
)
%
TOUTPUTN
(
IPOS
)
%
TFILE
%
TDADFILE
)
!No dad file
...
...
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