SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
prep_ctrl_flake.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_flake(K2M,OSURF_BUDGET,O2M_MIN_ZS,ORAD_BUDGET,OCOEF,OSURF_VARS,&
7  kluout,owater_profile,osurf_budgetc)
8 ! #################################################################################################################
9 !
10 !!**** *PREP_CTRL_FLAKE* - 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) :: owater_profile !
58 LOGICAL, INTENT(INOUT) :: osurf_budgetc ! flag for cumulated surface budget
59 REAL(KIND=JPRB) :: zhook_handle
60 !
61 !* 0.2 Declarations of local variables
62 ! -------------------------------
63 !
64 !-------------------------------------------------------------------------------
65 !
66 IF (lhook) CALL dr_hook('PREP_CTRL_FLAKE',0,zhook_handle)
67 k2m = 0
68 !
69 osurf_budget = .false.
70 o2m_min_zs = .false.
71 orad_budget = .false.
72 ocoef = .false.
73 osurf_vars = .false.
74 owater_profile = .false.
75 osurf_budgetc = .false.
76 !
77 WRITE(kluout,*)'FLAKE DIAGNOSTICS DESACTIVATED'
78 IF (lhook) CALL dr_hook('PREP_CTRL_FLAKE',1,zhook_handle)
79 !-------------------------------------------------------------------------------
80 !
81 END SUBROUTINE prep_ctrl_flake
subroutine prep_ctrl_flake(K2M, OSURF_BUDGET, O2M_MIN_ZS, ORAD_BUDGET, OCOEF, OSURF_VARS, KLUOUT, OWATER_PROFILE, OSURF_BUDGETC)