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
fa732088
Commit
fa732088
authored
4 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 06/01/2021: bugfix in IO_Select_split_file
parent
f73111b6
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_write_nc4.f90
+5
-0
5 additions, 0 deletions
src/LIB/SURCOUCHE/src/mode_io_write_nc4.f90
with
5 additions
and
0 deletions
src/LIB/SURCOUCHE/src/mode_io_write_nc4.f90
+
5
−
0
View file @
fa732088
...
...
@@ -590,6 +590,8 @@ call IO_Field_create_nc4( tzfile, tzfield, kshape = Shape( pfield ), oiscoord =
istatus
=
NF90_PUT_VAR
(
TZFILE
%
NNCID
,
IVARID
,
PFIELD
)
IF
(
istatus
/
=
NF90_NOERR
)
CALL
IO_Err_handle_nc4
(
istatus
,
'IO_Field_write_nc4_X2'
,
'NF90_PUT_VAR'
,
trim
(
TZFIELD
%
CMNHNAME
),
KRESP
)
if
(
Present
(
kvertlevel
)
)
deallocate
(
tzfield
)
END
SUBROUTINE
IO_Field_write_nc4_X2
...
...
@@ -1133,6 +1135,8 @@ if ( Size( pfield ) > 0 ) then
call
IO_Err_handle_nc4
(
istatus
,
'IO_Field_partial_write_nc4_X2'
,
'NF90_PUT_VAR'
,
Trim
(
tzfield
%
cmnhname
),
kresp
)
end
if
if
(
Present
(
kvertlevel
)
)
deallocate
(
tzfield
)
end
subroutine
IO_Field_partial_write_nc4_X2
...
...
@@ -1920,6 +1924,7 @@ if ( Present( kvertlevel ) ) then
Write
(
ysuffix
,
'( i4.4 )'
)
kvertlevel
tpfileout
=>
tpfile
%
tfiles_ioz
(
kzfile
)
%
tfile
!Copy the values of tpfield to the pointer tpfieldout (new tfielddata)
Allocate
(
tpfieldout
)
tpfieldout
=
tpfield
tpfieldout
%
cmnhname
=
Trim
(
tpfieldout
%
cmnhname
)
//
ysuffix
if
(
Len_trim
(
tpfieldout
%
cstdname
)
>
0
)
tpfieldout
%
cstdname
=
Trim
(
tpfieldout
%
cstdname
)
//
'_at_level_'
//
ysuffix
...
...
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