SURFEX v8.1
General documentation of Surfex
read_namelists_tebn.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 read_namelists_teb_n (TM, GRO, GDO, HPROGRAM, HINIT)
7 ! #######################################################
8 !
9 !---------------------------------------------------------------------------
10 !
11 !
12 USE modd_surfex_n, ONLY : teb_model_t
14 !
15 USE modn_teb_n
16 USE modn_teb_veg_n, ONLY: crunoff,cscond, &
18  ccpsurf, xcgmax, cksat, &
19  crain, chort, lglacier, &
22 !
23 USE modi_default_teb
24 USE modi_default_teb_veg
25 USE modi_default_greenroof
26 USE modi_default_ch_dep
27 USE modi_default_diag_teb
28 USE modi_read_default_teb_n
29 USE modi_read_teb_conf_n
30 USE modi_read_teb_veg_conf_n
31 !
32 USE modi_read_nam_prep_teb_n
33 USE modi_read_nam_prep_garden_n
34 USE modi_read_nam_prep_greenroof_n
35 !
36 !
37 USE yomhook ,ONLY : lhook, dr_hook
38 USE parkind1 ,ONLY : jprb
39 !
40 USE modi_read_teb_conf_n
41 IMPLICIT NONE
42 !
43 !
44 TYPE(teb_model_t), INTENT(INOUT) :: TM
45 TYPE(isba_options_t), INTENT(INOUT) :: GRO
46 TYPE(isba_options_t), INTENT(INOUT) :: GDO
47 !
48  CHARACTER(LEN=6), INTENT(IN) :: HPROGRAM ! program calling surf. schemes
49  CHARACTER(LEN=3), INTENT(IN) :: HINIT ! choice of fields to initialize
50 REAL(KIND=JPRB) :: ZHOOK_HANDLE
51 !
52 !------------------------------------------------------------------------------------
53 !
54 IF (lhook) CALL dr_hook('READ_NAMELISTS_TEB_N',0,zhook_handle)
56 !
59  ccpsurf, xcgmax, cksat, &
60  crain, chort, lglacier, &
62 !
64 !
66 !
70 !
71  CALL read_default_teb_n(tm%CHT, tm%TD%MTO, tm%TD%O, tm%TD%DUT, gro, tm%NT%AL(1), tm%TOP, &
72  hprogram)
73 !
74  CALL read_teb_conf_n(tm%CHT, tm%TD%MTO, tm%TD%O, tm%TD%DUT, tm%NT%AL(1), tm%TOP, &
75  hprogram)
76 !
77  CALL read_teb_veg_conf_n(tm%CHT, gdo, hprogram)
78 !
79 IF (hinit=='PRE') THEN
80  CALL read_nam_prep_teb_n(hprogram)
81  CALL read_nam_prep_garden_n(hprogram)
82  CALL read_nam_prep_greenroof_n(hprogram)
83 ENDIF
84 !
85 IF (lhook) CALL dr_hook('READ_NAMELISTS_TEB_N',1,zhook_handle)
86 !
87 !------------------------------------
88 !
89 END SUBROUTINE read_namelists_teb_n
logical l2m_min_zs
Definition: modn_tebn.F90:47
logical lsurf_vars
Definition: modn_tebn.F90:51
real xtstep
Definition: modn_tebn.F90:64
logical lpgd
Definition: modn_tebn.F90:46
subroutine read_namelists_teb_n(TM, GRO, GDO, HPROGRAM, HINIT)
subroutine read_nam_prep_greenroof_n(HPROGRAM)
character(len=6) cz0h
Definition: modn_tebn.F90:59
character(len=4) crunoff
character(len=5) cch_bem
Definition: modn_tebn.F90:60
integer n2m
Definition: modn_tebn.F90:68
logical lsurf_budget
Definition: modn_tebn.F90:48
character(len=4) cscond_gr
subroutine default_greenroof(HRUNOFF_GR, HSCOND_GR,
subroutine default_teb(HZ0H, PTSTEP, POUT_TSTEP, HCH_BEM, PDT_RES, P
Definition: default_teb.F90:7
subroutine read_nam_prep_garden_n(HPROGRAM)
character(len=3) cksat
subroutine default_teb_veg(HRUNOFF, HSCOND, HC1DRY, HSOILFRZ, HDIFSFCOND, HSNOWRES,
logical lsurf_misc_budget
Definition: modn_tebn.F90:52
logical lutci
Definition: modn_tebn.F90:54
character(len=4) cc1dry
character(len=4) crunoff_gr
subroutine read_teb_veg_conf_n(CHT, IO, HPROGRAM)
integer, parameter jprb
Definition: parkind1.F90:32
logical lrad_budget
Definition: modn_tebn.F90:49
character(len=3) csnowres
subroutine default_ch_dep(HCH_DRY_DEP)
character(len=3) crain
character(len=3) ccpsurf
logical lhook
Definition: yomhook.F90:15
real xdt_off
Definition: modn_tebn.F90:62
character(len=6) cch_dry_dep
Definition: modn_tebn.F90:58
real xdt_res
Definition: modn_tebn.F90:61
character(len=4) cscond
logical lcanopy_drag
character(len=3) csoilfrz
real xdiag_tstep
Definition: modn_tebn.F90:66
subroutine read_default_teb_n(CHT, DMTO, DGO, DUT, IO, T, TOP, HP
real xout_tstep
Definition: modn_tebn.F90:65
subroutine default_diag_teb(K2M, OSURF_BUDGET, O2M_MIN_ZS, ORAD_BUDG
logical lcoef
Definition: modn_tebn.F90:50
subroutine read_nam_prep_teb_n(HPROGRAM)
character(len=3) chort
subroutine read_teb_conf_n(CHT, DMTO, DGO, DUT, T, TOP, HPROGRAM)
character(len=4) cdifsfcond
logical lsurf_diag_albedo
Definition: modn_tebn.F90:53