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
acdb541a
Commit
acdb541a
authored
9 years ago
by
Gaelle Tanguy
Committed by
WAUTELET Philippe
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
S.Bielli 11/2015 : correction for MNH_NCWRIT
parent
5249fdd3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/MNH/diag.f90
+17
-0
17 additions, 0 deletions
src/MNH/diag.f90
src/MNH/modeln.f90
+3
-1
3 additions, 1 deletion
src/MNH/modeln.f90
src/MNH/write_phys_param.f90
+7
-4
7 additions, 4 deletions
src/MNH/write_phys_param.f90
with
27 additions
and
5 deletions
src/MNH/diag.f90
+
17
−
0
View file @
acdb541a
...
...
@@ -72,6 +72,7 @@
!! aircraft, ballon and profiler
!! J.Escobar : 15/09/2015 : WENO5 & JPHEXT <> 1
!! P.Tulet : 11/2015 : new diagnostic for aerosol
!! 09/2015 (S. Bielli) Add netcdf call for phys_param
!!
!-------------------------------------------------------------------------------
!
...
...
@@ -702,10 +703,26 @@ ZCHEM=0.
XTIME_LES
=
0.
XTIME_LES_BU_PROCESS
=
0.
XTIME_BU_PROCESS
=
0.
#ifdef MNH_NCWRIT
IF
(
LNETCDF
)
THEN
DEF_NC
=
.TRUE.
NC_WRITE
=
LNETCDF
NC_FILE
=
'phy'
LLFIFM
=
.FALSE.
CALL
WRITE_PHYS_PARAM
(
YFMFILE
)
DEF_NC
=
.FALSE.
LLFIFM
=
.TRUE.
END
IF
!
CALL
PHYS_PARAM_n
(
1
,
YFMFILE
,
GCLOSE_OUT
,
&
ZRAD
,
ZSHADOWS
,
ZDCONV
,
ZGROUND
,
ZMAFL
,
ZDRAG
,
&
ZTURB
,
ZTRACER
,
ZCHEM
,
ZTIME_BU
,
GMASKkids
)
DEF_NC
=
.TRUE.
#else
CALL
PHYS_PARAM_n
(
1
,
YFMFILE
,
GCLOSE_OUT
,
&
ZRAD
,
ZSHADOWS
,
ZDCONV
,
ZGROUND
,
ZMAFL
,
ZDRAG
,
&
ZTURB
,
ZTRACER
,
ZCHEM
,
ZTIME_BU
,
GMASKkids
)
#endif
PRINT
*
,
'DIAG AFTER PHYS_PARAM1'
!
!* restores the initial flags
...
...
This diff is collapsed.
Click to expand it.
src/MNH/modeln.f90
+
3
−
1
View file @
acdb541a
...
...
@@ -233,6 +233,8 @@ END MODULE MODI_MODEL_n
!! aircraft, ballon and profiler
!! C.Lac 11/09/2015: correction of the budget due to FIT temporal scheme
!! J.Escobar : 15/09/2015 : WENO5 & JPHEXT <> 1
!! Sep 2015 (S. Bielli) : Remove YDADFILE from argument call
! of write_phys_param
!!-------------------------------------------------------------------------------
!
!* 0. DECLARATIONS
...
...
@@ -1286,7 +1288,7 @@ IF ( LNETCDF .AND. GCLOSE_OUT ) THEN
NC_WRITE
=
LNETCDF
NC_FILE
=
'phy'
LLFIFM
=
.FALSE.
CALL
WRITE_PHYS_PARAM
(
YFMFILE
,
YDADFILE
)
CALL
WRITE_PHYS_PARAM
(
YFMFILE
)
DEF_NC
=
.FALSE.
LLFIFM
=
.TRUE.
END
IF
...
...
This diff is collapsed.
Click to expand it.
src/MNH/write_phys_param.f90
+
7
−
4
View file @
acdb541a
...
...
@@ -9,7 +9,7 @@
!
INTERFACE
!
SUBROUTINE
WRITE_PHYS_PARAM
(
HFMFILE
,
HDADFILE
)
SUBROUTINE
WRITE_PHYS_PARAM
(
HFMFILE
)
CHARACTER
(
LEN
=
28
),
INTENT
(
IN
)
::
HFMFILE
! Name of FM-file to write
CHARACTER
(
LEN
=
28
),
INTENT
(
IN
)
::
HDADFILE
! corresponding FM-file name of
! its DAD model
...
...
@@ -21,7 +21,7 @@ END MODULE MODI_WRITE_PHYS_PARAM
!
!
! #############################################
SUBROUTINE
WRITE_PHYS_PARAM
(
HFMFILE
,
HDADFILE
)
SUBROUTINE
WRITE_PHYS_PARAM
(
HFMFILE
)
! #############################################
!
!!**** *WRITE_PHYS_PARAM* - routine to define the netcdf variables written in phys_param for model $n
...
...
@@ -78,6 +78,11 @@ END MODULE MODI_WRITE_PHYS_PARAM
!! ------
!! S. Bielli *Laboratoire d'Aerologie*
!!
!! MODIFICATIONS
!! -------------
!!
!! 09/2015 (S. Bielli) Remove HDADFILE from call argument
!!
!-------------------------------------------------------------------------------
!
!* 0. DECLARATIONS
...
...
@@ -159,8 +164,6 @@ IMPLICIT NONE
!* 0.1 Declarations of arguments
!
CHARACTER
(
LEN
=
28
),
INTENT
(
IN
)
::
HFMFILE
! Name of FM-file to write
CHARACTER
(
LEN
=
28
),
INTENT
(
IN
)
::
HDADFILE
! corresponding FM-file name of
! its DAD model
!
!* 0.2 Declarations of local variables
!
...
...
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