3 i tminco, smaglm, iqlimt, maxcat, idncat, datcat,
4 i ifxclm, numclm, timclm, gciclm, briclm, vrmclm,
5 i vrpclm, nobclm, mrkclm, numstr, klmstr,
6 o mrkstr, lblclm, idfclm, nrfclm, mapclm, skyclm, idfhst,
68 INTEGER*4 LEVDBG(8),LUDBUG
69 COMMON /cmdebg/levdbg,ludbug
150 real*8 eptime , dangtl , dmagtl , pangtl
151 real*8 tangtl , tminco , timclm(*)
153 real*4 smaglm , datcat(7,*)
154 real*4 gciclm(3,*) , briclm(*) , vrmclm(*)
155 real*4 vrpclm(*) , skyclm(10,3,*)
157 INTEGER*4 IQLIMT(6) , IMATCH , MAXCAT , IDNCAT(*)
158 INTEGER*4 NUMCLM , NOBCLM(*) , MRKCLM(*), NUMSTR
159 INTEGER*4 KLMSTR(*) , MRKSTR(*) , IDFCLM(*), NRFCLM(*)
160 INTEGER*4 LBLCLM(*) , MAPCLM(10,*) , IFXCLM , IRCODE
164 INTEGER*4 IERR , NUMTRP , NUMDUB , NUMCAT ,LUCAT
167 IF (levdbg(7) .NE. 0)
WRITE (ludbug,1000)
172 CALL getcat(lucat , eptime, maxcat, smaglm, iqlimt,
173 1 numcat, idncat, datcat, ierr)
174 IF (ierr .NE. 0)
THEN
175 IF (levdbg(7) .NE. 0)
WRITE (ludbug,6000) ierr
182 CALL dmatch (dangtl, dmagtl, ifxclm, numcat,
183 1 idncat, datcat, numstr, klmstr,
184 2 numclm, lblclm, gciclm, briclm, nobclm,
185 3 mrkclm, mrkstr, idfclm, nrfclm,
186 4 mapclm, skyclm, ierr)
187 IF (ierr .NE. 0)
THEN
188 IF (levdbg(7) .NE. 0)
WRITE (ludbug,6001) ierr
195 CALL corect(idncat, datcat, numclm, lblclm, timclm,
196 * nrfclm, mapclm, mrkclm, skyclm, ierr)
197 IF (ierr .NE. 0)
THEN
198 IF (levdbg(7) .NE. 0)
WRITE (ludbug,6002) ierr
205 IF (numclm .GT. 1)
THEN
206 CALL sortcl (numclm, numstr, ifxclm,
207 1 lblclm, timclm, briclm, gciclm, vrmclm, vrpclm, nobclm,
208 2 mrkclm, idfclm, nrfclm, mapclm, skyclm, klmstr, idfhst)
213 IF ((imatch .EQ. 3).AND.(numclm .GE. 3))
THEN
214 CALL triplt (tangtl, tminco, numclm, lblclm, gciclm, nobclm,
215 1 mrkclm, numstr, klmstr, mrkstr, skyclm,
216 2 nrfclm, mapclm, idfclm, numtrp)
217 IF (levdbg(7) .GE. 4)
WRITE (ludbug,4000) numtrp
222 IF ((imatch .EQ. 2).AND.(numclm .GE. 2))
THEN
223 CALL doublt (pangtl, numclm, numstr, klmstr, lblclm, gciclm,
224 1 mrkclm, nrfclm, mapclm, skyclm, mrkstr, idfclm,
231 IF (levdbg(7) .GE. 4)
WRITE (ludbug,4001) numdub
232 ELSE IF ((imatch .EQ. 3).AND.(numtrp .EQ. 0).AND.
233 1 (numclm .GE. 2))
THEN
237 WRITE(*,*)
'NO TRIPLETS FOUND -- ATTEMPTING PAIR MATCHING'
238 CALL doublt (pangtl, numclm, numstr, klmstr, lblclm, gciclm,
239 1 mrkclm, nrfclm, mapclm, skyclm, mrkstr, idfclm,
246 IF (levdbg(7) .GE. 4)
WRITE (ludbug,4001) numdub
249 IF (levdbg(7) .NE. 0)
WRITE (ludbug,2000)
253 1000
FORMAT(
' *** ENTER IDENTY 92/09/30 ***')
254 2000
FORMAT(
' *** EXIT IDENTY ***')
255 4000
FORMAT(
' TRIPLT MATCH: NUMBER OF VALID TRIPLETS = ',i8)
256 4001
FORMAT(
' DOUBLT MATCH: NUMBER OF VALID DOUBLETS = ',i8)
257 6000
FORMAT(
' ABEND IDENTY: ERROR RETURN FROM GETCAT = ',i8)
258 6001
FORMAT(
' ABEND IDENTY: ERROR RETURN FROM DMATCH = ',i8)
259 6002
FORMAT(
' ABEND IDENTY: ERROR RETURN FROM CORECT = ',i8)