FORTRAN Generation
(/./ftp/cats/J/A_A/379/54)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/379/54 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-18
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/379/54     (S+S) binary galaxies BVRI photometry (Hernandez-Toledo+, 2001)
*================================================================================
*BVRI surface photometry of (S+S) binary galaxies. I. The data.
*     Hernandez-Toledo H.M., Puerari I.
*    <Astron. Astrophys. 379, 54 (2001)>
*    =2001A&A...379...54H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! General data for the observed galaxies

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

      integer*4     KPG         ! Number in Karachentsev's (Cat. <VII/77>)
      character*1   m_KPG       ! [AB] Multiplicity index on KPG
      character*11  Name        ! Other name
      real*4        Bmag        ! (mag) B magnitude
      character*3   n_Bmag      ! [(aps)] Note on Bmag (1)
      real*4        x12         ! (kpc) ? Projected distance between the two galaxies
*                                   of the pair
      integer*4     RV          ! (km/s) Radial velocity
      real*4        a25         ! (kpc) Semimajor axis measured at the
*                                 mag_B_25=mag/arcsec^2^ isophote
*Note (1): Note on B magnitude:
*     (a) = total (asymptotic) magnitude in the B system, derived by
*           extrapolation from photoelectric aperture-magnitude data.
*     (s) = total asymptotic magnitude in the B system, derived by
*           extrapolation from (surface) photometry with photoelectric zero
*           point.
*     (p) = photographic magnitude reduced to the B_T_ system.

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

C  Declarations for 'table3.dat'	! Magnitudes and colour indices

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

      integer*4     KPG_1       ! Number in Karachentsev's (Cat. <VII/77>)
      character*1   m_KPG_1     ! [ABs] Multiplicity index on KPG
      real*4        Bmag_1      ! (mag) ? B magnitude
      real*4        Vmag        ! (mag) ? V magnitude
      real*4        Rmag        ! (mag) ? R magnitude
      real*4        Imag        ! (mag) ? I magnitude
      real*4        B_V         ! (mag) ? B-V colour index
      real*4        B_I         ! (mag) ? B-I colour index
      real*4        B0T         ! (mag) ? Dereddened total B magnitude
      real*4        v_B_V_0T    ! (mag) ? Dereddened total B-V colour index
      character*2   Notes       ! [CP BS] Notes (2)
*Note (2): Notes:
*     CP = Pair apparently in Contact
*     BS = Bright Star nearby in the Field

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

C  Declarations for 'table4.dat'	! Final results from this study

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

      integer*4     KPG_2       ! Number in Karachentsev's (Cat. <VII/77>)
      character*1   m_KPG_2     ! Multiplicity index on KPG
      character*18  MT_NED      ! NED Hubble type
      character*15  MType       ! This work Hubble type
      integer*4     EE          ! [1/12]? EE arm class (1)
      character*2   I_A         ! [DI LI NI] I/A interaction class (2)
      character*1   Prof        ! [F] Profile (F = Flat Colour Profile)
      character*5   Notes_1     ! Notes (3)
*Note (1): Elmegreen and Elmegreen, 1982MNRAS.201.1021E, arm class.
*     Arm classification system for spiral galaxies:
*    ----------------------------------------------------------------------------
*      EE  Prototypes Description
*    ----------------------------------------------------------------------------
*       1  NGC 2500   Chaotic appearance; no symmetry; fragmented arms with 
*                      differing pitch angles
*       2  NGC 7793   Short fragmented spiral arm pieces defined mostly by 
*                      HII regions; no regular pattern; loose, open arms
*       3  NGC 2841   Fragmented arms uniformly distributed around the
*          NGC 5033    galactic center
*       4  NGC 2403   Only 1 prominent arm; fragmented spiral arms with no 
*                      regular pattern in the rest of the galaxy
*       5  NGC 1313   Two symmetric, short arms in the inner regions;
*          NGC 598      irregular arms in the outer regions
*       6  NGC 2935   Two symmetric inner arms; feathery appearance in the outer
*          NGC 1637    arms, which tend to wrap tightly and form a ring-like 
*                      structure.
*       7  NGC 2903   Two symmetric, long arms in the outer regions and
*                      irregular or feathery arms in the inner regions
*       8  NGC 3992   Tightly wrapped arms forming a ring-like structure 
*                      with overall symmetry
*       9  NGC 5457   Multiple long and continuous arms in the outer parts,
*          NGC 1232   two symmetric and continuous arms in the inner parts.
*      10  NGC 1300   Two long arms extending from either end of a
*          NGC 5383    prominent bar.
*      11  NGC 7753   Two long, symmetric arms in the inner regions, with a 
*          NGC 5194    long, drawn out arm or arms in the outer regions; 
*                      nearby galaxy apparently interacting
*      12  NNGC 4321  Two long, sharply defined symmetric arms dominating 
*                      the total appearance.
*    ----------------------------------------------------------------------------
*Note (2): Karachentsev (1972, Catalogue of Isolated Pairs of Galaxies in
*          the Northern Hemisphere, <VII/77>) interaction class
*Note (3): Notes:
*      B = Bar
*      K = Presence of Knots
*      R = Ring
*     Sh = Shell

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

