FORTRAN Generation
(/./ftp/cats/J/A_A/525/A37)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/525/A37 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-Mar-29
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/525/A37  Variability indexes of QSOs in SDSS Stripe 82  (Meusinger+, 2011)
*================================================================================
*Spectral variability of quasars from multi-epoch photometric data in the Sloan
*Digital Sky Survey Stripe 82.
*    Meusinger H., Hinze A., de Hoon A.
*   <Astron. Astrophys. 525, A37 (2011)>
*   =2011A&A...525A..37M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Variability indexes of quasars

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq         ! Running number
      real*8        RAdeg       ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      real*4        z           ! Redshift (spectroscopic)
      integer*4     zFlag       ! [0,1] Redshift Flag (0: ok, 1: uncertain)
      real*4        gmag        ! (mag) Mean apparent g band magnitude
      real*4        iMAG        ! (mag) Absolute i band magnitude  (1)
      real*4        Vu          ! (mag+2) Variability index in the u band (2)
      real*4        Vg          ! (mag+2) Variability index in the g band (2)
      real*4        Vr          ! (mag+2) Variability index in the r band (2)
      real*4        Vi          ! (mag+2) Variability index in the i band (2)
      real*4        Vz          ! (mag+2) Variability index in the z band (2)
      character*5   Remark      ! ? Remark about the spectrum (3)
*Note (1): computed following Kennefick and Bursick (2008AJ....136.1799K)
*     with Galactic foreground extinction from the "Galactic Dust Extinction
*     Service" of the NASA/IPAC Infrared Science Archive.
*Note (2): The index is actually created to compare the variability (e.g.,
*     between different quasars with each other or between different
*     passbands of the same quasar) but is not apt to measure the
*     significance of the variability. On the one hand, a variability index
*     of "0" means no significant variability. However, non-variable quasars
*     can have also a finite (small) value but there is no critical value
*     for such an index to clearly separate between variables and
*     non-variables. (In the paper, we have shown that more than ~90% of the
*     quasars are significantly variable in the ugri bands.)
*Note (3): Remarks use the following abbreviations:
*  w_l   = Weak emission lines
*  s_bal = Strong broad absorption lines
*  x_bal = Extreme broad absorption lines
*  myst  = Mysterious spectrum

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

C  Loading file 'table2.dat'	! Variability indexes of quasars

C  Format for file interpretation

    1 format(
     +  I4,1X,F10.6,1X,F9.6,1X,F5.3,1X,I1,1X,F6.3,1X,F6.2,1X,F5.3,1X,
     +  F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,8744
        read(1,'(A83)')ar__
        read(ar__,1)
     +  Seq,RAdeg,DEdeg,z,zFlag,gmag,iMAG,Vu,Vg,Vr,Vi,Vz,Remark
c    ..............Just test output...........
        write(6,1)
     +  Seq,RAdeg,DEdeg,z,zFlag,gmag,iMAG,Vu,Vg,Vr,Vi,Vz,Remark
c    .......End.of.Just test output...........
      end do
      close(1)

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