55 |
jthi = mybyhi(mythid) |
jthi = mybyhi(mythid) |
56 |
itlo = mybxlo(mythid) |
itlo = mybxlo(mythid) |
57 |
ithi = mybxhi(mythid) |
ithi = mybxhi(mythid) |
58 |
|
|
59 |
WRITE(suff,'(I10.10)') myIter |
WRITE(suff,'(I10.10)') myIter |
60 |
|
suff = suff(1:ILNBLNK(suff))//'.data' |
61 |
|
|
62 |
CALL READ_FLD_XY_RS( 'land_ice_surf.'//suff//'.data.', ' ', |
CALL READ_FLD_XY_RS( 'land_ice_surf.'//suff, ' ', |
63 |
& S_obs, 0, myThid ) |
& S_obs, 0, myThid ) |
64 |
|
|
65 |
C-- Calculate mask for tracer cells (0 => land, 1 => water) |
C-- Calculate mask for tracer cells (0 => land, 1 => water) |
76 |
do j=1,sNy |
do j=1,sNy |
77 |
do i=1,sNx |
do i=1,sNx |
78 |
|
|
79 |
|
|
80 |
|
! S_obs(i,j,bi,bj) = 0.0 |
81 |
|
|
82 |
cost_func1_streamice (bi,bj) = |
cost_func1_streamice (bi,bj) = |
83 |
& cost_func1_streamice (bi,bj) + |
& cost_func1_streamice (bi,bj) + |
84 |
& 0.5 * (S_obs(i,j,bi,bj)- |
& 0.5 * (S_obs(i,j,bi,bj)- |