SURFEX v7.3
General documentation of Surfex
 All Classes Files Functions Variables Typedefs
/home/dasprezs/EXPORT_v7_3/src/SURFEX/get_grid_coord_ign.F90
Go to the documentation of this file.
00001 !     ###############################################
00002       SUBROUTINE GET_GRID_COORD_IGN(KGRID_PAR,KL,PGRID_PAR,PX,PY)
00003 !     ###############################################
00004 !
00005 !!****  *GET_GRID_COORD_IGN* - computes X and Y of ALL points
00006 !!
00007 !!    PURPOSE
00008 !!    -------
00009 !!
00010 !!**  METHOD
00011 !!    ------
00012 !!
00013 !!    EXTERNAL
00014 !!    --------
00015 !!
00016 !!
00017 !!    IMPLICIT ARGUMENTS
00018 !!    ------------------
00019 !!
00020 !!    REFERENCE
00021 !!    ---------
00022 !!
00023 !!
00024 !!    AUTHOR
00025 !!    ------
00026 !!      E. Martin   *Meteo France*      
00027 !!
00028 !!    MODIFICATIONS
00029 !!    -------------
00030 !!      Original    10/2007 
00031 !-------------------------------------------------------------------------------
00032 !
00033 !*       0.    DECLARATIONS
00034 !              ------------
00035 USE MODE_GRIDTYPE_IGN
00036 !
00037 !
00038 USE YOMHOOK   ,ONLY : LHOOK,   DR_HOOK
00039 USE PARKIND1  ,ONLY : JPRB
00040 !
00041 IMPLICIT NONE
00042 !
00043 !*       0.1   Declarations of arguments
00044 !              -------------------------
00045 !
00046 INTEGER,                    INTENT(IN)  :: KGRID_PAR  ! size of PGRID_PAR
00047 INTEGER,                    INTENT(IN)  :: KL         ! number of points
00048 REAL, DIMENSION(KGRID_PAR), INTENT(IN)  :: PGRID_PAR  ! parameters defining this grid
00049 REAL, DIMENSION(KL),        INTENT(OUT) :: PX         ! X (m)
00050 REAL, DIMENSION(KL),        INTENT(OUT) :: PY         ! Y (m)
00051 REAL(KIND=JPRB) :: ZHOOK_HANDLE
00052 !
00053 !*       0.2   Declarations of local variables
00054 !              -------------------------------
00055 !
00056 !---------------------------------------------------------------------------
00057 !
00058 !*       1.    Projection and 2D grid parameters
00059 !              ---------------------------------
00060 !
00061 IF (LHOOK) CALL DR_HOOK('GET_GRID_COORD_IGN',0,ZHOOK_HANDLE)
00062  CALL GET_GRIDTYPE_IGN(PGRID_PAR,PX=PX,PY=PY)
00063 IF (LHOOK) CALL DR_HOOK('GET_GRID_COORD_IGN',1,ZHOOK_HANDLE)
00064 !
00065 !---------------------------------------------------------------------------
00066 !
00067 END SUBROUTINE GET_GRID_COORD_IGN