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
504caf74
Commit
504caf74
authored
4 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 28/08/2020: budgets: bugfix: allocate ZWORK6 at the correct dimension (3rd one)
parent
e460acd3
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/MNH/mode_les_diachro.f90
+5
-4
5 additions, 4 deletions
src/MNH/mode_les_diachro.f90
with
5 additions
and
4 deletions
src/MNH/mode_les_diachro.f90
+
5
−
4
View file @
504caf74
!MNH_LIC Copyright 1994-20
18
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC Copyright 1994-20
20
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC for details. version 1.
...
...
@@ -602,7 +602,8 @@ SUBROUTINE LES_TIME_AVG(PTRAJT,PWORK6,KRESP,PDATIME_AVG)
! this routine computes time averaging
!
! Modifications:
! 03/2018 (P.Wautelet) replace ADD_FORECAST_TO_DATE by DATETIME_CORRECTDATE
! P. Wautelet 03/2018: replace ADD_FORECAST_TO_DATE by DATETIME_CORRECTDATE
! P. Wautelet 28/08/2020: bugfix: allocate ZWORK6 at the correct dimension (3rd one)
!
USE
MODD_LES
USE
MODD_TYPE_DATE
...
...
@@ -651,7 +652,7 @@ DEALLOCATE(PDATIME_AVG)
!
ALLOCATE
(
PTRAJT
(
IAVG
,
1
))
ALLOCATE
(
PDATIME_AVG
(
16
,
IAVG
))
ALLOCATE
(
ZWORK6
(
SIZE
(
PWORK6
,
1
),
SIZE
(
PWORK6
,
2
),
NLES_K
,
IAVG
,
SIZE
(
PWORK6
,
5
),
SIZE
(
PWORK6
,
6
)))
ALLOCATE
(
ZWORK6
(
SIZE
(
PWORK6
,
1
),
SIZE
(
PWORK6
,
2
),
SIZE
(
PWORK6
,
3
)
,
IAVG
,
SIZE
(
PWORK6
,
5
),
SIZE
(
PWORK6
,
6
)))
!
ZWORK6
(:,:,:,:,:,:)
=
0.
!
...
...
@@ -713,7 +714,7 @@ DO JAVG=1,IAVG
END
DO
!
DEALLOCATE
(
PWORK6
)
ALLOCATE
(
PWORK6
(
SIZE
(
ZWORK6
,
1
),
SIZE
(
ZWORK6
,
2
),
NLES_K
,
IAVG
,
SIZE
(
ZWORK6
,
5
),
SIZE
(
ZWORK6
,
6
)))
ALLOCATE
(
PWORK6
(
SIZE
(
ZWORK6
,
1
),
SIZE
(
ZWORK6
,
2
),
SIZE
(
ZWORK6
,
3
)
,
IAVG
,
SIZE
(
ZWORK6
,
5
),
SIZE
(
ZWORK6
,
6
)))
PWORK6
=
ZWORK6
DEALLOCATE
(
ZWORK6
)
...
...
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