FORTRAN Generation
(/./ftp/cats/J/other/GCN/1070.1)

Conversion of standardized ReadMe file for file /./ftp/cats/J/other/GCN/1070.1 into FORTRAN code for reading data files line by line.

Note that special values are assigned to unknown or unspecified numbers (also called NULL numbers); when necessary, the coordinate components making up the right ascension and declination are converted into floating-point numbers representing these angles in degrees.



      program load_ReadMe
C=============================================================================
C  F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2026-Sep-10
C=============================================================================
*  This code was generated from the ReadMe file documenting a catalogue
*  according to the "Standard for Documentation of Astronomical Catalogues"
*  currently in use by the Astronomical Data Centers (CDS, ADC, A&A)
*  (see full documentation at URL http://vizier.u-strasbg.fr/doc/catstd.htx)
*  Please report problems or questions to   
C=============================================================================

      implicit none
*  Unspecified or NULL values, generally corresponding to blank columns,
*  are assigned one of the following special values:
*     rNULL__    for unknown or NULL floating-point values
*     iNULL__    for unknown or NULL   integer      values
      real*4     rNULL__
      integer*4  iNULL__
      parameter  (rNULL__=--2147483648.)  	! NULL real number
      parameter  (iNULL__=(-2147483647-1))	! NULL int  number
      integer    idig			! testing NULL number

C=============================================================================
Cat. J/other/GCN/1070.1        HETE Trigger Information               (Ricker+, 2001)
*================================================================================
*SGR1806-20: A Second, Intense Burst Localized by HETE.
*    Ricker G., Lamb D., Woosley S., Vanderspek R., Crew G., Doty J.,
*    Monnelly G., Villasenor J., Butler N., Cline T., Jernigan J.G., Levine A.,
*    Martel F., Morgan E., Pizzichini G., Prigozhin G., Kawai N., Matsuoka M.,
*    Shirasaki Y., Tamagawa T., Torii K., Sakamoto T., Yoshida A., Fenimore E.,
*    Galassi M., Graziani C., Atteia J.-L., Boer M., Olive J.-F., Dezalay J.-P.,
*    Hurley K.
*   <GRB Circular Network, 1070, 1 (2001)>
*   =2001GCN..1070....1R
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'hete.dat'	! HETE Trigger Information about GRBs
                              (and non-GRBs) detected by HETE (WXM and SXC)

      integer*4 nr__
      parameter (nr__=145)	! Number of records
      character*703 ar__   	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Trigger     ! ? Trigger number (in Simbad:
*                                    HETE Trigger NNNNN)
      character*1   n_Trigger   ! [n] 'n' for not available
      character*8   Obs_Date    ! ("YY/MM/DD") Date of the start of the GRB
      character*11  Obs_Time    ! ? Date the start of the GRB (hh:mm:ss.ss)
      character*10  Notice      ! Type of notice (1)
      character*4   Inst        ! Instrument that made the
*                                   observation/detection (2)
      real*8        RAdeg       ! (deg) ? Right ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) ? Declination in decimal degrees (J2000)
      real*4        Error       ! (arcmin) ? Error uncertainty in that location
*                                    (arcmin diameter, systematic+statistical)
      character*1   Note        ! [on] Note on the absence of position (3)
      character*632 Com         ! Comments describing the observation results
*Note (1): Type of notice: S/C_Alert, S/C_Update, S/C_Last, or GndAnalysis
*Note (2): Instrument: WXM, SXC, TBD if not known yet as in an S/C_Alert Notice
*Note (3): Note when no position as follows:
*      n = not available
*      o = none, if the s/c decided there was enough to trigger,
*          but not enough events to produce a position

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'hete2001.dat'	! Old HETE Trigger Information: 2001

      integer*4 nr__1
      parameter (nr__1=374)	! Number of records
      character*703 ar__1  	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Trigger_1   ! ? Trigger number (in Simbad:
*                                    HETE Trigger NNNNN)
      character*1   n_Trigger_1 ! [n] 'n' for not available
      character*8   Obs_Date_1  ! ("YY/MM/DD") Date of the start of the GRB
      character*11  Obs_Time_1  ! ? Date the start of the GRB (hh:mm:ss.ss)
      character*10  Notice_1    ! Type of notice (1)
      character*4   Inst_1      ! Instrument that made the
*                                   observation/detection (2)
      real*8        RAdeg_1     ! (deg) ? Right ascension in decimal degrees (J2000)
      real*8        DEdeg_1     ! (deg) ? Declination in decimal degrees (J2000)
      real*4        Error_1     ! (arcmin) ? Error uncertainty in that location
*                                    (arcmin diameter, systematic+statistical)
      character*1   Note_1      ! [on] Note on the absence of position (3)
      character*632 Com_1       ! Comments describing the observation results
