SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
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, &
14  ldrag_coef_arp, laldz0h, lnosof, &
15  lcpl_gcm, xedb, xedc, xedd, xedk, &
16  xusuric, xusurid, xusuricl, &
17  xvchrnk, xvz0cm, xrimax, xdelta_max, &
18  xwindmin, lvziustar0_arp, &
19  xrzhz0m, xvziustar0, lrrgust_arp, &
20  xrrscale, xrrgamma, xutilgust, lcpl_arp, &
21  lqvnplus, lvertshift, lvshift_lw, &
22  lvshift_prcp, &
23  xco2uncpl
24 !
25 USE modd_write_surf_atm, ONLY : lnowrite_canopy, lnowrite_texfile
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, &
53  ldrag_coef_arp, laldz0h, lnosof, &
54  lcpl_gcm, xedb, xedc, xedd, xedk, &
55  xusuric, xusurid, xusuricl, &
56  xvchrnk, xvz0cm, xrimax, xdelta_max, &
57  xwindmin, &
58  lvziustar0_arp, &
59  xrzhz0m, xvziustar0, lrrgust_arp, &
60  xrrscale, xrrgamma,xutilgust, lcpl_arp, &
61  lqvnplus, lvertshift, lvshift_lw, &
62  lvshift_prcp, xco2uncpl )
63 !
64  CALL default_write_surf_atm(lnowrite_canopy, lnowrite_texfile)
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
subroutine default_write_surf_atm(ONOWRITE_CANOPY, ONOWRITE_TEXFILE)
subroutine default_surf_atm(POUT_TSTEP, PCISMIN, PVMODMIN, OALDTHRES, ODRAG_COEF_ARP, OALDZ0H, ONOSOF, OCPL_GCM, PEDB, PEDC, PEDD, PEDK, PUSURIC, PUSURID, PUSURICL, PVCHRNK, PVZ0CM, PRIMAX, PDELTA_MAX, PWINDMIN, OVZIUSTAR0_ARP, PRZHZ0M, PVZIUSTAR0, ORRGUST_ARP, PRRSCALE, PRRGAMMA, PUTILGUST, OCPL_ARP, OQVNPLUS, OVERTSHIFT, OVSHIFT_LW, OVSHIFT_PRCP, PCO2UNCPL)
subroutine read_default_surf_atm(HPROGRAM)
subroutine read_namelists_surf(HPROGRAM)
subroutine ini_csts
Definition: ini_csts.F90:6
subroutine read_surf_atm_conf(HPROGRAM)
subroutine read_nam_write_cover_tex(HPROGRAM)