FORTRAN Generation
(/./ftp/cats/J/AJ/129/682)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/129/682 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-Apr-20
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/AJ/129/682  Structural properties of S+S galaxies    (Hernandez-Toledo+, 2005)
*================================================================================
*The structural properties of isolated galaxies, spiral-spiral pairs, and
*mergers: the robustness of galaxy morphology during secular evolution.
*    Hernandez-Toledo H.M., Avila-Reese V., Conselice C.J., Puerari I.
*   <Astron. J., 129, 682-697 (2005)>
*   =2005AJ....129..682H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Concentration, asymmetry and clumpiness
                             parameters in B and V for (S+S) galaxies

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

      integer*4     KPG        (nr__) ! The KPG number (Cat. <VII/77>)
      character*1   m_KPG      (nr__) ! [ab] Multiplicity number
      real*4        BMAG       (nr__) ! (mag) ? The absolute B band magnitude
      real*4        C_B        (nr__) ! B band light concentration parameter (G1)
      real*4        e_C_B      (nr__) ! Uncertainty in C(B)
      real*4        A_B        (nr__) ! B band asymmetry parameter (G1)
      real*4        e_A_B      (nr__) ! Uncertainty in A(B)
      real*4        S_B        (nr__) ! B band clumpiness parameter (G1)
      real*4        e_S_B      (nr__) ! Uncertainty in S(B)
      real*4        C_V        (nr__) ! V band light concentration parameter (G1)
      real*4        e_C_V      (nr__) ! Uncertainty in C(V)
      real*4        A_V        (nr__) ! V band asymmetry parameter (G1)
      real*4        e_A_V      (nr__) ! Uncertainty in A(V)
      real*4        S_V        (nr__) ! V band clumpiness parameter (G1)
      real*4        e_S_V      (nr__) ! Uncertainty in S(V)

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

C  Declarations for 'table2.dat'	! Concentration, asymmetry and clumpiness
                             parameters in R and I for (S+S) galaxies

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

      integer*4     KPG_1      (nr__1) ! The KPG number (Cat. <VII/77>)
      character*1   m_KPG_1    (nr__1) ! [ab] Multiplicity number
      real*4        Sep        (nr__1) ! ? B band normalized apparent projected
*                                     separation (G1)
      real*4        C_R        (nr__1) ! R band light concentration parameter (G1)
      real*4        e_C_R      (nr__1) ! Uncertainty in C(R)
      real*4        A_R        (nr__1) ! R band asymmetry parameter (G1)
      real*4        e_A_R      (nr__1) ! Uncertainty in A(R)
      real*4        S_R        (nr__1) ! R band clumpiness parameter (G1)
      real*4        e_S_R      (nr__1) ! Uncertainty in S(R)
      real*4        C_I        (nr__1) ! ? I band light concentration parameter (G1)
      real*4        e_C_I      (nr__1) ! ? Uncertainty in C(I)
      real*4        A_I        (nr__1) ! ? I band asymmetry parameter (G1)
      real*4        e_A_I      (nr__1) ! ? Uncertainty in A(I)
      real*4        S_I        (nr__1) ! ? I band clumpiness parameter (G1)
      real*4        e_S_I      (nr__1) ! ? Uncertainty in S(I)

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

C  Loading file 'table1.dat'	! Concentration, asymmetry and clumpiness
*                             parameters in B and V for (S+S) galaxies

C  Format for file interpretation

    1 format(
     +  3X,I3,A1,1X,F6.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F5.2,1X,
     +  F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,66
        read(1,'(A76)')ar__
        read(ar__,1)
     +  KPG(i__),m_KPG(i__),BMAG(i__),C_B(i__),e_C_B(i__),A_B(i__),
     +  e_A_B(i__),S_B(i__),e_S_B(i__),C_V(i__),e_C_V(i__),A_V(i__),
     +  e_A_V(i__),S_V(i__),e_S_V(i__)
        if(ar__(9:14) .EQ. '') BMAG(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  KPG(i__),m_KPG(i__),BMAG(i__),C_B(i__),e_C_B(i__),A_B(i__),
     +  e_A_B(i__),S_B(i__),e_S_B(i__),C_V(i__),e_C_V(i__),A_V(i__),
     +  e_A_V(i__),S_V(i__),e_S_V(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Concentration, asymmetry and clumpiness
*                             parameters in R and I for (S+S) galaxies

C  Format for file interpretation

    2 format(
     +  3X,I3,A1,1X,F5.3,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,
     +  F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,66
        read(1,'(A74)')ar__1
        read(ar__1,2)
     +  KPG_1(i__),m_KPG_1(i__),Sep(i__),C_R(i__),e_C_R(i__),A_R(i__),
     +  e_A_R(i__),S_R(i__),e_S_R(i__),C_I(i__),e_C_I(i__),A_I(i__),
     +  e_A_I(i__),S_I(i__),e_S_I(i__)
        if(ar__1(9:13) .EQ. '') Sep(i__) = rNULL__
        if(ar__1(45:48) .EQ. '') C_I(i__) = rNULL__
        if(ar__1(50:53) .EQ. '') e_C_I(i__) = rNULL__
        if(ar__1(55:58) .EQ. '') A_I(i__) = rNULL__
        if(ar__1(60:63) .EQ. '') e_A_I(i__) = rNULL__
        if(ar__1(65:68) .EQ. '') S_I(i__) = rNULL__
        if(ar__1(70:73) .EQ. '') e_S_I(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  KPG_1(i__),m_KPG_1(i__),Sep(i__),C_R(i__),e_C_R(i__),A_R(i__),
     +  e_A_R(i__),S_R(i__),e_S_R(i__),C_I(i__),e_C_I(i__),A_I(i__),
     +  e_A_I(i__),S_I(i__),e_S_I(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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