SURFEX v8.1
General documentation of Surfex
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(DGO, KLUOUT,OWATER_PROFILE)
7 ! #################################################################################################################
8 !
9 !!**** *PREP_CTRL_FLAKE* - 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 !
53 TYPE(diag_options_t), INTENT(INOUT) :: DGO
54 !
55 INTEGER, INTENT(IN) :: KLUOUT ! unit number
56 LOGICAL, INTENT(INOUT) :: OWATER_PROFILE !
57 !
58 !* 0.2 Declarations of local variables
59 ! -------------------------------
60 !
61 REAL(KIND=JPRB) :: ZHOOK_HANDLE
62 !-------------------------------------------------------------------------------
63 !
64 IF (lhook) CALL dr_hook('PREP_CTRL_FLAKE',0,zhook_handle)
65 !
66  CALL prep_ctrl(dgo,kluout)
67 !
68 owater_profile = .false.
69 !
70 WRITE(kluout,*)'FLAKE DIAGNOSTICS DESACTIVATED'
71 !
72 IF (lhook) CALL dr_hook('PREP_CTRL_FLAKE',1,zhook_handle)
73 !-------------------------------------------------------------------------------
74 !
75 END SUBROUTINE prep_ctrl_flake
subroutine prep_ctrl_flake(DGO, KLUOUT, OWATER_PROFILE)
subroutine prep_ctrl(DGO, KLUOUT)
Definition: prep_ctrl.F90:7
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15