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
308d0feb
Commit
308d0feb
authored
5 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 24/02/2020: bugfix: corrected budget name (DEPI->CDEPI) for ice_adjust
parent
f18f554a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/MNH/ice_adjust.f90
+9
-9
9 additions, 9 deletions
src/MNH/ice_adjust.f90
src/MNH/resolved_cloud.f90
+4
-3
4 additions, 3 deletions
src/MNH/resolved_cloud.f90
with
13 additions
and
12 deletions
src/MNH/ice_adjust.f90
+
9
−
9
View file @
308d0feb
!MNH_LIC Copyright 199
4
-20
14
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC Copyright 199
6
-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 version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC for details. version 1.
!-----------------------------------------------------------------
! ######################
...
...
@@ -23,7 +23,7 @@ INTEGER, INTENT(IN) :: KKU !uppest atmosphere array index
INTEGER
,
INTENT
(
IN
)
::
KKL
!vert. levels type 1=MNH -1=ARO
INTEGER
,
INTENT
(
IN
)
::
KRR
! Number of moist variables
CHARACTER
*
1
,
INTENT
(
IN
)
::
HFRAC_ICE
CHARACTER
*
4
,
INTENT
(
IN
)
::
HBUNAME
! Name of the budget
CHARACTER
(
len
=*
),
INTENT
(
IN
)
::
HBUNAME
! Name of the budget
LOGICAL
,
INTENT
(
IN
)
::
OSUBG_COND
! Switch for Subgrid
! Condensation
LOGICAL
::
OSIGMAS
! Switch for Sigma_s:
...
...
@@ -164,7 +164,7 @@ END MODULE MODI_ICE_ADJUST
!! or to call it on S variables
!! 2016-11 S. Riette: all-or-nothing adjustment now uses condensation
!! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O
!
!
!
P. Wautelet 24/02/2020: bugfix: corrected budget name (DEPI->CDEPI) for ice_adjust
!-------------------------------------------------------------------------------
!
!* 0. DECLARATIONS
...
...
@@ -191,7 +191,7 @@ INTEGER, INTENT(IN) :: KKU !uppest atmosphere array index
INTEGER
,
INTENT
(
IN
)
::
KKL
!vert. levels type 1=MNH -1=ARO
INTEGER
,
INTENT
(
IN
)
::
KRR
! Number of moist variables
CHARACTER
*
1
,
INTENT
(
IN
)
::
HFRAC_ICE
CHARACTER
*
4
,
INTENT
(
IN
)
::
HBUNAME
! Name of the budget
CHARACTER
(
len
=*
),
INTENT
(
IN
)
::
HBUNAME
! Name of the budget
LOGICAL
,
INTENT
(
IN
)
::
OSUBG_COND
! Switch for Subgrid
! Condensation
LOGICAL
::
OSIGMAS
! Switch for Sigma_s:
...
...
@@ -430,10 +430,10 @@ ENDIF
!* 6. STORE THE BUDGET TERMS
! ----------------------
!
IF
(
LBUDGET_RV
)
CALL
BUDGET
(
PRVS
(:,:,:)
*
PRHODJ
(:,:,:),
6
,
HBUNAME
//
'_BU_RRV'
)
IF
(
LBUDGET_RC
)
CALL
BUDGET
(
PRCS
(:,:,:)
*
PRHODJ
(:,:,:),
7
,
HBUNAME
//
'_BU_RRC'
)
IF
(
LBUDGET_RI
)
CALL
BUDGET
(
PRIS
(:,:,:)
*
PRHODJ
(:,:,:),
9
,
HBUNAME
//
'_BU_RRI'
)
IF
(
LBUDGET_TH
)
CALL
BUDGET
(
PTHS
(:,:,:)
*
PRHODJ
(:,:,:),
4
,
HBUNAME
//
'_BU_RTH'
)
IF
(
LBUDGET_RV
)
CALL
BUDGET
(
PRVS
(:,:,:)
*
PRHODJ
(:,:,:),
6
,
trim
(
HBUNAME
)
//
'_BU_RRV'
)
IF
(
LBUDGET_RC
)
CALL
BUDGET
(
PRCS
(:,:,:)
*
PRHODJ
(:,:,:),
7
,
trim
(
HBUNAME
)
//
'_BU_RRC'
)
IF
(
LBUDGET_RI
)
CALL
BUDGET
(
PRIS
(:,:,:)
*
PRHODJ
(:,:,:),
9
,
trim
(
HBUNAME
)
//
'_BU_RRI'
)
IF
(
LBUDGET_TH
)
CALL
BUDGET
(
PTHS
(:,:,:)
*
PRHODJ
(:,:,:),
4
,
trim
(
HBUNAME
)
//
'_BU_RTH'
)
!
!------------------------------------------------------------------------------
!
...
...
This diff is collapsed.
Click to expand it.
src/MNH/resolved_cloud.f90
+
4
−
3
View file @
308d0feb
!MNH_LIC Copyright 1994-20
19
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.
...
...
@@ -267,6 +267,7 @@ END MODULE MODI_RESOLVED_CLOUD
!! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O
!! P. Wautelet: 01/02/2019: ZRSMIN is now allocatable (instead of size of XRTMIN which was sometimes not allocated)
!! 02/2019 C.Lac add rain fraction as an output field
! P. Wautelet 24/02/2020: bugfix: corrected budget name (DEPI->CDEPI) for ice_adjust
!-------------------------------------------------------------------------------
!
!* 0. DECLARATIONS
...
...
@@ -949,7 +950,7 @@ SELECT CASE ( HCLOUD )
!
!
IF
(
.NOT.
LRED
.OR.
(
LRED
.AND.
LADJ_AFTER
)
)
THEN
CALL
ICE_ADJUST
(
1
,
IKU
,
1
,
KRR
,
CFRAC_ICE_ADJUST
,
'DEPI'
,
&
CALL
ICE_ADJUST
(
1
,
IKU
,
1
,
KRR
,
CFRAC_ICE_ADJUST
,
'
C
DEPI'
,
&
OSUBG_COND
,
OSIGMAS
,
PTSTEP
,
PSIGQSAT
,
&
PRHODJ
,
PEXNREF
,
PSIGS
,
PMFCONV
,
PPABST
,
ZZZ
,
&
ZEXN
,
PCF_MF
,
PRC_MF
,
PRI_MF
,
&
...
...
@@ -1034,7 +1035,7 @@ SELECT CASE ( HCLOUD )
!* 10.2 Perform the saturation adjustment over cloud ice and cloud water
!
IF
(
.NOT.
LRED
.OR.
(
LRED
.AND.
LADJ_AFTER
)
)
THEN
CALL
ICE_ADJUST
(
1
,
IKU
,
1
,
KRR
,
CFRAC_ICE_ADJUST
,
'DEPI'
,
&
CALL
ICE_ADJUST
(
1
,
IKU
,
1
,
KRR
,
CFRAC_ICE_ADJUST
,
'
C
DEPI'
,
&
OSUBG_COND
,
OSIGMAS
,
PTSTEP
,
PSIGQSAT
,
&
PRHODJ
,
PEXNREF
,
PSIGS
,
PMFCONV
,
PPABST
,
ZZZ
,
&
ZEXN
,
PCF_MF
,
PRC_MF
,
PRI_MF
,
&
...
...
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