FORTRAN Generation
(/./ftp/cats/J/A_A/498/399)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/498/399 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 2024-Apr-16
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/A+A/498/399       GRB observed with RHESSI satellite       (Ripa+, 2009)
*================================================================================
*Search for gamma-ray burst classes with the RHESSI satellite.
*    Ripa J., Meszaros A., Wigger C., Huja D., Hudec R., Hajdas W.
*   <Astron. Astrophys., 498, 399-406 (2009)>
*   =2009A&A...498..399R
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table7.dat'	! The RHESSI GRB data set

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

      integer*4     GRB         ! GRB name which correspond to date
      character*1   m_GRB       ! [ABC] Internal multiplicity code (1)
      integer*4     Time_h      ! (h) GRB peak time, hours (UTC)
      integer*4     Time_m      ! (min) GRB peak time, minutes (UTC)
      real*4        Time_s      ! (s) GRB peak time, seconds (UTC)
      real*4        T90         ! (s) T_90_ duration (2)
      real*4        e_T90       ! (s) rms uncertainty on T90
      real*4        dtres       ! (s) Time resolution of derived light curve
      real*4        HR          ! Hardness ratio (3)
      real*4        e_HR        ! rms uncertainty on logHR
*Note (1): The letters after GRB names are internal and do not have to be in
*     accordance with e.g. GCN GRB names.
*Note (2): Time interval during which the cumulative counts increase from 5%
*     to 95% above background.
*Note (3): The hardness ratio is defined to be the ratio of two fluences F
*     in two different energy bands integrated over the time interval T90.
*     For the RHESSI data set, we used the energy bands (25-120)keV and
*     (120-1500)keV, i.e., HR=F(120-1500)/F(25-120). 
*     The published table caption indicates "log H" but the hardnesses 
*     cannot be expressed in a log scale.

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

C  Loading file 'table7.dat'	! The RHESSI GRB data set

C  Format for file interpretation

    1 format(
     +  I6,A1,1X,I2,1X,I2,1X,F6.3,1X,E7.3,1X,E7.3,1X,E6.2,1X,E8.4,1X,
     +  E7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,427
        read(1,'(A60)')ar__
        read(ar__,1)
     +  GRB,m_GRB,Time_h,Time_m,Time_s,T90,e_T90,dtres,HR,e_HR
c    ..............Just test output...........
        write(6,1)
     +  GRB,m_GRB,Time_h,Time_m,Time_s,T90,e_T90,dtres,HR,e_HR
c    .......End.of.Just test output...........
      end do
      close(1)

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