FORTRAN Generation
(/./ftp/cats/J/ApJ/681/1464)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/681/1464 into FORTRAN code for loading all data files into arrays.

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-19
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/ApJ/681/1464   X-ray sources near soft gamma repeater in M31    (Ofek+, 2008)
*================================================================================
*GRB 070201: a possible soft gamma-ray repeater in M31.
*    Ofek E.O., Muno M., Quimby R., Kulkarni S.R., Stiele H., Pietsch W.,
*    Nakar E., Gal-Yam A., Rau A., Cameron P.B., Cenko S.B., Kasliwal M.M.,
*    Fox D.B., Chandra P., Kong A.K.H., Barnard R.
*   <Astrophys. J., 681, 1464-1469 (2008)>
*   =2008ApJ...681.1464O    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! X-ray sources searched for periodicty

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

C  J2000 position composed of: RAdeg DEdeg
      character*15  v_OMQ2008_ (nr__) ! Coordinate designation name (HHMMSS.s+DDMMSS)
      real*8        RAdeg      (nr__) ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination in decimal degrees (J2000)
      real*4        Aper       (nr__) ! (arcsec) Aperture radius (1)
      integer*4     Cts        (nr__) ! (ct) Source counts within aperture
      character*13  ObsID      (nr__) ! XMM observation ID
*Note (1): In which source counts were extracted.

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

C  Loading file 'table2.dat'	! X-ray sources searched for periodicty

C  Format for file interpretation

    1 format(A15,1X,F9.5,1X,F9.5,1X,F6.1,2X,I9,1X,A13)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,149
        read(1,'(A67)')ar__
        read(ar__,1)
     +  v_OMQ2008_(i__),RAdeg(i__),DEdeg(i__),Aper(i__),Cts(i__),
     +  ObsID(i__)
c    ..............Just test output...........
        write(6,1)
     +  v_OMQ2008_(i__),RAdeg(i__),DEdeg(i__),Aper(i__),Cts(i__),
     +  ObsID(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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