Go to the source code of this file.
◆ __getbasichistoinfo.f__()
program __getbasichistoinfo.f__ |
( |
| ) |
|
◆ proctimebin()
subroutine proctimebin |
( |
| ) |
|
Definition at line 60 of file getBasicHistoInfo.f.
References kwhistd(), kwhistr(), kwhists(), nfai, and nrbin.
61 #include "ZprivateSub.h" 62 #include "../../Hist/Z90histc.h" 63 #include "../../Hist/Z90histo.h" 64 #include "../../Hist/Z90hist1.h" 77 character*256 filename, tempfile
81 integer nbinhisto,
mode, status, webonly
82 integer kwhistreadascii
86 call getarg(2, buf, status)
88 call getarg(3, filename, status)
90 call getarg(4, tempfile, status)
92 open(fnot, file=filename,
93 * iostat=status, access=
'sequential',
94 * form=
'unformatted', action=
'read')
95 if(status .ne. 0 )
then 96 write(0,*)
' cannot open file =' 100 open(fnow, file=tempfile,
101 * iostat=status, access=
'sequential',
102 * form=
'formatted', action=
'write')
103 if(status .ne. 0 )
then 104 write(0,*)
' cannot open file =' 110 if(webonly .eq. 0)
then 113 read( fnot, end=100 ) histid0
114 if( histid0 .ne.
'#hist1' )
then 115 write(0,*)
' histogram is not 1D: ',histid0
119 write(0,*)
' reading core region' 131 write(0,*)
' reading web region' 137 read( fnot, end=100 ) histid0
138 if( histid0 .ne.
'#hist1' )
then 139 write(0,*)
' histogram is not 1-D: ',histid0
143 write(fnow,
'(a)') h10%c%id
155 write(0,*)
' unexpected EOF ' 161 call getarg(2, buf, status)
163 call getarg(3, filename, status)
165 call getarg(4, tempfile, status)
166 open(fnot, file=filename,
167 * iostat=status, access=
'sequential',
168 * form=
'formatted', action=
'read')
169 if(status .ne. 0 )
then 170 write(0,*)
' cannot open file =' 174 open(fnow, file=tempfile,
175 * iostat=status, access=
'sequential',
176 * form=
'formatted', action=
'write')
177 if(status .ne. 0 )
then 178 write(0,*)
' cannot open file =' 183 if(webonly .eq. 0 )
then 187 nbinhisto=kwhistreadascii(h10, fnot)
188 if(nbinhisto .le. 0 )
then 189 write(0,*)
' ascii read failed' 204 nbinhisto=kwhistreadascii(h10, fnot)
205 if(nbinhisto .le. 0 )
then 206 write(0,*)
' ascii read failed' 209 write(fnow,
'(a)') h10%c%id
void kwhistd(struct histogram1 *h)
*Zfirst p fm *Zfirst p Zfirst p code
void kwhistr(struct histogram1 *h, FILE *bfnor, int icon)
void kwhists(struct histogram1 *h, float inorm)