FORTRAN Generation
(/./ftp/cats/J/ApJ/789/140)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/789/140 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-Mar-28
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/789/140          SDSS quasars Balmer emission lines           (Liu+, 2014)
*================================================================================
*Constraining sub-parsec binary supermassive black holes in quasars with
*multi-epoch spectroscopy.
*II. The population with kinematically offset broad Balmer emission lines.
*    Liu X., Shen Y., Bian F., Loeb A., Tremaine S.
*   <Astrophys. J., 789, 140 (2014)>
*   =2014ApJ...789..140L    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! SDSS Quasars with kinematically offset broad
                                balmer emission lines

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

      character*18  SDSS       (nr__) ! SDSS designation
      real*4        z          (nr__) ! Redshift (1)
      integer*4     Plate      (nr__) ! Spectroscopic plate number
      integer*4     Fiber      (nr__) ! Fiber identification
      integer*4     MJD        (nr__) ! (d) Modified Julian Date
      integer*4     VOFFP      (nr__) ! (km/s) Broad H{beta} peak velocity offset (2)
      integer*4     e_VOFFP    (nr__) ! (km/s) The 1{sigma} uncertainty in VOFFP (3)
      integer*4     VOFFC      (nr__) ! (km/s) Broad H{beta} centroid velocity offset
*Note (1): Taken from Hewett & Wild (2010, J/MNRAS/405/2302).
*Note (2): Taken from Shen et al. (2011, J/ApJS/194/45).
*Note (3): Including both statistical and systematic errors estimated
*          from Monte Carlo simulations (Shen et al. 2011, J/ApJS/194/45).

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

C  Loading file 'table1.dat'	! SDSS Quasars with kinematically offset broad
*                                balmer emission lines

C  Format for file interpretation

    1 format(A18,1X,F6.4,1X,I4,1X,I3,1X,I5,1X,I5,1X,I3,1X,I5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,399
        read(1,'(A56)')ar__
        read(ar__,1)
     +  SDSS(i__),z(i__),Plate(i__),Fiber(i__),MJD(i__),VOFFP(i__),
     +  e_VOFFP(i__),VOFFC(i__)
c    ..............Just test output...........
        write(6,1)
     +  SDSS(i__),z(i__),Plate(i__),Fiber(i__),MJD(i__),VOFFP(i__),
     +  e_VOFFP(i__),VOFFC(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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