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
ef03d5ee
Commit
ef03d5ee
authored
4 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 22/09/2020: IO: write 'one' dimension in synchronic files if necessary
parent
6b293c3f
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_tools_nc4.f90
+7
-4
7 additions, 4 deletions
src/LIB/SURCOUCHE/src/mode_io_tools_nc4.f90
with
7 additions
and
4 deletions
src/LIB/SURCOUCHE/src/mode_io_tools_nc4.f90
+
7
−
4
View file @
ef03d5ee
...
...
@@ -242,7 +242,7 @@ SUBROUTINE IO_Knowndims_set_nc4(TPFILE,HPROGRAM_ORIG)
use
modd_budget
,
only
:
cbutype
,
lbu_icp
,
lbu_jcp
,
lbu_kcp
,
nbuimax_ll
,
nbujmax_ll
,
nbukmax
,
nbumask
,
nbuwrnb
use
modd_lbc_n
,
only
:
clbcx
,
clbcy
USE
MODD_CONF
,
ONLY
:
CPROGRAM
,
l2d
USE
MODD_CONF
,
ONLY
:
CPROGRAM
,
l2d
,
lpack
USE
MODD_CONF_n
,
ONLY
:
CSTORAGE_TYPE
USE
MODD_DIM_n
,
ONLY
:
NIMAX_ll
,
NJMAX_ll
,
NKMAX
use
modd_les
,
only
:
nles_k
,
nspectra_k
,
xles_temp_mean_start
,
xles_temp_mean_step
,
xles_temp_mean_end
...
...
@@ -296,11 +296,14 @@ ELSE
IF
(
.NOT.
ASSOCIATED
(
PIOCDF
%
DIMTIME
))
ALLOCATE
(
PIOCDF
%
DIMTIME
)
END
IF
!Write dimensions used in diachronic files
if
(
tpfile
%
ctype
==
'MNHDIACHRONIC'
)
then
!Dimension of size 1 used for NMNHDIM_
UNUSED
if
(
tpfile
%
ctype
==
'MNHDIACHRONIC'
.or.
(
lpack
.and.
l2d
)
)
then
!Dimension of size 1 used for NMNHDIM_
ONE
tzdimcdf
=>
IO_Dimcdf_get_nc4
(
tpfile
,
1_CDFINT
,
hdimname
=
'one'
)
end
if
!Write dimensions used in diachronic files
if
(
tpfile
%
ctype
==
'MNHDIACHRONIC'
)
then
!Dimension of size 2 used for NMNHDIM_COMPLEX
tzdimcdf
=>
IO_Dimcdf_get_nc4
(
tpfile
,
2_CDFINT
,
hdimname
=
'real_imaginary'
)
...
...
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