C  Declarations for 'tablea1.dat'	! Magnitudes at different circular apertures

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

      integer*4     KPG_3       ! Number in Karachentsev's (Cat. <VII/77>)
      real*4        log_Ap_A    ! ([arcmin]) Log(Aperture) of component A
      real*4        log_Ap_B    ! ([arcmin]) Log(Aperture) of component B
      real*4        BmagA       ! (mag) B magnitude of component A at log(Ap)A
      real*4        BmagB       ! (mag) B magnitude of component B at log(Ap)B
      real*4        VmagA       ! (mag) V magnitude of component A at log(Ap)A
      real*4        VmagB       ! (mag) V magnitude of component B at log(Ap)B
      real*4        RmagA       ! (mag) R magnitude of component A at log(Ap)A
      real*4        RmagB       ! (mag) R magnitude of component B at log(Ap)B
      real*4        ImagA       ! (mag) I magnitude of component A at log(Ap)A
      real*4        ImagB       ! (mag) I magnitude of component B at log(Ap)B

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

C  Loading file 'table2.dat'	! General data for the observed galaxies

C  Format for file interpretation

    1 format(3X,I3,A1,1X,A11,2X,F5.2,A3,1X,F4.1,2X,I5,1X,F5.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,'(A47)')ar__
        read(ar__,1)KPG,m_KPG,Name,Bmag,n_Bmag,x12,RV,a25
        if(ar__(31:34) .EQ. '') x12 = rNULL__
c    ..............Just test output...........
        write(6,1)KPG,m_KPG,Name,Bmag,n_Bmag,x12,RV,a25
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Magnitudes and colour indices

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,70
        read(1,'(A55)')ar__1
        read(ar__1,2)
     +  KPG_1,m_KPG_1,Bmag_1,Vmag,Rmag,Imag,B_V,B_I,B0T,v_B_V_0T,Notes
        if(ar__1(9:13) .EQ. '') Bmag_1 = rNULL__
        if(ar__1(15:19) .EQ. '') Vmag = rNULL__
        if(ar__1(21:25) .EQ. '') Rmag = rNULL__
        if(ar__1(27:31) .EQ. '') Imag = rNULL__
        if(ar__1(33:36) .EQ. '') B_V = rNULL__
        if(ar__1(38:41) .EQ. '') B_I = rNULL__
        if(ar__1(43:47) .EQ. '') B0T = rNULL__
        if(ar__1(49:52) .EQ. '') v_B_V_0T = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  KPG_1,m_KPG_1,Bmag_1,Vmag,Rmag,Imag,B_V,B_I,B0T,v_B_V_0T,Notes
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Final results from this study

C  Format for file interpretation

    3 format(3X,I3,A1,1X,A18,1X,A15,1X,I2,1X,A2,1X,A1,1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,66
        read(1,'(A56)')ar__2
        read(ar__2,3)KPG_2,m_KPG_2,MT_NED,MType,EE,I_A,Prof,Notes_1
        if(ar__2(44:45) .EQ. '') EE = iNULL__
c    ..............Just test output...........
        write(6,3)KPG_2,m_KPG_2,MT_NED,MType,EE,I_A,Prof,Notes_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea1.dat'	! Magnitudes at different circular apertures

C  Format for file interpretation

    4 format(
     +  3X,I3,1X,F5.3,1X,F5.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,
     +  1X,F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,99
        read(1,'(A74)')ar__3
        read(ar__3,4)
     +  KPG_3,log_Ap_A,log_Ap_B,BmagA,BmagB,VmagA,VmagB,RmagA,RmagB,
     +  ImagA,ImagB
c    ..............Just test output...........
        write(6,4)
     +  KPG_3,log_Ap_A,log_Ap_B,BmagA,BmagB,VmagA,VmagB,RmagA,RmagB,
     +  ImagA,ImagB
c    .......End.of.Just test output...........
      end do
      close(1)

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