SURFEX v8.1
General documentation of Surfex
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
real, parameter xundef
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15
subroutine default_diag_ideal(K2M, OSURF_BUDGET, O2M_MIN_ZS, ORAD_BUD