SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
default_prep_teb.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_prep_teb
7 ! ###########################
8 !
9 !!**** *DEFAULT_PREP_TEB* - routine to set default values for the configuration for TEB fields preparation
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 !! V. Masson *Meteo France*
31 !!
32 !! MODIFICATIONS
33 !! -------------
34 !! Original 01/2004
35 !-------------------------------------------------------------------------------
36 !
37 !* 0. DECLARATIONS
38 ! ------------
39 !
40 USE modd_prep_teb, ONLY : cfile_teb, ctype, cfilepgd_teb, ctypepgd, &
41  cfile_ws, ctype_ws, xws_roof, xws_road, &
42  cfile_ts, ctype_ts, xts_roof, xts_road, xts_wall, &
43  xti_bld, xti_road, xq_can, xhui_bld_def, xhui_bld, &
44  xws_road_def, xws_roof_def, xti_bld_def, xt_can
45 
46 USE modn_prep_teb, ONLY : lteb_canopy, croad_dir, cwall_opt
47 
48 USE modd_surf_par, ONLY : xundef
49 USE modd_csts, ONLY : xtt
50 USE modd_snow_par, ONLY : xansmin, xrhosmax
51 !
52 !
53 USE yomhook ,ONLY : lhook, dr_hook
54 USE parkind1 ,ONLY : jprb
55 !
56 IMPLICIT NONE
57 !
58 !* 0.1 Declarations of arguments
59 ! -------------------------
60 !
61 !
62 !
63 !* 0.2 Declarations of local variables
64 ! -------------------------------
65 !
66 !-------------------------------------------------------------------------------
67 !
68 
69 REAL(KIND=JPRB) :: zhook_handle
70 
71 IF (lhook) CALL dr_hook('DEFAULT_PREP_TEB',0,zhook_handle)
72  cfile_teb= ' '
73  ctype = 'GRIB '
74  cfilepgd_teb = ' '
75  ctypepgd = ' '
76  cfile_ws = ' '
77  ctype_ws = ' '
78  cfile_ts = ' '
79  ctype_ts = ' '
80 !
81 xws_roof = xundef
82 xws_road = xundef
83 xts_roof = xundef
84 xts_road = xundef
85 xts_wall = xundef
86 xti_road = xundef
87 xti_bld = xundef
88 xhui_bld = xundef
89 xt_can = xundef
90 !
91 xws_roof_def = 0.
92 xws_road_def = 0.
93 xti_bld_def = 19. + xtt
94 xhui_bld_def = 0.5
95 !
96 xq_can = 0.
97 !
98 lteb_canopy = .false.
99  croad_dir = 'UNIF'
100  cwall_opt = 'UNIF'
101 !
102 IF (lhook) CALL dr_hook('DEFAULT_PREP_TEB',1,zhook_handle)
103 !
104 !-------------------------------------------------------------------------------
105 !
106 END SUBROUTINE default_prep_teb
subroutine default_prep_teb