SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
pgd_grid_io_init.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 pgd_grid_io_init(HPROGRAM)
7 ! ######################################
8 !!
9 !! PURPOSE
10 !! -------
11 !!
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 USE yomhook ,ONLY : lhook, dr_hook
43 USE parkind1 ,ONLY : jprb
44 !
45 #ifdef SFX_MNH
46 USE modi_pgd_grid_io_init_mnh
47 #endif
48 IMPLICIT NONE
49 !
50 !* 0.1 Declaration of dummy arguments
51 ! ------------------------------
52 !
53  CHARACTER(LEN=6), INTENT(IN) :: hprogram ! program calling READ_PGD
54 REAL(KIND=JPRB) :: zhook_handle
55 !
56 !
57 !* 0.2 Declaration of local variables
58 ! ------------------------------
59 !
60 !------------------------------------------------------------------------------
61 !
62 IF (lhook) CALL dr_hook('PGD_GRID_IO_INIT',0,zhook_handle)
63 IF (hprogram=='MESONH') THEN
64 #ifdef SFX_MNH
65  CALL pgd_grid_io_init_mnh
66 #endif
67 END IF
68 IF (lhook) CALL dr_hook('PGD_GRID_IO_INIT',1,zhook_handle)
69 !
70 !-------------------------------------------------------------------------------
71 !
72 END SUBROUTINE pgd_grid_io_init
subroutine pgd_grid_io_init(HPROGRAM)