SURFEX v8.1
General documentation of Surfex
prep_ctrl_surf_atm.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_surf_atm(DGO,ONOWRITE_TEXFILE,KLUOUT)
7 ! ########################################################################
8 !
9 !!**** *PREP_CTRL_SURF_ATM* - routine to check that diagnostics are switched off
10 !!
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 modd_diag_n, ONLY : diag_options_t
42 !
43 USE modi_prep_ctrl
44 !
45 USE yomhook ,ONLY : lhook, dr_hook
46 USE parkind1 ,ONLY : jprb
47 !
48 IMPLICIT NONE
49 !
50 !* 0.1 Declarations of arguments
51 ! -------------------------
52 !
53 !
54 TYPE(diag_options_t), INTENT(INOUT) :: DGO
55 LOGICAL, INTENT(INOUT) :: ONOWRITE_TEXFILE ! flag for surface variables
56 INTEGER, INTENT(IN) :: KLUOUT ! unit number
57 REAL(KIND=JPRB) :: ZHOOK_HANDLE
58 !
59 !* 0.2 Declarations of local variables
60 ! -------------------------------
61 !
62 !-------------------------------------------------------------------------------
63 !
64 IF (lhook) CALL dr_hook('PREP_CTRL_SURF_ATM',0,zhook_handle)
65 !
66  CALL prep_ctrl(dgo,kluout)
67 !
68 dgo%LRESET_BUDGETC = .false.
69 !
70 onowrite_texfile = .true.
71 dgo%LSELECT = .false.
72 dgo%LPROVAR_TO_DIAG = .false.
73 !
74 WRITE(kluout,*)'SURF_ATM DIAGNOSTICS DESACTIVATED'
75 IF (lhook) CALL dr_hook('PREP_CTRL_SURF_ATM',1,zhook_handle)
76 !-------------------------------------------------------------------------------
77 !
78 END SUBROUTINE prep_ctrl_surf_atm
subroutine prep_ctrl(DGO, KLUOUT)
Definition: prep_ctrl.F90:7
subroutine prep_ctrl_surf_atm(DGO, ONOWRITE_TEXFILE, KLUOUT)
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15