*Note (1): Type of notice: S/C_Alert, S/C_Update, S/C_Last, or GndAnalysis
*Note (2): Instrument: WXM, SXC, TBD if not known yet as in an S/C_Alert Notice
*Note (3): Note when no position as follows:
*      n = not available
*      o = none, if the s/c decided there was enough to trigger,
*          but not enough events to produce a position

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'hete2002.dat'	! Old HETE Trigger Information: 2002

      integer*4 nr__2
      parameter (nr__2=419)	! Number of records
      character*703 ar__2  	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Trigger_2   ! ? Trigger number (in Simbad:
*                                    HETE Trigger NNNNN)
      character*1   n_Trigger_2 ! [n] 'n' for not available
      character*8   Obs_Date_2  ! ("YY/MM/DD") Date of the start of the GRB
      character*11  Obs_Time_2  ! ? Date the start of the GRB (hh:mm:ss.ss)
      character*10  Notice_2    ! Type of notice (1)
      character*4   Inst_2      ! Instrument that made the
*                                   observation/detection (2)
      real*8        RAdeg_2     ! (deg) ? Right ascension in decimal degrees (J2000)
      real*8        DEdeg_2     ! (deg) ? Declination in decimal degrees (J2000)
      real*4        Error_2     ! (arcmin) ? Error uncertainty in that location
*                                    (arcmin diameter, systematic+statistical)
      character*1   Note_2      ! [on] Note on the absence of position (3)
      character*632 Com_2       ! Comments describing the observation results
*Note (1): Type of notice: S/C_Alert, S/C_Update, S/C_Last, or GndAnalysis
*Note (2): Instrument: WXM, SXC, TBD if not known yet as in an S/C_Alert Notice
*Note (3): Note when no position as follows:
*      n = not available
*      o = none, if the s/c decided there was enough to trigger,
*          but not enough events to produce a position

C=============================================================================

C  Loading file 'hete.dat'	! HETE Trigger Information about GRBs
*                              (and non-GRBs) detected by HETE (WXM and SXC)

C  Format for file interpretation

    1 format(
     +  I5,A1,5X,A8,1X,A11,1X,A10,1X,A4,1X,F7.3,F7.3,1X,F6.2,A1,1X,
     +  A632)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hete.dat')
      write(6,*) '....Loading file: hete.dat'
      do i__=1,145
        read(1,'(A703)')ar__
        read(ar__,1)
     +  Trigger,n_Trigger,Obs_Date,Obs_Time,Notice,Inst,RAdeg,DEdeg,
     +  Error,Note,Com
        if(ar__(1:5) .EQ. '') Trigger = iNULL__
        if(ar__(49:55) .EQ. '') RAdeg = rNULL__
        if(ar__(56:62) .EQ. '') DEdeg = rNULL__
        if(ar__(64:69) .EQ. '') Error = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Trigger,n_Trigger,Obs_Date,Obs_Time,Notice,Inst,RAdeg,DEdeg,
     +  Error,Note,Com
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'hete2001.dat'	! Old HETE Trigger Information: 2001

C  Format for file interpretation

    2 format(
     +  I5,A1,5X,A8,1X,A11,1X,A10,1X,A4,1X,F7.3,F7.3,1X,F6.2,A1,1X,
     +  A632)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hete2001.dat')
      write(6,*) '....Loading file: hete2001.dat'
      do i__=1,374
        read(1,'(A703)')ar__1
        read(ar__1,2)
     +  Trigger_1,n_Trigger_1,Obs_Date_1,Obs_Time_1,Notice_1,Inst_1,
     +  RAdeg_1,DEdeg_1,Error_1,Note_1,Com_1
        if(ar__1(1:5) .EQ. '') Trigger_1 = iNULL__
        if(ar__1(49:55) .EQ. '') RAdeg_1 = rNULL__
        if(ar__1(56:62) .EQ. '') DEdeg_1 = rNULL__
        if(ar__1(64:69) .EQ. '') Error_1 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Trigger_1,n_Trigger_1,Obs_Date_1,Obs_Time_1,Notice_1,Inst_1,
     +  RAdeg_1,DEdeg_1,Error_1,Note_1,Com_1
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'hete2002.dat'	! Old HETE Trigger Information: 2002

C  Format for file interpretation

    3 format(
     +  I5,A1,5X,A8,1X,A11,1X,A10,1X,A4,1X,F7.3,F7.3,1X,F6.2,A1,1X,
     +  A632)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hete2002.dat')
      write(6,*) '....Loading file: hete2002.dat'
      do i__=1,419
        read(1,'(A703)')ar__2
        read(ar__2,3)
     +  Trigger_2,n_Trigger_2,Obs_Date_2,Obs_Time_2,Notice_2,Inst_2,
     +  RAdeg_2,DEdeg_2,Error_2,Note_2,Com_2
        if(ar__2(1:5) .EQ. '') Trigger_2 = iNULL__
        if(ar__2(49:55) .EQ. '') RAdeg_2 = rNULL__
        if(ar__2(56:62) .EQ. '') DEdeg_2 = rNULL__
        if(ar__2(64:69) .EQ. '') Error_2 = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  Trigger_2,n_Trigger_2,Obs_Date_2,Obs_Time_2,Notice_2,Inst_2,
     +  RAdeg_2,DEdeg_2,Error_2,Note_2,Com_2
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end