SURFEX v8.1
General documentation of Surfex
get_lat_gwf.F90
Go to the documentation of this file.
1 !###############################################
2  SUBROUTINE get_lat_gwf (TPG, &
3  KLAT,PRES,PLAT)
4 !###############################################
5 !
6 !!**** *GET_LAT_GWF* - routine to get the TRIP longitude and latitude
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 INTEGER, INTENT(IN ) :: KLAT
55 REAL, INTENT(OUT) :: PRES
56 REAL, DIMENSION(KLAT), INTENT(OUT) :: PLAT
57 REAL(KIND=JPRB) :: ZHOOK_HANDLE
58 !
59 !* 0.2 Declarations of local variables
60 ! -------------------------------
61 !---------------------------------------------------------------------------
62 !
63 IF (lhook) CALL dr_hook('GET_LAT_GWF',0,zhook_handle)
64  CALL get_trip_grid(tpg%XTRIP_GRID,pres=pres,plat=plat)
65 IF (lhook) CALL dr_hook('GET_LAT_GWF',1,zhook_handle)
66 !
67 !---------------------------------------------------------------------------
68 !
69 END SUBROUTINE get_lat_gwf
subroutine get_lat_gwf(TPG, KLAT, PRES, PLAT)
Definition: get_lat_gwf.F90:4
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