SURFEX v8.1
General documentation of Surfex
modd_teb_irrign.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 ! ################
7 ! ################
8 !
9 !!**** *MODD_TEB_IRRIG_n - declaration of surface parameters for urban canopy
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 07/2006
30 !
31 !* 0. DECLARATIONS
32 ! ------------
33 !
34 !
35 USE yomhook ,ONLY : lhook, dr_hook
36 USE parkind1 ,ONLY : jprb
37 !
38 IMPLICIT NONE
39 
41 !
42  LOGICAL :: lteb_irrig ! flag to use irrigation for gardens or greenroofs
43  LOGICAL :: lpar_gd_irrig ! flag to use prescribed irrigation for gardens
44  LOGICAL :: lpar_gr_irrig ! flag to use prescribed irrigation for greenroofs
45  LOGICAL :: lpar_rd_irrig ! flag to use prescribed irrigation for roads
46  REAL, POINTER, DIMENSION(:) :: xgd_start_month ! gardens : start month for irrigation (included)
47  REAL, POINTER, DIMENSION(:) :: xgd_end_month ! gardens : end month for irrigation (included)
48  REAL, POINTER, DIMENSION(:) :: xgd_start_hour ! gardens : start solar hour for irrigation (included, hour)
49  REAL, POINTER, DIMENSION(:) :: xgd_end_hour ! gardens : end solar hour for irrigation (excluded, hour)
50  REAL, POINTER, DIMENSION(:) :: xgd_24h_irrig ! gardens : total irrigation over 24 hours (kg/m2)
51  REAL, POINTER, DIMENSION(:) :: xgr_start_month ! greenroofs : start month for irrigation (included)
52  REAL, POINTER, DIMENSION(:) :: xgr_end_month ! greenroofs : end month for irrigation (included)
53  REAL, POINTER, DIMENSION(:) :: xgr_start_hour ! greenroofs : start solar hour for irrigation (included, hour)
54  REAL, POINTER, DIMENSION(:) :: xgr_end_hour ! greenroofs : end solar hour for irrigation (excluded, hour)
55  REAL, POINTER, DIMENSION(:) :: xgr_24h_irrig ! greenroofs : total irrigation over 24 hours (kg/m2)
56  REAL, POINTER, DIMENSION(:) :: xrd_start_month ! roads : start month for irrigation (included)
57  REAL, POINTER, DIMENSION(:) :: xrd_end_month ! roads : end month for irrigation (included)
58  REAL, POINTER, DIMENSION(:) :: xrd_start_hour ! roads : start solar hour for irrigation (included, hour)
59  REAL, POINTER, DIMENSION(:) :: xrd_end_hour ! roads : end solar hour for irrigation (excluded, hour)
60  REAL, POINTER, DIMENSION(:) :: xrd_24h_irrig ! roads : total irrigation over 24 hours (kg/m2)
61 !
62 END TYPE teb_irrig_t
63 
64 
65 
66 CONTAINS
67 
68 !
69 
70 
71 
72 
73 SUBROUTINE teb_irrig_init(YTEB_IRRIG)
74 TYPE(teb_irrig_t), INTENT(INOUT) :: YTEB_IRRIG
75 REAL(KIND=JPRB) :: ZHOOK_HANDLE
76 IF (lhook) CALL dr_hook("MODD_TEB_IRRIG_N:TEB_IRRIG_INIT",0,zhook_handle)
77  NULLIFY(yteb_irrig%XGD_START_MONTH)
78  NULLIFY(yteb_irrig%XGD_END_MONTH)
79  NULLIFY(yteb_irrig%XGD_START_HOUR)
80  NULLIFY(yteb_irrig%XGD_END_HOUR)
81  NULLIFY(yteb_irrig%XGD_24H_IRRIG)
82  NULLIFY(yteb_irrig%XGR_START_MONTH)
83  NULLIFY(yteb_irrig%XGR_END_MONTH)
84  NULLIFY(yteb_irrig%XGR_START_HOUR)
85  NULLIFY(yteb_irrig%XGR_END_HOUR)
86  NULLIFY(yteb_irrig%XGR_24H_IRRIG)
87  NULLIFY(yteb_irrig%XRD_START_MONTH)
88  NULLIFY(yteb_irrig%XRD_END_MONTH)
89  NULLIFY(yteb_irrig%XRD_START_HOUR)
90  NULLIFY(yteb_irrig%XRD_END_HOUR)
91  NULLIFY(yteb_irrig%XRD_24H_IRRIG)
92 yteb_irrig%LTEB_IRRIG = .false.
93 yteb_irrig%LPAR_GD_IRRIG = .false.
94 yteb_irrig%LPAR_GR_IRRIG = .false.
95 yteb_irrig%LPAR_RD_IRRIG = .false.
96 IF (lhook) CALL dr_hook("MODD_TEB_IRRIG_N:TEB_IRRIG_INIT",1,zhook_handle)
97 END SUBROUTINE teb_irrig_init
98 
99 
100 END MODULE modd_teb_irrig_n
subroutine teb_irrig_init(YTEB_IRRIG)
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15