45 |
_RL pressure(Nrphys) |
_RL pressure(Nrphys) |
46 |
_RL lats(sNx,sNy,Nsx,Nsy), lons(sNx,sNy,Nsx,Nsy) |
_RL lats(sNx,sNy,Nsx,Nsy), lons(sNx,sNy,Nsx,Nsy) |
47 |
_RL fracland(sNx,sNy,Nsx,Nsy) |
_RL fracland(sNx,sNy,Nsx,Nsy) |
48 |
|
_RL tempoverlap(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nsx,Nsy) |
49 |
|
|
50 |
idim2 = sNx+OLx |
idim2 = sNx+OLx |
51 |
jdim2 = sNy+OLy |
jdim2 = sNy+OLy |
113 |
. nlatsq,nlevsq,ntimesq,latsq,levsq,stratq, |
. nlatsq,nlevsq,ntimesq,latsq,levsq,stratq, |
114 |
. Nrphys,pressure,n2o,methane,co2,cfc11,cfc12,cfc22) |
. Nrphys,pressure,n2o,methane,co2,cfc11,cfc12,cfc22) |
115 |
|
|
116 |
|
C Read dataset that contains topography variance (10m by 10m in a 2x2.5 box) |
117 |
|
CALL READ_REC_XY_RL('topvar19232.data',tempoverlap,1,0,mythid ) |
118 |
|
_BARRIER |
119 |
|
|
120 |
do bj = myByLo(myThid), myByHi(myThid) |
do bj = myByLo(myThid), myByHi(myThid) |
121 |
do bi = myBxLo(myThid), myBxHi(myThid) |
do bi = myBxLo(myThid), myBxHi(myThid) |
122 |
do j=jm1,jm2 |
do j=jm1,jm2 |
123 |
do i=im1,im2 |
do i=im1,im2 |
124 |
phis_var(i,j,bi,bj) = 0. |
if(fracland(i,j,bi,bj).gt.0.3) then |
125 |
|
phis_var(i,j,bi,bj) = tempoverlap(i,j,bi,bj) |
126 |
|
else |
127 |
|
phis_var(i,j,bi,bj) = 0. |
128 |
|
endif |
129 |
enddo |
enddo |
130 |
enddo |
enddo |
131 |
enddo |
enddo |
132 |
enddo |
enddo |
133 |
|
|
134 |
|
C Finally, grab unit numbers for reading sst and sea ice |
135 |
|
C (held in common block fizhi ocean coms) |
136 |
|
|
137 |
|
call mdsfindunit( kice, myThid ) |
138 |
|
open(kice) |
139 |
|
call mdsfindunit( ksst, myThid ) |
140 |
|
open(ksst) |
141 |
|
|
142 |
return |
return |
143 |
end |
end |