SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
get_grid_conf_isban.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 get_grid_conf_isba_n (IG, &
7  plonmin,plonmax,platmin,platmax,kx,ky,kl)
8 ! #########################################
9 !
10 !!**** *GET_GRID_CONF_ISBA_n* - routine to get the ISBA grid configuration
11 !!
12 !! PURPOSE
13 !! -------
14 !!
15 !!** METHOD
16 !! ------
17 !!
18 !! EXTERNAL
19 !! --------
20 !!
21 !!
22 !! IMPLICIT ARGUMENTS
23 !! ------------------
24 !!
25 !! REFERENCE
26 !! ---------
27 !!
28 !!
29 !! AUTHOR
30 !! ------
31 !! V. Masson *Meteo France*
32 !!
33 !! MODIFICATIONS
34 !! -------------
35 !! Original 01/2004
36 !-------------------------------------------------------------------------------
37 !
38 !* 0. DECLARATIONS
39 ! ------------
40 !
41 !
42 USE modd_isba_grid_n, ONLY : isba_grid_t
43 !
45 !
46 !
47 USE yomhook ,ONLY : lhook, dr_hook
48 USE parkind1 ,ONLY : jprb
49 !
50 IMPLICIT NONE
51 !
52 !* 0.1 Declarations of arguments
53 ! -------------------------
54 !
55 !
56 TYPE(isba_grid_t), INTENT(INOUT) :: ig
57 !
58 REAL, INTENT(OUT) :: plonmin
59 REAL, INTENT(OUT) :: plonmax
60 REAL, INTENT(OUT) :: platmin
61 REAL, INTENT(OUT) :: platmax
62 INTEGER, INTENT(OUT) :: kx
63 INTEGER, INTENT(OUT) :: ky
64 INTEGER, INTENT(OUT) :: kl
65 !
66 !* 0.2 Declarations of local variables
67 ! -------------------------------
68 !
69  CHARACTER(LEN=100) :: ycomment
70 REAL(KIND=JPRB) :: zhook_handle
71 !---------------------------------------------------------------------------
72 !
73 IF (lhook) CALL dr_hook('GET_GRID_CONF_ISBA_N',0,zhook_handle)
74 SELECT CASE (ig%CGRID)
75 !
76 ! CASE("CONF PROJ ")
77 !
78 ! CASE("CARTESIAN ")
79 
80  CASE("LONLAT REG")
81  CALL get_gridtype_lonlat_reg(ig%XGRID_PAR,plonmin,plonmax,platmin,platmax,kx,ky,kl)
82 !
83 ! CASE("GAUSS ")
84 !
85 ! CASE("NONE ", "IGN ")
86 
87 END SELECT
88 IF (lhook) CALL dr_hook('GET_GRID_CONF_ISBA_N',1,zhook_handle)
89 !
90 !---------------------------------------------------------------------------
91 !
92 END SUBROUTINE get_grid_conf_isba_n
subroutine get_gridtype_lonlat_reg(PGRID_PAR, PLONMIN, PLONMAX, PLATMIN, PLATMAX, KLON, KLAT, KL, PLON, PLAT)
subroutine get_grid_conf_isba_n(IG, PLONMIN, PLONMAX, PLATMIN, PLATMAX, KX, KY, KL)