185 |
do icvar = 1,maxcvars |
do icvar = 1,maxcvars |
186 |
if ( ncvarindex(icvar) .ne. -1 ) then |
if ( ncvarindex(icvar) .ne. -1 ) then |
187 |
do icvrec = 1,ncvarrecs(icvar) |
do icvrec = 1,ncvarrecs(icvar) |
188 |
do bj = 1,nsy |
cph do bj = 1,nsy |
189 |
do bi = 1,nsx |
cph do bi = 1,nsx |
190 |
write( funit ) ncvarindex(icvar) |
write( funit ) ncvarindex(icvar) |
191 |
write( funit ) bj |
write( funit ) bj |
192 |
write( funit ) bi |
write( funit ) bi |
246 |
icvoffset = icvoffset + cbuffindex |
icvoffset = icvoffset + cbuffindex |
247 |
endif |
endif |
248 |
enddo |
enddo |
249 |
enddo |
cph enddo |
250 |
enddo |
cph enddo |
251 |
enddo |
enddo |
252 |
endif |
endif |
253 |
enddo |
enddo |
254 |
|
|
255 |
close( funit ) |
close( funit ) |
256 |
cph( |
cph( |
257 |
print *,'in owd: icvoffset', icvoffset |
print *,'end of optim_writedata: icvoffset ', icvoffset |
258 |
cph) |
cph) |
259 |
|
|
260 |
return |
return |