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
d12f5183
Commit
d12f5183
authored
6 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 24/07/2018: SPAWNING: bug correction: model top (XZTOP) was not spawned
parent
423e9d99
No related branches found
Branches containing commit
Tags
PACK-MNH-V5-4-1
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/MNH/modd_spawn.f90
+1
-0
1 addition, 0 deletions
src/MNH/modd_spawn.f90
src/MNH/spawn_grid2.f90
+5
-2
5 additions, 2 deletions
src/MNH/spawn_grid2.f90
src/MNH/spawn_model2.f90
+4
-3
4 additions, 3 deletions
src/MNH/spawn_model2.f90
src/MNH/spawning.f90
+1
-0
1 addition, 0 deletions
src/MNH/spawning.f90
with
11 additions
and
5 deletions
src/MNH/modd_spawn.f90
+
1
−
0
View file @
d12f5183
...
...
@@ -65,6 +65,7 @@ CHARACTER (LEN=28) :: CDADSPAFILE ! DAD fm-file for spawning file
REAL
,
DIMENSION
(:),
SAVE
,
POINTER
::
XXHAT1
=>
NULL
()
REAL
,
DIMENSION
(:),
SAVE
,
POINTER
::
XYHAT1
=>
NULL
()
REAL
,
DIMENSION
(:),
SAVE
,
POINTER
::
XZHAT1
=>
NULL
()
REAL
,
SAVE
,
POINTER
::
XZTOP1
=>
NULL
()
REAL
,
DIMENSION
(:,:),
SAVE
,
POINTER
::
XZS1
=>
NULL
()
REAL
,
DIMENSION
(:,:),
SAVE
,
POINTER
::
XZSMT1
=>
NULL
()
REAL
,
DIMENSION
(:,:,:),
SAVE
,
POINTER
::
XZZ1
=>
NULL
()
...
...
This diff is collapsed.
Click to expand it.
src/MNH/spawn_grid2.f90
+
5
−
2
View file @
d12f5183
...
...
@@ -10,7 +10,7 @@ MODULE MODI_SPAWN_GRID2
INTERFACE
!
SUBROUTINE
SPAWN_GRID2
(
KXOR
,
KYOR
,
KXEND
,
KYEND
,
KDXRATIO
,
KDYRATIO
,
&
PLONOR
,
PLATOR
,
PXHAT
,
PYHAT
,
PZHAT
,
&
PLONOR
,
PLATOR
,
PXHAT
,
PYHAT
,
PZHAT
,
PZTOP
,
&
OSLEVE
,
PLEN1
,
PLEN2
,
&
PZS
,
PZSMT
,
PZS_LS
,
PZSMT_LS
,
&
TPDTMOD
,
TPDTCUR
)
...
...
@@ -27,6 +27,7 @@ REAL, INTENT(INOUT) :: PLATOR ! Latitude of the origi
REAL
,
INTENT
(
INOUT
)
::
PLONOR
! Longitude of the origine point
REAL
,
DIMENSION
(:),
INTENT
(
INOUT
)
::
PXHAT
,
PYHAT
,
PZHAT
! positions x,y,z in the
! conformal plane or on the cartesian plane
REAL
,
INTENT
(
OUT
)
::
PZTOP
! model top (m)
LOGICAL
,
INTENT
(
OUT
)
::
OSLEVE
! flag for SLEVE coordinate
REAL
,
INTENT
(
OUT
)
::
PLEN1
! Decay scale for smooth topography
REAL
,
INTENT
(
OUT
)
::
PLEN2
! Decay scale for small-scale topography deviation
...
...
@@ -48,7 +49,7 @@ END MODULE MODI_SPAWN_GRID2
!
! #########################################################################
SUBROUTINE
SPAWN_GRID2
(
KXOR
,
KYOR
,
KXEND
,
KYEND
,
KDXRATIO
,
KDYRATIO
,
&
PLONOR
,
PLATOR
,
PXHAT
,
PYHAT
,
PZHAT
,
&
PLONOR
,
PLATOR
,
PXHAT
,
PYHAT
,
PZHAT
,
PZTOP
,
&
OSLEVE
,
PLEN1
,
PLEN2
,
&
PZS
,
PZSMT
,
PZS_LS
,
PZSMT_LS
,
&
TPDTMOD
,
TPDTCUR
)
...
...
@@ -188,6 +189,7 @@ REAL, INTENT(INOUT) :: PLATOR ! Latitude of the origi
REAL
,
INTENT
(
INOUT
)
::
PLONOR
! Longitude of the origine point
REAL
,
DIMENSION
(:),
INTENT
(
INOUT
)
::
PXHAT
,
PYHAT
,
PZHAT
! positions x,y,z in the
! conformal plane or on the cartesian plane
REAL
,
INTENT
(
OUT
)
::
PZTOP
! model top (m)
LOGICAL
,
INTENT
(
OUT
)
::
OSLEVE
! flag for SLEVE coordinate
REAL
,
INTENT
(
OUT
)
::
PLEN1
! Decay scale for smooth topography
REAL
,
INTENT
(
OUT
)
::
PLEN2
! Decay scale for small-scale topography deviation
...
...
@@ -302,6 +304,7 @@ END IF
!* 2. INITIALIZATION OF THE GRID OF MODEL 2:
! --------------------------------------
!
PZTOP
=
XZTOP1
PZHAT
(:)
=
XZHAT1
(:)
OSLEVE
=
LSLEVE1
PLEN1
=
XLEN11
...
...
This diff is collapsed.
Click to expand it.
src/MNH/spawn_model2.f90
+
4
−
3
View file @
d12f5183
...
...
@@ -728,6 +728,7 @@ END IF
!* 4.4 Grid variables (module MODD_GRID2 and MODD_METRICS2):
!
ALLOCATE
(
XXHAT
(
IIU
),
XYHAT
(
IJU
),
XZHAT
(
IKU
))
ALLOCATE
(
XZTOP
)
ALLOCATE
(
XMAP
(
IIU
,
IJU
))
ALLOCATE
(
XLAT
(
IIU
,
IJU
))
ALLOCATE
(
XLON
(
IIU
,
IJU
))
...
...
@@ -1045,9 +1046,9 @@ ELSE
NYEND_TMP
=
NYEND
ENDIF
XZS
=
0.
CALL
SPAWN_GRID2
(
NXOR
,
NYOR
,
NXEND
,
NYEND
,
NDXRATIO
,
NDYRATIO
,
&
XLONORI
,
XLATORI
,
XXHAT
,
XYHAT
,
XZHAT
,
LSLEVE
,
XLEN1
,
XLEN2
,
&
XZS
,
XZSMT
,
ZZS_LS
,
ZZSMT_LS
,
TDTMOD
,
TDTCUR
)
CALL
SPAWN_GRID2
(
NXOR
,
NYOR
,
NXEND
,
NYEND
,
NDXRATIO
,
NDYRATIO
,
&
XLONORI
,
XLATORI
,
XXHAT
,
XYHAT
,
XZHAT
,
XZTOP
,
LSLEVE
,
XLEN1
,
XLEN2
,
&
XZS
,
XZSMT
,
ZZS_LS
,
ZZSMT_LS
,
TDTMOD
,
TDTCUR
)
!
CALL
MPPDB_CHECK2D
(
ZZS_LS
,
"SPAWN_MOD2:ZZS_LS"
,
PRECISION
)
CALL
MPPDB_CHECK2D
(
ZZSMT_LS
,
"SPAWN_MOD2:ZZSMT_LS"
,
PRECISION
)
...
...
This diff is collapsed.
Click to expand it.
src/MNH/spawning.f90
+
1
−
0
View file @
d12f5183
...
...
@@ -278,6 +278,7 @@ USE MODD_PRECIP_n
XXHAT1
=>
XXHAT
XYHAT1
=>
XYHAT
XZHAT1
=>
XZHAT
XZTOP1
=>
XZTOP
XZS1
=>
XZS
XZSMT1
=>
XZSMT
XZZ1
=>
XZZ
...
...
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