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
b99479e7
Commit
b99479e7
authored
2 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 03/02/2023: bugfix: stations + profilers: copy all available fields
parent
f7f54ee9
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/MNH/statprof_tools.f90
+5
-3
5 additions, 3 deletions
src/MNH/statprof_tools.f90
with
5 additions
and
3 deletions
src/MNH/statprof_tools.f90
+
5
−
3
View file @
b99479e7
!MNH_LIC Copyright 2002-202
2
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC Copyright 2002-202
3
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.
...
...
@@ -400,7 +400,7 @@ SUBROUTINE PROFILER_ADD( TPPROFILER )
IMPLICIT
NONE
CLASS
(
T
STAT
PROFDATA
),
INTENT
(
IN
)
::
TPPROFILER
CLASS
(
TPROF
ILER
DATA
),
INTENT
(
IN
)
::
TPPROFILER
INTEGER
::
JS
TYPE
(
TPROFILERDATA
),
DIMENSION
(:),
POINTER
::
TZPROFILERS
...
...
@@ -429,6 +429,7 @@ SUBROUTINE PROFILER_ADD( TPPROFILER )
TZPROFILERS
(
NUMBPROFILER_LOC
)
%
XYMCOEF
=
TPPROFILER
%
XYMCOEF
TZPROFILERS
(
NUMBPROFILER_LOC
)
%
XXUCOEF
=
TPPROFILER
%
XXUCOEF
TZPROFILERS
(
NUMBPROFILER_LOC
)
%
XYVCOEF
=
TPPROFILER
%
XYVCOEF
TZPROFILERS
(
NUMBPROFILER_LOC
)
%
CTYPE
=
TPPROFILER
%
CTYPE
IF
(
ASSOCIATED
(
TPROFILERS
)
)
DEALLOCATE
(
TPROFILERS
)
!Can be done without memory leak because allocatable arrays were
!not yet allocated (will be done in PROFILER_ALLOCATE)
...
...
@@ -444,7 +445,7 @@ SUBROUTINE STATION_ADD( TPSTATION )
IMPLICIT
NONE
CLASS
(
TSTAT
PROF
DATA
),
INTENT
(
IN
)
::
TPSTATION
CLASS
(
TSTAT
ION
DATA
),
INTENT
(
IN
)
::
TPSTATION
INTEGER
::
JS
TYPE
(
TSTATIONDATA
),
DIMENSION
(:),
POINTER
::
TZSTATIONS
...
...
@@ -473,6 +474,7 @@ SUBROUTINE STATION_ADD( TPSTATION )
TZSTATIONS
(
NUMBSTAT_LOC
)
%
XYMCOEF
=
TPSTATION
%
XYMCOEF
TZSTATIONS
(
NUMBSTAT_LOC
)
%
XXUCOEF
=
TPSTATION
%
XXUCOEF
TZSTATIONS
(
NUMBSTAT_LOC
)
%
XYVCOEF
=
TPSTATION
%
XYVCOEF
TZSTATIONS
(
NUMBSTAT_LOC
)
%
NK
=
TPSTATION
%
NK
IF
(
ASSOCIATED
(
TSTATIONS
)
)
DEALLOCATE
(
TSTATIONS
)
!Can be done without memory leak because allocatable arrays were
!not yet allocated (will be done in STATION_ALLOCATE)
...
...
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