SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
default_schemes.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 default_schemes(HPROGRAM,HNATURE,HSEA,HTOWN,HWATER)
7 ! ######################################
8 !!
9 !! PURPOSE
10 !! -------
11 !! initializes the surface SCHEMES.
12 !!
13 !! METHOD
14 !! ------
15 !!
16 !! EXTERNAL
17 !! --------
18 !!
19 !!
20 !! IMPLICIT ARGUMENTS
21 !! ------------------
22 !!
23 !!
24 !! REFERENCE
25 !! ---------
26 !!
27 !! AUTHOR
28 !! ------
29 !!
30 !! V. Masson Meteo-France
31 !!
32 !! MODIFICATION
33 !! ------------
34 !!
35 !! Original 13/10/03
36 !----------------------------------------------------------------------------
37 !
38 !* 0. DECLARATION
39 ! -----------
40 !
41 !
42 !
43 USE yomhook ,ONLY : lhook, dr_hook
44 USE parkind1 ,ONLY : jprb
45 !
46 #ifdef SFX_MNH
47 USE modi_default_schemes_mnh
48 #endif
49 !
50 IMPLICIT NONE
51 !
52 !* 0.1 Declaration of dummy arguments
53 ! ------------------------------
54 !
55  CHARACTER(LEN=6), INTENT(IN) :: hprogram ! program calling READ_PGD
56  CHARACTER(LEN=6), INTENT(OUT) :: hnature ! scheme for natural surfaces
57  CHARACTER(LEN=6), INTENT(OUT) :: hsea ! scheme for sea
58  CHARACTER(LEN=6), INTENT(OUT) :: htown ! scheme for towns
59  CHARACTER(LEN=6), INTENT(OUT) :: hwater ! scheme for inland water
60 REAL(KIND=JPRB) :: zhook_handle
61 !
62 !
63 !* 0.2 Declaration of local variables
64 ! ------------------------------
65 !
66 !------------------------------------------------------------------------------
67 !
68 IF (lhook) CALL dr_hook('DEFAULT_SCHEMES',0,zhook_handle)
69 IF (hprogram=='MESONH') THEN
70 #ifdef SFX_MNH
71  CALL default_schemes_mnh(hnature,hsea,htown,hwater)
72 #endif
73 ELSE
74  hnature = 'ISBA '
75  hsea = 'SEAFLX'
76  htown = 'TEB '
77  hwater = 'WATFLX'
78 END IF
79 IF (lhook) CALL dr_hook('DEFAULT_SCHEMES',1,zhook_handle)
80 !
81 !-------------------------------------------------------------------------------
82 !
83 END SUBROUTINE default_schemes
subroutine default_schemes(HPROGRAM, HNATURE, HSEA, HTOWN, HWATER)