next up previous contents index
Next: areaini_point Up: Module areaMod (File: areaMod.F90) Previous: celledge_regional   Contents   Index


celledge_global


INTERFACE:

   subroutine celledge_global (nlat, nlon, numlon, longxy, latixy, &
                               lats, lonw )
DESCRIPTION:

   Southern and western edges of grid cells - global grid
   Latitudes -- southern/northern edges for each latitude strip.
   For grids oriented South to North, the southern
   and northern edges of latitude strip [j] are:
          southern = lats(j  )
          northern = lats(j+1)
   For grids oriented North to South: the southern
   and northern edges of latitude strip [j] are:
          northern = lats(j  )
          southern = lats(j+1)
   In both cases, [lats] must be dimensioned lats(lat+1)
   Longitudes -- western edges. Longitudes for the western edge of the
   cells must increase continuously and span 360 degrees.
ARGUMENTS:
     implicit none
     integer , intent(in) :: nlat               !dimension: number of latitude
     integer , intent(in) :: nlon               !dimension: number of longitud
     integer , intent(in) :: numlon(nlat)       !number of grid cells per lati
     real(r8), intent(in) :: longxy(nlon,nlat)  !longitude at center of grid c
     real(r8), intent(in) :: latixy(nlon,nlat)  !latitude at center of grid ce
     real(r8), intent(out):: lats(nlat+1)       !grid cell latitude, southern 
     real(r8), intent(out):: lonw(nlon+1,nlat)  !grid cell longitude, western
REVISION HISTORY:
   Created by Mariana Vertenstein



Mariana Vertenstein 2004-06-21