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
Méso-NH
Méso-NH code
Commits
daff9222
Commit
daff9222
authored
8 months ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 11/07/2024: outputs: fix for 3D variables in boxes
parent
e3d8450b
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.f90
+3
-2
3 additions, 2 deletions
src/LIB/SURCOUCHE/src/mode_io_tools.f90
with
3 additions
and
2 deletions
src/LIB/SURCOUCHE/src/mode_io_tools.f90
+
3
−
2
View file @
daff9222
...
@@ -226,7 +226,7 @@ SUBROUTINE IO_Dim_box_bounds( TPBOX, TPFIELD, KIINF, KISUP, KJINF, KJSUP, KKINF,
...
@@ -226,7 +226,7 @@ SUBROUTINE IO_Dim_box_bounds( TPBOX, TPFIELD, KIINF, KISUP, KJINF, KJSUP, KKINF,
! Subroutine to return the box boundaries in global coordinates
! Subroutine to return the box boundaries in global coordinates
USE
MODD_BAKOUT
,
ONLY
:
LOUT_PHYSICAL_SIMPLIFIED
USE
MODD_BAKOUT
,
ONLY
:
LOUT_PHYSICAL_SIMPLIFIED
USE
MODD_DIM_n
,
ONLY
:
NIMAX_ll
,
NJMAX_ll
,
NKMAX
USE
MODD_DIM_n
,
ONLY
:
NIMAX_ll
,
NJMAX_ll
,
NKMAX
USE
MODD_FIELD
,
ONLY
:
NMNHDIM_LEVEL
,
NMNHDIM_LEVEL_W
,
TFIELDMETADATA
USE
MODD_FIELD
,
ONLY
:
NMNHDIM_LEVEL
,
NMNHDIM_LEVEL_W
,
NMNHDIM_BOX_LEVEL
,
NMNHDIM_BOX_LEVEL_W
,
TFIELDMETADATA
USE
MODD_OUT_n
,
ONLY
:
CMAINDOMAINNAME
,
TOUTBOXMETADATA
USE
MODD_OUT_n
,
ONLY
:
CMAINDOMAINNAME
,
TOUTBOXMETADATA
USE
MODD_PARAMETERS
,
ONLY
:
JPHEXT
,
JPVEXT
USE
MODD_PARAMETERS
,
ONLY
:
JPHEXT
,
JPVEXT
...
@@ -267,7 +267,8 @@ SUBROUTINE IO_Dim_box_bounds( TPBOX, TPFIELD, KIINF, KISUP, KJINF, KJSUP, KKINF,
...
@@ -267,7 +267,8 @@ SUBROUTINE IO_Dim_box_bounds( TPBOX, TPFIELD, KIINF, KISUP, KJINF, KJSUP, KKINF,
IF
(
.NOT.
PRESENT
(
KKINF
)
.OR.
.NOT.
PRESENT
(
KKSUP
)
)
&
IF
(
.NOT.
PRESENT
(
KKINF
)
.OR.
.NOT.
PRESENT
(
KKSUP
)
)
&
call
Print_msg
(
NVERB_FATAL
,
'IO'
,
'IO_Dim_box_bounds'
,
trim
(
tpfield
%
cmnhname
)
//
': missing needed dummy arguments'
)
call
Print_msg
(
NVERB_FATAL
,
'IO'
,
'IO_Dim_box_bounds'
,
trim
(
tpfield
%
cmnhname
)
//
': missing needed dummy arguments'
)
IF
(
TPFIELD
%
NDIMLIST
(
3
)
==
NMNHDIM_LEVEL
.OR.
TPFIELD
%
NDIMLIST
(
3
)
==
NMNHDIM_LEVEL_W
)
THEN
IF
(
TPFIELD
%
NDIMLIST
(
3
)
==
NMNHDIM_LEVEL
.OR.
TPFIELD
%
NDIMLIST
(
3
)
==
NMNHDIM_LEVEL_W
.OR.
&
TPFIELD
%
NDIMLIST
(
3
)
==
NMNHDIM_BOX_LEVEL
.OR.
TPFIELD
%
NDIMLIST
(
3
)
==
NMNHDIM_BOX_LEVEL_W
)
THEN
KKINF
=
JPVEXT
+
TPBOX
%
NKINF
KKINF
=
JPVEXT
+
TPBOX
%
NKINF
IF
(
TPBOX
%
CNAME
==
CMAINDOMAINNAME
.AND.
TPFIELD
%
NGRID
==
4
.AND.
.NOT.
LOUT_PHYSICAL_SIMPLIFIED
)
THEN
IF
(
TPBOX
%
CNAME
==
CMAINDOMAINNAME
.AND.
TPFIELD
%
NGRID
==
4
.AND.
.NOT.
LOUT_PHYSICAL_SIMPLIFIED
)
THEN
! There is one more PHYSICAL vertical layer for w points (but the same number for physical + unphysical borders)
! There is one more PHYSICAL vertical layer for w points (but the same number for physical + unphysical borders)
...
...
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