SURFEX v8.1
General documentation of Surfex
prep_ctrl_isba.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_isba(DGO,OSURF_EVAP_BUDGET,OSURF_MISC_BUDGET,OSURF_MISC_DIF,KLUOUT )
7 ! #################################################################################################################
8 !
9 !!**** *PREP_CTRL_ISBA* - 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 !! Modified by A.L. Gibelin, 04/2009: add carbon spinup
36 !!
37 !-------------------------------------------------------------------------------
38 !
39 !* 0. DECLARATIONS
40 ! ------------
41 !
42 USE modd_diag_n, ONLY : diag_options_t
43 !
44 USE modi_prep_ctrl
45 !
46 USE yomhook ,ONLY : lhook, dr_hook
47 USE parkind1 ,ONLY : jprb
48 !
49 IMPLICIT NONE
50 !
51 !* 0.1 Declarations of arguments
52 ! -------------------------
53 !
54 TYPE(diag_options_t), INTENT(INOUT) :: DGO
55 !
56 LOGICAL, INTENT(INOUT) :: OSURF_EVAP_BUDGET ! flag for surface evaporation budget
57 LOGICAL, INTENT(INOUT) :: OSURF_MISC_BUDGET ! flag for surface miscellaneous budget
58 LOGICAL, INTENT(INOUT) :: OSURF_MISC_DIF ! flag for surface miscellaneous dif variables
59 INTEGER, INTENT(IN) :: KLUOUT ! unit number
60 REAL(KIND=JPRB) :: ZHOOK_HANDLE
61 !
62 !* 0.2 Declarations of local variables
63 ! -------------------------------
64 !
65 !-------------------------------------------------------------------------------
66 !
67 IF (lhook) CALL dr_hook('PREP_CTRL_ISBA',0,zhook_handle)
68 !
69  CALL prep_ctrl(dgo,kluout)
70 !
71 dgo%N2M = 0
72 !
73 dgo%LPATCH_BUDGET = .false.
74 !
75 osurf_evap_budget = .false.
76 osurf_misc_budget = .false.
77 osurf_misc_dif = .false.
78 !
79 WRITE(kluout,*)'ISBA DIAGNOSTICS DESACTIVATED'
80 IF (lhook) CALL dr_hook('PREP_CTRL_ISBA',1,zhook_handle)
81 !-------------------------------------------------------------------------------
82 !
83 END SUBROUTINE prep_ctrl_isba
subroutine prep_ctrl(DGO, KLUOUT)
Definition: prep_ctrl.F90:7
subroutine prep_ctrl_isba(DGO, OSURF_EVAP_BUDGET, OSURF_MISC_BUDGET, OSURF_MISC_DIF, KLUOUT)
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15