SURFEX v8.1
General documentation of Surfex
read_namelists_surf.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(HPROGRAM)
7 ! #######################################################
8 !
9 !---------------------------
10 !
11 USE modd_surf_conf, ONLY : cprogname
12 !
13 USE modd_surf_atm, ONLY : xcismin, xvmodmin, laldthres, &
15  lcpl_gcm, xedb, xedc, xedd, xedk, &
22  lvshift_prcp, &
23  xco2uncpl
24 !
26 !
27 USE modi_default_surf_atm
28 USE modi_default_write_surf_atm
29 USE modi_read_default_surf_atm
30 USE modi_read_surf_atm_conf
31 !
32 USE modi_ini_csts
33 USE modi_read_nam_write_cover_tex
34 !
35 !
36 USE yomhook ,ONLY : lhook, dr_hook
37 USE parkind1 ,ONLY : jprb
38 !
39 IMPLICIT NONE
40 !
41  CHARACTER(LEN=6), INTENT(IN) :: HPROGRAM ! program calling surf. schemes
42 !
43 REAL :: ZOUT_TSTEP
44 INTEGER :: ILUNAM ! logical unit of namelist file
45 INTEGER :: ILUOUT
46 LOGICAL :: GFOUND ! Return code when searching namelist
47 REAL(KIND=JPRB) :: ZHOOK_HANDLE
48 !
49 !-----------------------------------------------------------------------------
50 !
51 IF (lhook) CALL dr_hook('READ_NAMELISTS_SURF',0,zhook_handle)
52  CALL default_surf_atm(zout_tstep,xcismin,xvmodmin,laldthres, &
54  lcpl_gcm, xedb, xedc, xedd, xedk, &
57  xwindmin, &
63 !
65 !
66  CALL read_default_surf_atm(hprogram)
67 !
68  CALL read_surf_atm_conf(hprogram)
69 !
70 !
71 cprogname=hprogram
72  CALL ini_csts
73 !
74  CALL read_nam_write_cover_tex(hprogram)
75 IF (lhook) CALL dr_hook('READ_NAMELISTS_SURF',1,zhook_handle)
76 !
77 !
78 END SUBROUTINE read_namelists_surf
logical lrrgust_arp
subroutine default_surf_atm(POUT_TSTEP, PCISMIN, PVMODMIN, OALDTHR
integer, parameter jprb
Definition: parkind1.F90:32
character(len=6) cprogname
subroutine read_default_surf_atm(HPROGRAM)
subroutine read_namelists_surf(HPROGRAM)
subroutine ini_csts
Definition: ini_csts.F90:7
logical lvshift_lw
logical lvziustar0_arp
logical lhook
Definition: yomhook.F90:15
subroutine read_surf_atm_conf(HPROGRAM)
logical lvertshift
subroutine default_write_surf_atm(ONOWRITE_CANOPY, ONOWRITE_TEXFIL
logical ldrag_coef_arp
subroutine read_nam_write_cover_tex(HPROGRAM)
logical lvshift_prcp