34 |
cgg options for OBCS masks. |
cgg options for OBCS masks. |
35 |
#include "ECCO_CPPOPTIONS.h" |
#include "ECCO_CPPOPTIONS.h" |
36 |
|
|
|
#include "ecco.h" |
|
37 |
#include "ctrl.h" |
#include "ctrl.h" |
38 |
#include "optim.h" |
#include "optim.h" |
39 |
#include "minimization.h" |
#include "minimization.h" |
96 |
|
|
97 |
c-- Generate file name and open the file. |
c-- Generate file name and open the file. |
98 |
write(fname(1:128),'(4a,i4.4)') |
write(fname(1:128),'(4a,i4.4)') |
99 |
& dfile,'_',expId(1:10),'.opt', nopt |
& dfile,'_',yctrlid(1:10),'.opt', nopt |
100 |
open( funit, file = fname, |
open( funit, file = fname, |
101 |
& status = 'new', |
& status = 'new', |
102 |
& form = 'unformatted', |
& form = 'unformatted', |
105 |
cph( |
cph( |
106 |
print *, 'pathei: nvartype ', nvartype |
print *, 'pathei: nvartype ', nvartype |
107 |
print *, 'pathei: nvarlength ', nvarlength |
print *, 'pathei: nvarlength ', nvarlength |
108 |
print *, 'pathei: expId ', expId |
print *, 'pathei: yctrlid ', yctrlid |
109 |
print *, 'pathei: nopt ', nopt |
print *, 'pathei: nopt ', nopt |
110 |
print *, 'pathei: ff ', ff |
print *, 'pathei: ff ', ff |
111 |
print *, 'pathei: iG ', biG |
print *, 'pathei: iG ', biG |
138 |
c-- Write the header. |
c-- Write the header. |
139 |
write( funit ) nvartype |
write( funit ) nvartype |
140 |
write( funit ) nvarlength |
write( funit ) nvarlength |
141 |
write( funit ) expId |
write( funit ) yctrlid |
142 |
write( funit ) optimcycle |
write( funit ) optimcycle |
143 |
write( funit ) ff |
write( funit ) ff |
144 |
write( funit ) big |
write( funit ) big |
180 |
do icvar = 1,maxcvars |
do icvar = 1,maxcvars |
181 |
if ( ncvarindex(icvar) .ne. -1 ) then |
if ( ncvarindex(icvar) .ne. -1 ) then |
182 |
do icvrec = 1,ncvarrecs(icvar) |
do icvrec = 1,ncvarrecs(icvar) |
|
cph( |
|
|
print *,'in owd: icvar, icvrec, ncvarrecs, ncvarindex', |
|
|
& icvar, icvrec, ncvarrecs(icvar), ncvarindex(icvar) |
|
|
cph) |
|
183 |
do bj = 1,nsy |
do bj = 1,nsy |
184 |
do bi = 1,nsx |
do bi = 1,nsx |
185 |
write( funit ) ncvarindex(icvar) |
write( funit ) ncvarindex(icvar) |