FORTRAN Generation
(/./ftp/cats/J/A_A/642/A150)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/642/A150 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 2026-Jun-08
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/642/A150        Quasars as standard candles. III.           (Lusso+, 2020)
*================================================================================
*Quasars as standard candles.
*III. Validation of a new sample for cosmological studies.
*    Lusso E., Risaliti G., Nardini E., Bargiacchi G., Benetti M., Bisogni S.,
*    Capozziello S., Civano F., Eggleston L., Elvis M., Fabbiano G., Gilli R.,
*    Marconi A., Paolillo M., Piedipalumbo E., Salvestrini F., Signorini M.,
*    Vignali C.
*    <Astron. Astrophys. 642, A150 (2020)>
*    =2020A&A...642A.150L        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Properties of the final quasar sample

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

C  J2000.0 position composed of: RAdeg DEdeg
      character*23  Name       (nr__) ! Quasar name
      real*8        RAdeg      (nr__) ! (deg) Right ascension (J2000.0)
      real*8        DEdeg      (nr__) ! (deg) Declination (J2000.0)
      real*4        z          (nr__) ! Redshift
      real*8        logFUV     (nr__) ! ([mW/m2]) Rest-frame fluxes at 2500 Angstroem (1)
      real*8        e_logFUV   (nr__) ! ([mW/m2]) Error on rest-frame fluxes at 2500 Angstroem
      real*8        logFX      (nr__) ! ([mW/m2]) Rest-frame fluxes at 2keV (1)
      real*8        e_logFX    (nr__) ! ([mW/m2]) Error on rest-frame fluxes at 2keV
      integer*4     Group      (nr__) ! [1/7] Group numbering for each sub-sample (2)
      real*8        gammax     (nr__) ! Photon index
      real*8        e_gammax   (nr__) ! Error on the photon index
      real*8        DM         (nr__) ! Distance modulus (3)
      real*8        e_DM       (nr__) ! Error on the distance modulus
*Note (1): Fluxes are in units of log(erg/s/cm^2^)
*Note (2): The Group column flags the different subsamples as follows:
*           1 = XMM-Newton z~3 sample
*           2 = new XMM-Newton z~4 quasar
*           3 = High-z sample
*           4 = XXL
*           5 = SDSS - 4XMM
*           6 = SDSS - Chandra
*           7 = local AGN
*Note (3): The column DM reports the distance moduli to reproduce Fig.9

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

C  Loading file 'table3.dat'	! Properties of the final quasar sample

C  Format for file interpretation

    1 format(
     +  2X,A23,3X,F10.6,1X,F11.7,1X,F6.4,3X,F9.5,3X,F7.5,3X,F9.5,3X,
     +  F7.5,3X,I1,7X,F7.5,3X,F7.5,3X,F9.6,3X,F8.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,2421
        read(1,'(A152)')ar__
        read(ar__,1)
     +  Name(i__),RAdeg(i__),DEdeg(i__),z(i__),logFUV(i__),
     +  e_logFUV(i__),logFX(i__),e_logFX(i__),Group(i__),gammax(i__),
     +  e_gammax(i__),DM(i__),e_DM(i__)
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),RAdeg(i__),DEdeg(i__),z(i__),logFUV(i__),
     +  e_logFUV(i__),logFX(i__),e_logFX(i__),Group(i__),gammax(i__),
     +  e_gammax(i__),DM(i__),e_DM(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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