SURFEX v8.1
General documentation of Surfex
modd_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  MODULE modd_prep_teb
7 ! ################
8 !
9 !!**** *MODD_PREP - declaration for field interpolations
10 !!
11 !! PURPOSE
12 !! -------
13 ! Declaration of surface parameters
14 !
15 !!
16 !!** IMPLICIT ARGUMENTS
17 !! ------------------
18 !! None
19 !!
20 !! REFERENCE
21 !! ---------
22 !!
23 !! AUTHOR
24 !! ------
25 !! V. Masson *Meteo France*
26 !!
27 !! MODIFICATIONS
28 !! -------------
29 !! Original 01/2004
30 !
31 !* 0. DECLARATIONS
32 ! ------------
33 !
34 IMPLICIT NONE
35 !
36 SAVE
37 !--------------------------------------------------------------------------
38 !
39  CHARACTER(LEN=28) :: cfile_teb ! input file name
40  CHARACTER(LEN=6) :: ctype ! input file type
41  CHARACTER(LEN=28) :: cfilepgd_teb ! input file name
42  CHARACTER(LEN=6) :: ctypepgd ! input file type
43  CHARACTER(LEN=28) :: cfile_snow_teb ! input file name for Snow
44  CHARACTER(LEN=6) :: ctype_snow ! input file type for Snow
45  CHARACTER(LEN=28) :: cfilepgd_snow_teb ! input file name for Snow
46  CHARACTER(LEN=6) :: ctypepgd_snow ! input file type for Snow
47  CHARACTER(LEN=28) :: cfile_ws ! input file name for Ws
48  CHARACTER(LEN=6) :: ctype_ws ! input file type for Ws
49  CHARACTER(LEN=28) :: cfile_ts ! input file name for Ts
50  CHARACTER(LEN=6) :: ctype_ts ! input file type for Ts
51 !
52 REAL :: xws_roof ! roof uniform water content (kg/m2)
53 REAL :: xws_road ! road uniform water content (kg/m2)
54 REAL :: xts_roof ! roof uniform temperature (K)
55 REAL :: xts_road ! road uniform temperature (K)
56 REAL :: xts_wall ! wall uniform temperature (K)
57 REAL :: xti_bld ! uniform building interior T(K)
58 REAL :: xti_road ! uniform deep road Temp. (K)
59 REAL :: xhui_bld ! uniform building relative hum (between 0-1)
60 !
61 REAL :: xt_can ! uniform canyon air Temp. (K)
62 REAL :: xq_can ! uniform canyon air Humidity(kg/kg)
63 
64 !
65 REAL :: xws_roof_def ! default roof uniform water content (kg/m2)
66 REAL :: xws_road_def ! default road uniform water content (kg/m2)
67 REAL :: xti_bld_def ! default uniform building interior T(K)
68 REAL :: xhui_bld_def ! default uniform building interior relative humidity (between 0-1)
69 !
70 ! Snow variables
71 !
72 LOGICAL :: lsnow_ideal_teb
73 !
74 REAL, DIMENSION(:), POINTER :: xwsnow_roof ! snow reservoir for roofs
75 REAL, DIMENSION(:), POINTER :: xtsnow_roof ! snow density for roofs
76 REAL, DIMENSION(:), POINTER :: xlwcsnow_roof ! snow liquid water content for roofs
77 REAL, DIMENSION(:), POINTER :: xrsnow_roof ! snow temperature for roofs
78 REAL :: xasnow_roof ! snow albedo for roofs
79 !
80 REAL, DIMENSION(:), POINTER :: xwsnow_road ! snow reservoir for roads
81 REAL, DIMENSION(:), POINTER :: xtsnow_road ! snow temperature for roads
82 REAL, DIMENSION(:), POINTER :: xlwcsnow_road ! snow liquid water content for roads
83 REAL, DIMENSION(:), POINTER :: xrsnow_road ! snow density for roads
84 REAL :: xasnow_road ! snow albedo for roads
85 !
86 !--------------------------------------------------------------------------
87 !
88 !* normalized dimensions for interpolation grids for roof, wall, and roads
89 REAL, DIMENSION(10) :: xgrid_roof = (/ 0., 0.01, 0.02, 0.05, 0.1, 0.2, 0.4, 0.7, 0.9, 1. /)
90 REAL, DIMENSION(10) :: xgrid_wall = (/ 0., 0.01, 0.02, 0.05, 0.1, 0.2, 0.4, 0.7, 0.9, 1. /)
91 REAL, DIMENSION(10) :: xgrid_road = (/ 0., 0.01, 0.02, 0.05, 0.1, 0.2, 0.4, 0.7, 0.9, 1. /)
92 REAL, DIMENSION(10) :: xgrid_floor = (/ 0., 0.01, 0.02, 0.05, 0.1, 0.2, 0.4, 0.7, 0.9, 1. /)
93 !
94 !--------------------------------------------------------------------------
95 !
96 END MODULE modd_prep_teb