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
906f26d7
Commit
906f26d7
authored
3 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 22/07/2021: bugfix: replace OUTPUT by MNHOUTPUT for filetype
parent
946fe002
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/LIB/SURCOUCHE/src/mode_io_file.f90
+1
-1
1 addition, 1 deletion
src/LIB/SURCOUCHE/src/mode_io_file.f90
src/LIB/SURCOUCHE/src/mode_io_manage_struct.f90
+1
-1
1 addition, 1 deletion
src/LIB/SURCOUCHE/src/mode_io_manage_struct.f90
with
2 additions
and
2 deletions
src/LIB/SURCOUCHE/src/mode_io_file.f90
+
1
−
1
View file @
906f26d7
...
@@ -555,7 +555,7 @@ SELECT CASE(TPFILE%CTYPE)
...
@@ -555,7 +555,7 @@ SELECT CASE(TPFILE%CTYPE)
!Remark: 'MNH' is more general than MNHBACKUP and could be in fact a MNHBACKUP file
!Remark: 'MNH' is more general than MNHBACKUP and could be in fact a MNHBACKUP file
CASE
(
'MNH'
,
'MNHBACKUP'
,
'MNHDIACHRONIC'
,
'MNHDIAG'
,
'MNHOUTPUT'
,
'PGD'
)
CASE
(
'MNH'
,
'MNHBACKUP'
,
'MNHDIACHRONIC'
,
'MNHDIAG'
,
'MNHOUTPUT'
,
'PGD'
)
!Do not close (non-existing) '.des' file if OUTPUT
!Do not close (non-existing) '.des' file if OUTPUT
IF
(
TPFILE
%
CTYPE
/
=
'OUTPUT'
.AND.
CPROGRAM
/
=
'LFICDF'
)
THEN
IF
(
TPFILE
%
CTYPE
/
=
'
MNH
OUTPUT'
.AND.
CPROGRAM
/
=
'LFICDF'
)
THEN
CALL
IO_File_find_byname
(
TRIM
(
TPFILE
%
CNAME
)//
'.des'
,
TZFILE_DES
,
IRESP
)
CALL
IO_File_find_byname
(
TRIM
(
TPFILE
%
CNAME
)//
'.des'
,
TZFILE_DES
,
IRESP
)
IF
(
IRESP
/
=
0
)
CALL
PRINT_MSG
(
NVERB_ERROR
,
'IO'
,
'IO_File_close'
,
'file '
//
TRIM
(
TPFILE
%
CNAME
)//
'.des not in filelist'
)
IF
(
IRESP
/
=
0
)
CALL
PRINT_MSG
(
NVERB_ERROR
,
'IO'
,
'IO_File_close'
,
'file '
//
TRIM
(
TPFILE
%
CNAME
)//
'.des not in filelist'
)
CALL
IO_File_close
(
TZFILE_DES
,
KRESP
=
IRESP
,
HPROGRAM_ORIG
=
HPROGRAM_ORIG
)
CALL
IO_File_close
(
TZFILE_DES
,
KRESP
=
IRESP
,
HPROGRAM_ORIG
=
HPROGRAM_ORIG
)
...
...
This diff is collapsed.
Click to expand it.
src/LIB/SURCOUCHE/src/mode_io_manage_struct.f90
+
1
−
1
View file @
906f26d7
...
@@ -959,7 +959,7 @@ SELECT CASE(TPFILE%CTYPE)
...
@@ -959,7 +959,7 @@ SELECT CASE(TPFILE%CTYPE)
TPFILE
%
NLFITYPE
=
ILFITYPE
TPFILE
%
NLFITYPE
=
ILFITYPE
TPFILE
%
NLFIVERB
=
ILFIVERB
TPFILE
%
NLFIVERB
=
ILFIVERB
!
!
IF
(
TRIM
(
HTYPE
)
==
'OUTPUT'
)
THEN
IF
(
TRIM
(
HTYPE
)
==
'
MNH
OUTPUT'
)
THEN
TPFILE
%
LNCREDUCE_FLOAT_PRECISION
=
LOUT_REDUCE_FLOAT_PRECISION
(
IMI
)
TPFILE
%
LNCREDUCE_FLOAT_PRECISION
=
LOUT_REDUCE_FLOAT_PRECISION
(
IMI
)
TPFILE
%
LNCCOMPRESS
=
LOUT_COMPRESS
(
IMI
)
TPFILE
%
LNCCOMPRESS
=
LOUT_COMPRESS
(
IMI
)
TPFILE
%
NNCCOMPRESS_LEVEL
=
NOUT_COMPRESS_LEVEL
(
IMI
)
TPFILE
%
NNCCOMPRESS_LEVEL
=
NOUT_COMPRESS_LEVEL
(
IMI
)
...
...
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