SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
default_prep_isba.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_isba
7 ! ###########################
8 !
9 !!**** *DEFAULT_PREP_ISBA* - routine to set default values for the configuration for ISBA 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 !! Modified 03/2007 P. Le Moigne
36 !! MEB 10/2014 P. Samuelsson
37 !-------------------------------------------------------------------------------
38 !
39 !* 0. DECLARATIONS
40 ! ------------
41 !
42 USE modd_prep_isba, ONLY : cfile_isba, ctype, cfilepgd_isba, ctypepgd, &
43  cfile_hug, ctype_hug, &
44  cfile_hug_surf, cfile_hug_root, cfile_hug_deep, &
45  xhug_surf, xhug_root, xhug_deep, &
46  xhugi_surf, xhugi_root, xhugi_deep, &
47  cfile_tg, ctype_tg, &
48  cfile_tg_surf, cfile_tg_root, cfile_tg_deep, &
49  xtg_surf, xtg_root, xtg_deep, &
50  xwr_def, lextrap_tg, lextrap_wg, lextrap_wgi, &
51  lextrap_sn, &
52  xwrv_def, xwrvn_def, xqc_def
53 !
54 USE modn_prep_isba, ONLY : lisba_canopy
55 !
56 USE modd_surf_par, ONLY : xundef
57 USE modd_snow_par, ONLY : xansmin, xrhosmax
58 USE modd_csts, ONLY : xtt
59 !
60 !
61 USE yomhook ,ONLY : lhook, dr_hook
62 USE parkind1 ,ONLY : jprb
63 !
64 IMPLICIT NONE
65 !
66 !* 0.1 Declarations of arguments
67 ! -------------------------
68 !
69 !
70 !
71 !* 0.2 Declarations of local variables
72 ! -------------------------------
73 !
74 !-------------------------------------------------------------------------------
75 !
76 
77 REAL(KIND=JPRB) :: zhook_handle
78 
79 IF (lhook) CALL dr_hook('DEFAULT_PREP_ISBA',0,zhook_handle)
80  cfile_isba = ' '
81  ctype = 'GRIB '
82  cfilepgd_isba = ' '
83  ctypepgd = ' '
84  cfile_hug = ' '
85  ctype_hug = ' '
86  cfile_tg = ' '
87  ctype_tg = ' '
88 !
89  cfile_hug_surf = ' '
90  cfile_hug_root = ' '
91  cfile_hug_deep = ' '
92  cfile_tg_surf = ' '
93  cfile_tg_root = ' '
94  cfile_tg_deep = ' '
95 !
96 xhug_surf = xundef
97 xhug_root = xundef
98 xhug_deep = xundef
99 xhugi_surf= xundef
100 xhugi_root= xundef
101 xhugi_deep= xundef
102 xtg_surf = xundef
103 xtg_root = xundef
104 xtg_deep = xundef
105 !
106 xwr_def = 0.
107 xwrv_def = 0.
108 xwrvn_def = 0.
109 xqc_def = 0.
110 !
111 lisba_canopy = .false.
112 lextrap_tg = .false.
113 lextrap_wg = .false.
114 lextrap_wgi = .false.
115 lextrap_sn = .false.
116 
117 IF (lhook) CALL dr_hook('DEFAULT_PREP_ISBA',1,zhook_handle)
118 
119 !-------------------------------------------------------------------------------
120 !
121 END SUBROUTINE default_prep_isba
subroutine default_prep_isba