      SUBROUTINE CR6PNS(PRI,GAMMA2,TIME,BAD)
C
C USING 24 MINUTE CR-6 EDR RECORD, INTERPOLATE SECONDARY MAG DETAIL (3.84 SEC) 
C DATA POINTS TO PRIMARY MAG DETAIL RATE (1.92 SEC).
C
C ORIGINAL SOURCE WRITTEN BY SANDY KRAMER, HUGHES STX, CODE 692  03/22/96
C
      INTEGER*2 TIME(6)
C
      REAL*4 PRI(3,750),GAMMA2(3,375),SEC(3,750)
C
      INCLUDE 'UNPACK.INC'
C
      DO I=1,750
C
C STEP INTERPOLATE 3.84 SECOND CR-6 SECONDARY MAG DATA
C
       ISEC = (I-1)/2 + 1
       SEC(1,I) = GAMMA2(1,ISEC)
       SEC(2,I) = GAMMA2(2,ISEC)
       SEC(3,I) = GAMMA2(3,ISEC)
C
      END DO
C
C CALL CR-6 AVERAGING ROUTINES
C
      CALL CR6PRI(PRI,SEC,TIME,BAD)
C
      RETURN
      END
