SURFEX v8.1
General documentation of Surfex
modd_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  MODULE modd_prep_isba
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 !! P Samuelsson 02/2012 MEB
31 !
32 !* 0. DECLARATIONS
33 ! ------------
34 !
35 IMPLICIT NONE
36 !
37 SAVE
38 !--------------------------------------------------------------------------
39 !
40  CHARACTER(LEN=28) :: cfile_isba ! input file name
41  CHARACTER(LEN=6) :: ctype ! input file type
42  CHARACTER(LEN=28) :: cfilepgd_isba ! input file name
43  CHARACTER(LEN=6) :: ctypepgd ! input file type
44  CHARACTER(LEN=28) :: cfile_snow ! input file name for Snow
45  CHARACTER(LEN=6) :: ctype_snow ! input file type for Snow
46  CHARACTER(LEN=28) :: cfilepgd_snow ! input file name for Snow
47  CHARACTER(LEN=6) :: ctypepgd_snow ! input file type for Snow
48  CHARACTER(LEN=28) :: cfile_hug ! input file name for Wg, Wgi
49  CHARACTER(LEN=6) :: ctype_hug ! input file type for Wg, Wgi
50  CHARACTER(LEN=28) :: cfile_tg ! input file name for Tg
51  CHARACTER(LEN=6) :: ctype_tg ! input file type for Tg
52  CHARACTER(LEN=28) :: cfile_hug_surf ! input file name for HUG_SURF
53  CHARACTER(LEN=28) :: cfile_hug_root ! input file name for HUG_ROOT
54  CHARACTER(LEN=28) :: cfile_hug_deep ! input file name for HUG_DEEP
55  CHARACTER(LEN=28) :: cfile_tg_surf ! input file name for TG_SURF
56  CHARACTER(LEN=28) :: cfile_tg_root ! input file name for TG_ROOT
57  CHARACTER(LEN=28) :: cfile_tg_deep ! input file name for TG_DEEP
58 !
59 REAL :: xhug_surf ! surface relative soil humidity
60 REAL :: xhug_root ! root layer relative soil humidity
61 REAL :: xhug_deep ! deep layer relative soil humidity
62 REAL :: xhugi_surf ! surf layer relative ice content
63 REAL :: xhugi_root ! root layer relative ice content
64 REAL :: xhugi_deep ! deep layer relative ice content
65 REAL :: xtg_surf ! surface temperature
66 REAL :: xtg_root ! root layer temperature
67 REAL :: xtg_deep ! deep layer temperature
68 !
69 REAL :: xwr_def ! default for leaves interception reservoir
70 REAL :: xwrv_def ! default for canopy vegetation leaves interception reservoir
71 REAL :: xwrvn_def ! default for canopy vegetation leaves snow interception reservoir
72 REAL :: xqc_def ! default for canopy air specific humidity
73 !--------------------------------------------------------------------------
74 !
75 !* dimensions for interpolation grids for soil
76 !
77 INTEGER, PARAMETER :: ngrid_level = 22
78 REAL, DIMENSION(NGRID_LEVEL) :: xgrid_soil = &
79  (/0.01,0.04,0.10,0.20,0.40,0.60,0.80,1.0,1.25,1.5,1.75,2.0,2.5,3.0,4.0,5.0,8.00,12.0,17.,23.,30.,100./)
80 !
81 !--------------------------------------------------------------------------
82 !
83 ! Parameter for snow field uniform initialization
84 !
85 LOGICAL :: lsnow_ideal
86 !
87 REAL, DIMENSION(:), POINTER :: xwsnow ! Snow reservoir
88 REAL, DIMENSION(:), POINTER :: xrsnow ! snow density
89 REAL, DIMENSION(:), POINTER :: xtsnow ! snow temperature
90 REAL, DIMENSION(:), POINTER :: xlwcsnow ! snow liquid water content
91 REAL, DIMENSION(:), POINTER :: xsg1snow
92 REAL, DIMENSION(:), POINTER :: xsg2snow
93 REAL, DIMENSION(:), POINTER :: xhistsnow
94 REAL, DIMENSION(:), POINTER :: xagesnow
95 REAL :: xasnow ! snow albedo
96 !
97 !--------------------------------------------------------------------------
98 !
99 LOGICAL :: lextrap_tg ! extrapolate TG points where LSM < 0.5 (buffer only)
100 LOGICAL :: lextrap_wg ! extrapolate WG points where LSM < 0.5 (buffer only)
101 LOGICAL :: lextrap_wgi ! extrapolate WGI points where LSM < 0.5 (buffer only)
102 LOGICAL :: lextrap_sn ! extrapolate SNOW (SWE/depth) points where LSM < 0.5 (buffer only)
103 
104 END MODULE modd_prep_isba
105 
106