next up previous contents
Next: areaini_point Up: Fortran: Module Interface areaMod Previous: celledge_regional   Contents

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 points
     integer , intent(in) :: nlon               !dimension: number of longitude points
     integer , intent(in) :: numlon(nlat)       !number of grid cells per latitude strip
     real(r8), intent(in) :: longxy(nlon,nlat)  !longitude at center of grid cell
     real(r8), intent(in) :: latixy(nlon,nlat)  !latitude at center of grid cell
     real(r8), intent(out):: lats(nlat+1)       !grid cell latitude, southern edge (degrees)
     real(r8), intent(out):: lonw(nlon+1,nlat)  !grid cell longitude, western edge (degrees)
REVISION HISTORY:
   Created by Mariana Vertenstein



Mariana Vertenstein 2003-01-14