      SUBROUTINE CR4PNS(PRI,GAMMA2,TIME,BAD)
C
C USING 192 SECOND CR-4 EDR RECORD, INTERPOLATE SECONDARY MAG DETAIL (2.40 SEC) 
C DATA POINTS TO PRIMARY MAG DETAIL RATE (0.30 SEC).
C
C ORIGINAL SOURCE WRITTEN BY SANDY KRAMER, HUGHES STX, CODE 692  03/26/96
C
      INTEGER*2 TIME(6)
C
      REAL*4 PRI(3,640),GAMMA2(3,80),SEC(3,640)
C
      INCLUDE 'UNPACK.INC'
C
      DO I = 1,640
C
C STEP INTERPOLATE 2.40 SECOND CR-4 SECONDARY MAG DATA
C
       ISEC = (I-1)/8 + 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-4 AVERAGING ROUTINES
C
      CALL CR4PRI(PRI,SEC,TIME,BAD)
C
      RETURN
      END
