SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
SURFEX
flag_update.F90
Go to the documentation of this file.
1
!SFX_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
2
!SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
3
!SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4
!SFX_LIC for details. version 1.
5
! #########
6
SUBROUTINE
flag_update
(DIO, DUO, &
7
ONOWRITE_CANOPY,OPGD,OPROVAR_TO_DIAG,OSELECT)
8
! ############################################################
9
!
10
!!**** *FLAG_UPDATE* - routine to modify selection of output fields
11
!!
12
!! PURPOSE
13
!! -------
14
!!
15
!!** METHOD
16
!! ------
17
!!
18
!! EXTERNAL
19
!! --------
20
!!
21
!!
22
!! IMPLICIT ARGUMENTS
23
!! ------------------
24
!!
25
!! REFERENCE
26
!! ---------
27
!!
28
!!
29
!! AUTHOR
30
!! ------
31
!! P. Le Moigne *Meteo France*
32
!!
33
!! MODIFICATIONS
34
!! -------------
35
!! Original 02/2008
36
!
37
! B.Decharme 10/2009 flag to desactivate writing of pgd
38
!-------------------------------------------------------------------------------
39
!
40
!* 0. DECLARATIONS
41
! ------------
42
!
43
!
44
USE
modd_diag_n
, ONLY
:
diag_options_t
45
!
46
USE
modd_write_surf_atm
, ONLY
:
lnowrite_canopy
47
!
48
!
49
USE
yomhook
,ONLY
:
lhook
,
dr_hook
50
USE
parkind1
,ONLY
:
jprb
51
!
52
IMPLICIT NONE
53
!
54
!* 0.1 Declarations of arguments
55
! -------------------------
56
!
57
!
58
TYPE
(
diag_options_t
),
INTENT(INOUT)
:: DIO
59
TYPE
(
diag_options_t
),
INTENT(INOUT)
:: DUO
60
!
61
LOGICAL
,
INTENT(IN)
:: ONOWRITE_CANOPY
! flag to (des)activate writing of canopy fields
62
LOGICAL
,
INTENT(IN)
:: OPGD
! flag to (des)activate writing of pgd field
63
LOGICAL
,
INTENT(IN)
:: OPROVAR_TO_DIAG
! flag to (des)activate writing of diag of prognostic field
64
LOGICAL
,
INTENT(IN)
:: OSELECT
! flag to (des)activate control which fields are written
65
REAL(KIND=JPRB)
:: ZHOOK_HANDLE
66
!
67
!* 0.2 Declarations of local variables
68
! -------------------------------
69
!
70
!-------------------------------------------------------------------------------
71
IF
(
lhook
)
CALL
dr_hook
(
'FLAG_UPDATE'
,0,zhook_handle)
72
lnowrite_canopy
= onowrite_canopy
73
dio%LPGD = opgd
74
duo%LPROVAR_TO_DIAG = oprovar_to_diag
75
duo%LSELECT = oselect
76
IF
(
lhook
)
CALL
dr_hook
(
'FLAG_UPDATE'
,1,zhook_handle)
77
!-------------------------------------------------------------------------------
78
!
79
END SUBROUTINE
flag_update
yomhook::dr_hook
Definition:
yomhook.F90:20
parkind1::jprb
integer, parameter jprb
Definition:
parkind1.F90:32
flag_update
subroutine flag_update(DIO, DUO, ONOWRITE_CANOPY, OPGD, OPROVAR_TO_DIAG, OSELE
Definition:
flag_update.F90:8
modd_write_surf_atm::lnowrite_canopy
logical lnowrite_canopy
Definition:
modd_write_surf_atm.F90:38
yomhook::lhook
logical lhook
Definition:
yomhook.F90:15
modd_diag_n::diag_options_t
Definition:
modd_diagn.F90:46
parkind1
Definition:
parkind1.F90:1
modd_write_surf_atm
Definition:
modd_write_surf_atm.F90:6
modd_diag_n
Definition:
modd_diagn.F90:6
yomhook
Definition:
yomhook.F90:1
Generated on Tue Jan 16 2018 16:23:28 for SURFEX v8.1 by
1.8.13