SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
default_diag_ideal.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 default_diag_ideal(K2M,OSURF_BUDGET,O2M_MIN_ZS,ORAD_BUDGET,OCOEF,OSURF_VARS,&
7  osurf_budgetc,oreset_budgetc,pdiag_tstep )
8 ! ########################################################################
9 !
10 !!**** *DEFAULT_DIAG_IDEAL* - routine to set default values for the choice of diagnostics
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 !! V. Masson *Meteo France*
32 !!
33 !! MODIFICATIONS
34 !! -------------
35 !! Original 01/2004
36 !-------------------------------------------------------------------------------
37 !
38 !* 0. DECLARATIONS
39 ! ------------
40 !
41 USE modd_surf_par, ONLY : xundef
42 !
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 INTEGER, INTENT(OUT) :: k2m ! flag for operational 2m quantities
54 LOGICAL, INTENT(OUT) :: osurf_budget ! flag for surface budget
55 LOGICAL, INTENT(OUT) :: o2m_min_zs
56 LOGICAL, INTENT(OUT) :: orad_budget ! flag for radiative budget
57 LOGICAL, INTENT(OUT) :: ocoef
58 LOGICAL, INTENT(OUT) :: osurf_vars
59 LOGICAL, INTENT(OUT) :: osurf_budgetc ! flag for cumulated surface budget
60 LOGICAL, INTENT(OUT) :: oreset_budgetc! flag for cumulated surface budget
61 REAL, INTENT(OUT) :: pdiag_tstep ! time-step for writing
62 REAL(KIND=JPRB) :: zhook_handle
63 !
64 !* 0.2 Declarations of local variables
65 ! -------------------------------
66 !
67 !-------------------------------------------------------------------------------
68 !
69 IF (lhook) CALL dr_hook('DEFAULT_DIAG_IDEAL',0,zhook_handle)
70 k2m = 0
71 osurf_budget = .false.
72 !
73 o2m_min_zs = .false.
74 !
75 orad_budget = .false.
76 !
77 ocoef = .false.
78 osurf_vars = .false.
79 !
80 osurf_budgetc= .false.
81 oreset_budgetc= .false.
82 !
83 pdiag_tstep = xundef
84 !
85 IF (lhook) CALL dr_hook('DEFAULT_DIAG_IDEAL',1,zhook_handle)
86 !
87 !-------------------------------------------------------------------------------
88 !
89 END SUBROUTINE default_diag_ideal
subroutine default_diag_ideal(K2M, OSURF_BUDGET, O2M_MIN_ZS, ORAD_BUDGET, OCOEF, OSURF_VARS, OSURF_BUDGETC, ORESET_BUDGETC, PDIAG_TSTEP)