SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
read_namelists_idealn.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_ideal_n (DGL, &
7  hprogram)
8 ! #######################################################
9 !
10 !--------------------------------------------------------------------------
11 !
12 !
13 !
15 !
16 USE modn_ideal_n
17 !
18 USE modi_default_diag_ideal
19 USE modi_read_default_ideal_n
20 USE modi_read_ideal_conf_n
21 !
22 !
23 USE yomhook ,ONLY : lhook, dr_hook
24 USE parkind1 ,ONLY : jprb
25 !
26 IMPLICIT NONE
27 !
28 !
29 TYPE(diag_ideal_t), INTENT(INOUT) :: dgl
30 !
31  CHARACTER(LEN=6), INTENT(IN) :: hprogram ! program calling surf. schemes
32 REAL(KIND=JPRB) :: zhook_handle
33 !
34 !----------------------------------------------------------
35 !ideal: reprend essentiellement la namelist NAM_DIAG_SURF
36 IF (lhook) CALL dr_hook('READ_NAMELISTS_IDEAL_N',0,zhook_handle)
37  CALL default_diag_ideal(n2m,lsurf_budget,l2m_min_zs,lrad_budget,lcoef,lsurf_vars,&
38  lsurf_budgetc,lreset_budgetc,xdiag_tstep )
39 !
40  CALL read_default_ideal_n(dgl, &
41  hprogram)
42 !
43  CALL read_ideal_conf_n(dgl, &
44  hprogram)
45 IF (lhook) CALL dr_hook('READ_NAMELISTS_IDEAL_N',1,zhook_handle)
46 !
47 END SUBROUTINE read_namelists_ideal_n
subroutine read_namelists_ideal_n(DGL, HPROGRAM)
subroutine default_diag_ideal(K2M, OSURF_BUDGET, O2M_MIN_ZS, ORAD_BUDGET, OCOEF, OSURF_VARS, OSURF_BUDGETC, ORESET_BUDGETC, PDIAG_TSTEP)
subroutine read_ideal_conf_n(DGL, HPROGRAM)
subroutine read_default_ideal_n(DGL, HPROGRAM)