SURFEX v8.1
General documentation of Surfex
read_namelists_surfn.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_surf_n (CHU, DGO, USS, HPROGRAM,HINIT)
7 ! #######################################################
8 !
9 !---------------------------
10 !
11 !
12 !
13 USE modd_ch_surf_n, ONLY : ch_surf_t
14 USE modd_diag_n, ONLY : diag_options_t
15 USE modd_sso_n, ONLY : sso_t
16 !
18 !
19 USE modn_sso_n
20 !
21 USE modi_default_sso
22 !
23 USE modi_default_ch_surf_atm
24 !
25 USE modi_default_diag_surf_atm
26 !
27 USE modi_read_default_surf_atm_n
28 !
29 USE modi_read_surf_atm_conf_n
30 !
31 USE modi_read_nam_prep_surf_n
32 !
33 !------------------------------------
34 !
35 !
36 USE yomhook ,ONLY : lhook, dr_hook
37 USE parkind1 ,ONLY : jprb
38 !
39 IMPLICIT NONE
40 !
41 !
42 TYPE(ch_surf_t), INTENT(INOUT) :: CHU
43 TYPE(diag_options_t), INTENT(INOUT) :: DGO
44 TYPE(sso_t), INTENT(INOUT) :: USS
45 !
46  CHARACTER(LEN=6), INTENT(IN) :: HPROGRAM ! program calling surf. schemes
47  CHARACTER(LEN=3), INTENT(IN) :: HINIT ! choice of fields to initialize
48 REAL(KIND=JPRB) :: ZHOOK_HANDLE
49 !
50 !---------------------------------------------------------------------------
51 !
52 IF (lhook) CALL dr_hook('READ_NAMELISTS_SURF_N',0,zhook_handle)
54 !
56 !
61 !
62  CALL read_default_surf_atm_n(chu, dgo, uss, hprogram)
63 !
64  CALL read_surf_atm_conf_n(chu, dgo, uss, hprogram)
65 !
66 !---------------------------------------------------------------------------
67 !PREP
68 IF (hinit=='PRE') CALL read_nam_prep_surf_n(hprogram)
69 IF (lhook) CALL dr_hook('READ_NAMELISTS_SURF_N',1,zhook_handle)
70 !
71 !------------------------------------------------------------------------------------
72 END SUBROUTINE read_namelists_surf_n
character(len=12), dimension(4000) cselect
character(len=4) crough
Definition: modn_sson.F90:43
real xcoefbe
Definition: modn_sson.F90:45
subroutine read_namelists_surf_n(CHU, DGO, USS, HPROGRAM, HINIT)
subroutine read_surf_atm_conf_n(CHU, DGO, USS, HPROGRAM)
subroutine default_ch_surf_atm(HCHEM_SURF_FILE, OSURF_EMIS)
integer, parameter jprb
Definition: parkind1.F90:32
character(len=28), save cchem_surf_file
subroutine read_default_surf_atm_n(CHU, DGO, USS, HPROGRAM)
subroutine default_sso(HROUGH, PFRACZ0, PCOEFBE)
Definition: default_sso.F90:7
logical lhook
Definition: yomhook.F90:15
real xfracz0
Definition: modn_sson.F90:44
subroutine read_nam_prep_surf_n(HPROGRAM)
logical, save lch_surf_emis
subroutine default_diag_surf_atm(K2M, OT2MMW, OSURF_BUDGET, O2M_MI