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
a593a050
Commit
a593a050
authored
6 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 10/01/2019: IO: bug: modify some metadata before open calls
parent
0e4bc25b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/LIB/SURCOUCHE/src/mode_io.f90
+6
-4
6 additions, 4 deletions
src/LIB/SURCOUCHE/src/mode_io.f90
with
6 additions
and
4 deletions
src/LIB/SURCOUCHE/src/mode_io.f90
+
6
−
4
View file @
a593a050
...
...
@@ -22,6 +22,7 @@
! Philippe Wautelet: 10/01/2019: use NEWUNIT argument of OPEN
! + move IOFREEFLU and IONEWFLU to mode_io_file_lfi.f90
! + move management of NNCID and NLFIFLU to the nc4 and lfi subroutines
! Philippe Wautelet: 10/01/2019: bug: modify some metadata before open calls
!
MODULE
MODE_IO_ll
...
...
@@ -613,6 +614,11 @@ CONTAINS
TZSPLITFILE
%
LMULTIMASTERS
=
.FALSE.
TZSPLITFILE
%
NSUBFILES_IOZ
=
0
! Must be done BEFORE the call to io_open_file_* because we need to read things in these subroutines
TZSPLITFILE
%
LOPENED
=
.TRUE.
TZSPLITFILE
%
NOPEN
=
TZSPLITFILE
%
NOPEN
+
1
TZSPLITFILE
%
NOPEN_CURRENT
=
TZSPLITFILE
%
NOPEN_CURRENT
+
1
#if defined(MNH_IOCDF4)
IF
(
TZSPLITFILE
%
CFORMAT
==
'NETCDF4'
.OR.
TZSPLITFILE
%
CFORMAT
==
'LFICDF4'
)
THEN
IF
(
YACTION
==
'READ'
)
THEN
...
...
@@ -637,10 +643,6 @@ CONTAINS
END
SELECT
ENDIF
!
TZSPLITFILE
%
LOPENED
=
.TRUE.
TZSPLITFILE
%
NOPEN
=
TZSPLITFILE
%
NOPEN
+
1
TZSPLITFILE
%
NOPEN_CURRENT
=
TZSPLITFILE
%
NOPEN_CURRENT
+
1
!
ENDDO
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