SURFEX v8.1
General documentation of Surfex
prep_ctrl_teb.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_teb (DGO, OSURF_EVAP_BUDGET,OSURF_MISC_BUDGET,OUTCI,KLUOUT)
7 ! #################################################################################################################
8 !
9 !!**** *PREP_CTRL_TEB * - routine to check that diagnostics are switched off
10 !!
11 !! PURPOSE
12 !! -------
13 !!
14 !!** METHOD
15 !! ------
16 !!
17 !! EXTERNAL
18 !! --------
19 !!
20 !!
21 !! IMPLICIT ARGUMENTS
22 !! ------------------
23 !!
24 !! REFERENCE
25 !! ---------
26 !!
27 !!
28 !! AUTHOR
29 !! ------
30 !! P. Le Moigne *Meteo France*
31 !!
32 !! MODIFICATIONS
33 !! -------------
34 !! Original 04/2007
35 !-------------------------------------------------------------------------------
36 !
37 !* 0. DECLARATIONS
38 ! ------------
39 !
40 USE modd_diag_n, ONLY : diag_options_t
41 !
42 USE modi_prep_ctrl
43 !
44 USE yomhook ,ONLY : lhook, dr_hook
45 USE parkind1 ,ONLY : jprb
46 !
47 IMPLICIT NONE
48 !
49 !* 0.1 Declarations of arguments
50 ! -------------------------
51 !
52 TYPE(diag_options_t), INTENT(INOUT) :: DGO
53 !
54 LOGICAL, INTENT(INOUT) :: OSURF_EVAP_BUDGET ! flag for surface evaporation budget
55 LOGICAL, INTENT(INOUT) :: OSURF_MISC_BUDGET ! flag for surface miscellaneous budget
56 LOGICAL, INTENT(INOUT) :: OUTCI ! flag for UTCI fields
57 INTEGER, INTENT(IN) :: KLUOUT ! unit number
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_TEB',0,zhook_handle)
66 !
67  CALL prep_ctrl(dgo,kluout)
68 !
69 osurf_evap_budget = .false.
70 osurf_misc_budget = .false.
71 outci = .false.
72 !
73 WRITE(kluout,*)'TEB DIAGNOSTICS DESACTIVATED'
74 IF (lhook) CALL dr_hook('PREP_CTRL_TEB',1,zhook_handle)
75 !-------------------------------------------------------------------------------
76 !
77 END SUBROUTINE prep_ctrl_teb
subroutine prep_ctrl(DGO, KLUOUT)
Definition: prep_ctrl.F90:7
subroutine prep_ctrl_teb(DGO, OSURF_EVAP_BUDGET, OSURF_MISC_BUDGET
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15