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