35 integer,
intent( in) :: jbeg,jend
36 integer,
intent( in) :: ivert(nv), jvert(nv)
37 real(dbl_kind),
dimension(ni,nj),
intent( in) :: lat, lon
39 real(dbl_kind),
dimension(ni,nj,nv),
intent(out) :: latvert,lonvert
42 integer :: i,j,n,ii,jj
47 ii = i + ivert(n); jj = j + jvert(n)
49 if(ii .eq. ni+1)ii = 1
50 latvert(i,j,n) = lat(ii,jj)
51 lonvert(i,j,n) = lon(ii,jj)
68 subroutine fill_bottom(iVert,jVert,lat,lon,latvert,lonvert,dlat)
70 integer,
intent( in) :: ivert(nv), jvert(nv)
71 real(dbl_kind),
dimension(ni,nj),
intent( in) :: lat, lon
72 real(dbl_kind),
dimension(ni),
intent( in) :: dlat
74 real(dbl_kind),
dimension(ni,nj,nv),
intent(out) :: latvert,lonvert
77 integer :: i,j,n,ii,jj
85 ii = i + ivert(n); jj = j + jvert(n)
87 if(ii .eq. ni+1)ii = 1
88 latvert(i,j,n) = lat(ii,jj)
89 lonvert(i,j,n) = lon(ii,jj)
94 if(ii .eq. ni+1)ii = 1
95 latvert(i,j, n) = dlat(ii)
97 lonvert(i,j, 3) = lonvert(i,j,2)
98 lonvert(i,j, 4) = lonvert(i,j,1)
114 subroutine fill_top(iVert,jVert,lat,lon,latvert,lonvert,xlat,xlon)
116 integer,
intent( in) :: ivert(nv), jvert(nv)
117 real(dbl_kind),
dimension(ni,nj),
intent( in) :: lat, lon
118 real(dbl_kind),
dimension(ni),
intent( in) :: xlat, xlon
120 real(dbl_kind),
dimension(ni,nj,nv),
intent(out) :: latvert,lonvert
123 integer :: i,j,n,ii,jj
131 ii = i + ivert(n); jj = j + jvert(n)
133 if(ii .eq. ni+1)ii = 1
134 latvert(i,j,n) = lat(ii,jj)
135 lonvert(i,j,n) = lon(ii,jj)
140 if(ii .eq. ni+1)ii = 1
141 latvert(i,j,n) = xlat(ii)
142 lonvert(i,j,n) = xlon(ii)
subroutine fill_vertices(jbeg, jend, iVert, jVert, lat, lon, latvert, lonvert)
Fill the vertices for any stagger location between bounding j-rows.
subroutine fill_bottom(iVert, jVert, lat, lon, latvert, lonvert, dlat)
Fill the vertices for a stagger location along the bottom j-row.
subroutine fill_top(iVert, jVert, lat, lon, latvert, lonvert, xlat, xlon)
Fill the vertices for a stagger location along the top j-row.