SURFEX v8.1
General documentation of Surfex
get_trip_grid_conf.F90
Go to the documentation of this file.
1 ! #########
2  SUBROUTINE get_trip_grid_conf (TPG, &
3  PLONMIN,PLONMAX,PLATMIN,PLATMAX,PRES,KLON,KLAT)
4 ! #########################################
5 !
6 !!**** *GET_TRIP_GRID_CONF* - routine to get the TRIP grid configuration
7 !!
8 !! PURPOSE
9 !! -------
10 !!
11 !!** METHOD
12 !! ------
13 !!
14 !! EXTERNAL
15 !! --------
16 !!
17 !!
18 !! IMPLICIT ARGUMENTS
19 !! ------------------
20 !!
21 !! REFERENCE
22 !! ---------
23 !!
24 !!
25 !! AUTHOR
26 !! ------
27 !! B. Decharme *Meteo France*
28 !!
29 !! MODIFICATIONS
30 !! -------------
31 !! Original 01/2013
32 !-------------------------------------------------------------------------------
33 !
34 !* 0. DECLARATIONS
35 ! ------------
36 !
37 !
38 USE modd_trip_grid, ONLY : trip_grid_t
39 !
41 !
42 !
43 USE yomhook ,ONLY : lhook, dr_hook
44 USE parkind1 ,ONLY : jprb
45 !
46 IMPLICIT NONE
47 !
48 !* 0.1 Declarations of arguments
49 ! -------------------------
50 !
51 !
52 TYPE(trip_grid_t), INTENT(INOUT) :: TPG
53 !
54 REAL, INTENT(OUT) :: PLONMIN
55 REAL, INTENT(OUT) :: PLONMAX
56 REAL, INTENT(OUT) :: PLATMIN
57 REAL, INTENT(OUT) :: PLATMAX
58 REAL, INTENT(OUT) :: PRES
59 INTEGER, INTENT(OUT) :: KLON
60 INTEGER, INTENT(OUT) :: KLAT
61 REAL(KIND=JPRB) :: ZHOOK_HANDLE
62 !
63 !* 0.2 Declarations of local variables
64 ! -------------------------------
65 !---------------------------------------------------------------------------
66 !
67 IF (lhook) CALL dr_hook('GET_TRIP_GRID_CONF',0,zhook_handle)
68 !
69  CALL get_trip_grid(tpg%XTRIP_GRID,plonmin,plonmax,platmin,platmax,pres,klon,klat)
70 !
71 IF (lhook) CALL dr_hook('GET_TRIP_GRID_CONF',1,zhook_handle)
72 !
73 !---------------------------------------------------------------------------
74 !
75 END SUBROUTINE get_trip_grid_conf
subroutine get_trip_grid(PTRIP_GRID, PLONMIN, PLONMAX, PLATMIN, PLATMAX, PRES, KLON, KLAT, PLON, PLAT)
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15
subroutine get_trip_grid_conf(TPG, PLONMIN, PLONMAX, PLATMIN, PLATMAX, PRE