FORTRAN Generation
(/./ftp/cats/J/A_A/538/A69)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/538/A69 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-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/A+A/538/A69    Virgo early-type galaxies optical properties    (Lieder+, 2012)
*================================================================================
*A deep view on the Virgo cluster core.
*    Lieder S., Lisker T., Hilker M., Misgeld I., Durrell P.
*   <Astron. Astrophys., 538, A69 (2012)>
*   =2012A&A...538A..69L
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Properties of Virgo cluster objects found in
                              this study but not included in the VCC

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq         ! [1/77] Galaxy sequential number
      real*8        RAdeg       ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      real*4        VMAG        ! (mag) Absolute V magnitude in Virgo cluster distance
*                                   (adopted m-M=31.09mag)
      real*4        e_VMAG      ! (mag) rms uncertainty on VMAG
      real*4        IMAG        ! (mag) Absolute I magnitude in Virgo cluster distance
*                                   (adopted m-M=31.09mag)
      real*4        e_IMAG      ! (mag) rms uncertainty on IMAG
      real*4        V_I         ! (mag) V-I colour index computed by the flux enclosed
*                                   by an ellipse with half-light radius r50
      real*4        e_V_I       ! (mag) rms uncertainty on V-I
      real*4        ell         ! Ellipticity at half-light aperture
      integer*4     r50         ! (pc) half-light radius determined by the half-light
*                                   semi-major axis a50 and ellipticity of an
*                                   ellipse by r50=a50SQRT(1-ell)
      real*4        mueV        ! (mag/arcsec2) Effective surface brightness in V-Band
*                                   determined by the ellipse enclosing half of
*                                   the total flux
      character*1   Ref         ! Literature reference catalogue if object was
*                                   previously found (1)
*Note (1): Reference as follows:
*   a = previously discovered by Trentham & Tully 2002, Cat. J/MNRAS/335/712
*   b = previously discovered by Trentham & Hodgkin 2002, Cat. J/MNRAS/333/423
*   c = previously discovered by Impey et al. (1988ApJ...330..634I)
*   d = previously discovered by Durrell et al. (2007ApJ...656..746D)
*   e = previously discovered by Durrell (1997AJ....113..531D)

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

C  Declarations for 'table4.dat'	! Properties of VCC catalogued galaxies and
                              spectroscopically confirmed cluster members
                              investigated in this study

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     VCC         ! ? Galaxy VCC number (Binggeli et al.,
*                                    Cat. J/AJ/90/1681) (1)
      real*8        z           ! ? Redshift taken from NED
      real*8        RAdeg_1     ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg_1     ! (deg) Declination in decimal degrees (J2000)
      real*4        VMAG_1      ! (mag) Absolute V magnitude in Virgo cluster distance
*                                   (adopted m-M=31.09mag)
      real*4        e_VMAG_1    ! (mag) rms uncertainty on VMAG
      real*4        IMAG_1      ! (mag) Absolute I magnitude in Virgo cluster distance
*                                   (adopted m-M=31.09mag)
      real*4        e_IMAG_1    ! (mag) rms uncertainty on IMAG
      real*4        V_I_1       ! (mag) V-I colour index computed by the flux enclosed
*                                   by an ellipse with half-light radius r50
      real*4        e_V_I_1     ! (mag) rms uncertainty on V-I
      real*4        ell_1       ! Ellipticity at half-light aperture
      integer*4     r50_1       ! (pc) half-light radius determined by the half-light
*                                   semi-major axis a50 and ellipticity of an
*                                   ellipse by r50=a50SQRT(1-ell)
      real*4        mueV_1      ! (mag/arcsec2) Effective surface brightness in V-Band
*                                   determined by the ellipse enclosing half of
*                                   the total flux
*Note (1): Objects without VCC index are spectroscopically confirmed Virgo
*     cluster members.

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

C  Loading file 'table3.dat'	! Properties of Virgo cluster objects found in
*                              this study but not included in the VCC

C  Format for file interpretation

    1 format(
     +  I2,1X,F9.5,1X,F9.5,1X,F6.2,1X,F4.2,1X,F6.2,1X,F4.2,1X,F5.3,1X,
     +  F5.3,1X,F4.2,1X,I4,1X,F5.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,77
        read(1,'(A76)')ar__
        read(ar__,1)
     +  Seq,RAdeg,DEdeg,VMAG,e_VMAG,IMAG,e_IMAG,V_I,e_V_I,ell,r50,
     +  mueV,Ref
c    ..............Just test output...........
        write(6,1)
     +  Seq,RAdeg,DEdeg,VMAG,e_VMAG,IMAG,e_IMAG,V_I,e_V_I,ell,r50,
     +  mueV,Ref
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Properties of VCC catalogued galaxies and
*                              spectroscopically confirmed cluster members
*                              investigated in this study

C  Format for file interpretation

    2 format(
     +  I4,1X,F7.4,1X,F9.5,1X,F9.5,1X,F6.2,1X,F4.2,1X,F6.2,1X,F4.2,1X,
     +  F5.3,1X,F5.3,1X,F4.2,1X,I5,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,139
        read(1,'(A85)')ar__1
        read(ar__1,2)
     +  VCC,z,RAdeg_1,DEdeg_1,VMAG_1,e_VMAG_1,IMAG_1,e_IMAG_1,V_I_1,
     +  e_V_I_1,ell_1,r50_1,mueV_1
        if(ar__1(1:4) .EQ. '') VCC = iNULL__
        if(ar__1(6:12) .EQ. '') z = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  VCC,z,RAdeg_1,DEdeg_1,VMAG_1,e_VMAG_1,IMAG_1,e_IMAG_1,V_I_1,
     +  e_V_I_1,ell_1,r50_1,mueV_1
c    .......End.of.Just test output...........
      end do
      close(1)

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