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
d9e119fe
Commit
d9e119fe
authored
10 months ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 03/05/2024: IO_Dim_main_to_box: support for all Arakawa grid points
parent
ad8b4696
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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
+12
-12
12 additions, 12 deletions
src/LIB/SURCOUCHE/src/mode_io_tools.f90
with
12 additions
and
12 deletions
src/LIB/SURCOUCHE/src/mode_io_tools.f90
+
12
−
12
View file @
d9e119fe
...
...
@@ -105,12 +105,12 @@ SUBROUTINE IO_Dim_main_to_box( TPFIELD )
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
TPFIELD
%
NDIMLIST
(
1
)
=
NMNHDIM_BOX_NI
CASE
(
2
)
CASE
(
2
,
5
,
6
,
8
)
IF
(
TPFIELD
%
NDIMLIST
(
1
)/
=
NMNHDIM_NI_U
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
TPFIELD
%
NDIMLIST
(
1
)
=
NMNHDIM_BOX_NI_U
CASE
(
3
)
CASE
(
3
,
7
)
IF
(
TPFIELD
%
NDIMLIST
(
1
)/
=
NMNHDIM_NI_V
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
...
...
@@ -126,12 +126,12 @@ SUBROUTINE IO_Dim_main_to_box( TPFIELD )
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
TPFIELD
%
NDIMLIST
(
1
)
=
NMNHDIM_BOX_NJ
CASE
(
2
)
CASE
(
2
,
6
)
IF
(
TPFIELD
%
NDIMLIST
(
1
)/
=
NMNHDIM_NJ_U
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
TPFIELD
%
NDIMLIST
(
1
)
=
NMNHDIM_BOX_NJ_U
CASE
(
3
)
CASE
(
3
,
5
,
7
,
8
)
IF
(
TPFIELD
%
NDIMLIST
(
1
)/
=
NMNHDIM_NJ_V
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
...
...
@@ -142,12 +142,12 @@ SUBROUTINE IO_Dim_main_to_box( TPFIELD )
CASE
(
'ZZ'
)
SELECT
CASE
(
TPFIELD
%
NGRID
)
CASE
(
1
,
2
,
3
)
CASE
(
1
,
2
,
3
,
5
)
IF
(
TPFIELD
%
NDIMLIST
(
1
)/
=
NMNHDIM_LEVEL
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
TPFIELD
%
NDIMLIST
(
1
)
=
NMNHDIM_BOX_LEVEL
CASE
(
4
)
CASE
(
4
,
6
,
7
,
8
)
IF
(
TPFIELD
%
NDIMLIST
(
1
)/
=
NMNHDIM_LEVEL_W
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
...
...
@@ -169,12 +169,12 @@ SUBROUTINE IO_Dim_main_to_box( TPFIELD )
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
TPFIELD
%
NDIMLIST
(
1
)
=
NMNHDIM_BOX_NI
CASE
(
2
)
CASE
(
2
,
5
,
6
,
8
)
IF
(
TPFIELD
%
NDIMLIST
(
1
)/
=
NMNHDIM_NI_U
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
TPFIELD
%
NDIMLIST
(
1
)
=
NMNHDIM_BOX_NI_U
CASE
(
3
)
CASE
(
3
,
7
)
IF
(
TPFIELD
%
NDIMLIST
(
1
)/
=
NMNHDIM_NI_V
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 1st dimension'
)
...
...
@@ -191,12 +191,12 @@ SUBROUTINE IO_Dim_main_to_box( TPFIELD )
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 2nd dimension'
)
TPFIELD
%
NDIMLIST
(
2
)
=
NMNHDIM_BOX_NJ
CASE
(
2
)
CASE
(
2
,
6
)
IF
(
TPFIELD
%
NDIMLIST
(
2
)/
=
NMNHDIM_NJ_U
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 2nd dimension'
)
TPFIELD
%
NDIMLIST
(
2
)
=
NMNHDIM_BOX_NJ_U
CASE
(
3
)
CASE
(
3
,
5
,
7
,
8
)
IF
(
TPFIELD
%
NDIMLIST
(
2
)/
=
NMNHDIM_NJ_V
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 2nd dimension'
)
...
...
@@ -206,12 +206,12 @@ SUBROUTINE IO_Dim_main_to_box( TPFIELD )
IF
(
TPFIELD
%
NDIMS
>=
3
)
THEN
SELECT
CASE
(
TPFIELD
%
NGRID
)
CASE
(
1
,
2
,
3
)
CASE
(
1
,
2
,
3
,
5
)
IF
(
TPFIELD
%
NDIMLIST
(
3
)/
=
NMNHDIM_LEVEL
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 3rd dimension'
)
TPFIELD
%
NDIMLIST
(
3
)
=
NMNHDIM_BOX_LEVEL
CASE
(
4
)
CASE
(
4
,
6
,
7
,
8
)
IF
(
TPFIELD
%
NDIMLIST
(
3
)/
=
NMNHDIM_LEVEL_W
)
&
CALL
Print_msg
(
NVERB_ERROR
,
'IO'
,
'IO_Dim_main_to_box'
,
&
trim
(
tpfield
%
cmnhname
)
//
': unexpected 3rd dimension'
)
...
...
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