SURFEX v8.1
General documentation of Surfex
prep_ctrl_seaflux.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_seaflux(DGO,ODIAG_OCEAN,ODIAG_MISC_SEAICE,KLUOUT)
7 ! #################################################################################################################
8 !
9 !!**** *PREP_CTRL_SEAFLUX* - 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 09/2013 : S. Senesi : manage ODIAG_SEAICE
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 !
56 LOGICAL, INTENT(INOUT) :: ODIAG_OCEAN
57 LOGICAL, INTENT(INOUT) :: ODIAG_MISC_SEAICE ! flag for seaice variables
58 INTEGER, INTENT(IN) :: KLUOUT ! unit number
59 !
60 !* 0.2 Declarations of local variables
61 ! -------------------------------
62 !
63 REAL(KIND=JPRB) :: ZHOOK_HANDLE
64 !-------------------------------------------------------------------------------
65 !
66 IF (lhook) CALL dr_hook('PREP_CTRL_SEAFLUX',0,zhook_handle)
67 !
68  CALL prep_ctrl(dgo,kluout)
69 !
70 odiag_ocean = .false.
71 !
72 odiag_misc_seaice = .false.
73 !
74 WRITE(kluout,*)'SEAFLUX DIAGNOSTICS DESACTIVATED'
75 IF (lhook) CALL dr_hook('PREP_CTRL_SEAFLUX',1,zhook_handle)
76 !-------------------------------------------------------------------------------
77 !
78 END SUBROUTINE prep_ctrl_seaflux
subroutine prep_ctrl_seaflux(DGO, ODIAG_OCEAN, ODIAG_MISC_SEAICE, KLU
subroutine prep_ctrl(DGO, KLUOUT)
Definition: prep_ctrl.F90:7
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15