SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
prep_ctrl_watflux.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 prep_ctrl_watflux(K2M,OSURF_BUDGET,O2M_MIN_ZS,ORAD_BUDGET,OCOEF,OSURF_VARS,&
7  kluout,osurf_budgetc)
8 ! #################################################################################################################
9 !
10 !!**** *PREP_CTRL_WATFLUX* - routine to check that diagnostics are switched off
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 04/2007
36 !-------------------------------------------------------------------------------
37 !
38 !* 0. DECLARATIONS
39 ! ------------
40 !
41 USE yomhook ,ONLY : lhook, dr_hook
42 USE parkind1 ,ONLY : jprb
43 !
44 IMPLICIT NONE
45 !
46 !* 0.1 Declarations of arguments
47 ! -------------------------
48 !
49 !
50 INTEGER, INTENT(INOUT) :: k2m ! flag for 2m parameters
51 LOGICAL, INTENT(INOUT) :: osurf_budget ! flag for surface budget
52 LOGICAL, INTENT(INOUT) :: o2m_min_zs ! flag for 2m parameters at min zs
53 LOGICAL, INTENT(INOUT) :: orad_budget ! flag for radiative budget
54 LOGICAL, INTENT(INOUT) :: ocoef ! flag for turbulent coefficients
55 LOGICAL, INTENT(INOUT) :: osurf_vars ! flag for other surface variables
56 INTEGER, INTENT(IN) :: kluout ! unit number
57 LOGICAL, INTENT(INOUT) :: osurf_budgetc ! flag for cumulated surface budget
58 REAL(KIND=JPRB) :: zhook_handle
59 !
60 !* 0.2 Declarations of local variables
61 ! -------------------------------
62 !
63 !-------------------------------------------------------------------------------
64 !
65 IF (lhook) CALL dr_hook('PREP_CTRL_WATFLUX',0,zhook_handle)
66 k2m = 0
67 !
68 osurf_budget = .false.
69 o2m_min_zs = .false.
70 orad_budget = .false.
71 ocoef = .false.
72 osurf_vars = .false.
73 osurf_budgetc = .false.
74 !
75 WRITE(kluout,*)'WATFLUX DIAGNOSTICS DESACTIVATED'
76 IF (lhook) CALL dr_hook('PREP_CTRL_WATFLUX',1,zhook_handle)
77 !-------------------------------------------------------------------------------
78 !
79 END SUBROUTINE prep_ctrl_watflux
subroutine prep_ctrl_watflux(K2M, OSURF_BUDGET, O2M_MIN_ZS, ORAD_BUDGET, OCOEF, OSURF_VARS, KLUOUT, OSURF_BUDGETC)