FORTRAN Generation
(/./ftp/cats/J/A_A/611/A42)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/611/A42 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-15
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/611/A42       GALEX BCG galaxies sample properties       (Boissier+, 2018)
*================================================================================
*The GALEX Ultraviolet Virgo Cluster Survey (GUViCS).
*VII.: Brightest cluster galaxy UV upturn and the FUV-NUV color up to
*redshift 0.35.
*    Boissier S., Cucciati O., Boselli A., Mei S., Ferrarese L.
*    <Astron. Astrophys. 611, A42 (2018)>
*    =2018A&A...611A..42B        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Sample and basic properties from Koester+2007

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

C  J2000.0 position composed of: RAdeg DEdeg
      character*10  ID         (nr__) ! ID number from Koester et al.
*                                    (2007, Cat. J/ApJ/660/239), BCG NNNNN)
      real*8        RAdeg      (nr__) ! (deg) Right ascension (J2000.0)
      real*8        DEdeg      (nr__) ! (deg) Declination (J2000.0)
      real*8        zph        (nr__) ! Photometric redshift
      real*8        Lr         (nr__) ! (10+10Lsun) r band lumininosity (10^10^Lsol)
      real*8        Li         (nr__) ! (10+10Lsun) i band lumininosity (10^10^Lsol)

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

C  Declarations for 'table3.dat'	! Spectroscopic information from SDSS

      integer*4 nr__1
      parameter (nr__1=150)	! Number of records
      character*71 ar__1  	! Full-size record

      character*10  ID_1       (nr__1) ! ID number from Koester et al.
*                                   (2007, Cat. J/ApJ/660/239), BCG NNNNN)
      real*8        zsp        (nr__1) ! Spectroscopic redshift
      character*11  Class      (nr__1) ! SDSS sub class
      real*8        Mg2        (nr__1) ! ?=-9.999999 Mg2 index
      real*8        e_Mg2      (nr__1) ! ?=-9.999999 Uncertainty on Mg2
      real*8        Hb         (nr__1) ! ?=-9.999999 Hbeta index
      real*8        e_Hb       (nr__1) ! ?=-9.999999 Uncertainty on Hb

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

C  Declarations for 'table4.dat'	! UV photometry

      integer*4 nr__2
      parameter (nr__2=177)	! Number of records
      character*88 ar__2  	! Full-size record

      character*10  ID_2       (nr__2) ! ID number from Koester et al.
*                                   (2007, Cat. J/ApJ/660/239), BCG NNNNN)
      integer*4     ExpFUV     (nr__2) ! (s) Exposure time FUV
      integer*4     ExpNUV     (nr__2) ! (s) Exposure time NUV
      integer*4     Aper       (nr__2) ! (pix) Best aperture (in pixels)
      real*4        FUV        (nr__2) ! (mag) ?=-99.9 AB FUV magnitude
      real*4        E_FUV      (nr__2) ! (mag) ?=0 Error on FUV (+1 sigma)
      real*4        e_FUV_1    (nr__2) ! (mag) ?=0 Error on FUV (-1 sigma)
      real*4        NUV        (nr__2) ! (mag) AB NUV magnitude
      real*4        E_NUV      (nr__2) ! (mag) Error on NUV (+1 sigma)
      real*4        e_NUV_1    (nr__2) ! (mag) Error on NUV (-1 sigma)
      real*4        cF_N       (nr__2) ! (mag) ?=-99.9 Central FUV-NUV color
      real*4        E_cF_N     (nr__2) ! (mag) ?=0 Error on cF-N (+1 sigma)
      real*4        e_cF_N_1   (nr__2) ! (mag) ?=0 Error on cF-N (-1 sigma)

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

C  Declarations for 'table5.dat'	! Our flags and notes

      integer*4 nr__3
      parameter (nr__3=156)	! Number of records
      character*63 ar__3  	! Full-size record

      character*10  ID_3       (nr__3) ! ID number from Koester et al.
*                                   (2007, Cat. J/ApJ/660/239), BCG NNNNN)
      character*10  fFUV       (nr__3) ! Flag FUV
      character*10  fNUV       (nr__3) ! Flag NUV
      character*30  Notes      (nr__3) ! Comments on morphology

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

C  Loading file 'table2.dat'	! Sample and basic properties from Koester+2007

C  Format for file interpretation

    1 format(A10,1X,F9.5,1X,F9.6,1X,F8.6,1X,F8.5,1X,F8.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,177
        read(1,'(A57)')ar__
        read(ar__,1)
     +  ID(i__),RAdeg(i__),DEdeg(i__),zph(i__),Lr(i__),Li(i__)
c    ..............Just test output...........
        write(6,1)
     +  ID(i__),RAdeg(i__),DEdeg(i__),zph(i__),Lr(i__),Li(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Spectroscopic information from SDSS

C  Format for file interpretation

    2 format(A10,1X,F8.6,1X,A11,1X,F9.6,1X,F9.6,1X,F9.6,1X,F9.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,150
        read(1,'(A71)')ar__1
        read(ar__1,2)
     +  ID_1(i__),zsp(i__),Class(i__),Mg2(i__),e_Mg2(i__),Hb(i__),
     +  e_Hb(i__)
c    ..............Just test output...........
        write(6,2)
     +  ID_1(i__),zsp(i__),Class(i__),Mg2(i__),e_Mg2(i__),Hb(i__),
     +  e_Hb(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! UV photometry

C  Format for file interpretation

    3 format(
     +  A10,1X,I7,1X,I7,1X,I2,1X,F6.2,1X,F4.2,1X,F6.2,1X,F6.2,1X,F4.2,
     +  1X,F6.2,1X,F6.2,1X,F6.2,1X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,177
        read(1,'(A88)')ar__2
        read(ar__2,3)
     +  ID_2(i__),ExpFUV(i__),ExpNUV(i__),Aper(i__),FUV(i__),
     +  E_FUV(i__),e_FUV_1(i__),NUV(i__),E_NUV(i__),e_NUV_1(i__),
     +  cF_N(i__),E_cF_N(i__),e_cF_N_1(i__)
c    ..............Just test output...........
        write(6,3)
     +  ID_2(i__),ExpFUV(i__),ExpNUV(i__),Aper(i__),FUV(i__),
     +  E_FUV(i__),e_FUV_1(i__),NUV(i__),E_NUV(i__),e_NUV_1(i__),
     +  cF_N(i__),E_cF_N(i__),e_cF_N_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! Our flags and notes

C  Format for file interpretation

    4 format(A10,1X,A10,1X,A10,1X,A30)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,156
        read(1,'(A63)')ar__3
        read(ar__3,4)ID_3(i__),fFUV(i__),fNUV(i__),Notes(i__)
c    ..............Just test output...........
        write(6,4)ID_3(i__),fFUV(i__),fNUV(i__),Notes(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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