FORTRAN Generation
(/./ftp/cats/J/A_A/428/837)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/428/837 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/428/837       HII regions in minor mergers of galaxies   (Ferreiro+, 2004)
*================================================================================
*Sample of minor mergers of galaxies:
*Optical CCD surface photometry and HII region properties.
*    Ferreiro D.L., Pastoriza M.G.
*   <Astron. Astrophys. 428, 837 (2004)>
*   =2004A&A...428..837F
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table4.dat'	! B magnitude, B-V and V-Ic integrated colours,
                           B absolute magnitude, major and minor diameters

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

      character*1   Group       ! [MS] M: Main, S: Secondary
      character*12  v_FP2004_   ! Galaxy name (AMHHMM+DDdWW)
      real*4        Bmag        ! (mag) B Magnitude (1)
      real*4        E_B_V_i     ! (mag) ? Internal B-V colour excess
      real*4        E_B_V_g     ! (mag) Galactic B-V colour excess
      real*4        B_V         ! (mag) B-V integrated colour (1)
      real*4        V_Ic        ! (mag) V-Ic integrated colour (1)
      real*4        BMAG_1      ! (mag) B absolute magnitude (1)
      real*4        D           ! (arcsec) major diameter (2)
      real*4        d_1         ! (arcsec) minor diameter (2)
*Note (1): All magnitudes are corrected for both galactic and internal extinction
*Note (2): Major (D) and minor (d) diameters measured inside the
*          24mag/arcsec^-2}^ isophote.

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

C  Declarations for 'table5.dat'	! HII region, position, equivalent radius, colour,
                           H{alpha}+[NII] luminosity & equivalent width, and age

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

      character*12  v_FP2004__1 ! Galaxy name (AMHHMM+DDdWW)
      character*2   HII         ! HII region designation
      integer*4     Xpos        ! (arcsec) X position
      integer*4     Ypos        ! (arcsec) Y position
      real*4        req         ! (pc) Equivalent radius
      real*4        Bmag_2      ! (mag) B magnitude
      real*4        e_Bmag      ! (mag) rms uncertainty on Bmag
      real*4        B_V_1       ! (mag) B-V colour index
      real*4        V_Ic_1      ! (mag) V-Ic colour index
      real*4        L_Ha__NII_  ! (10-7W) ? H{alpha}+[NII] luminosity
      real*4        e_L_Ha__NII_ ! (10-7W) ? rms uncertainty on L(Ha+[NII])
      real*4        log_EW_Ha__NII__ ! ([0.1nm]) ? H{alpha}+[NII] equivalent width
      real*4        Age         ! (Gyr) ? Age
      real*4        e_Age       ! (Gyr) ? rms uncertainty on Age

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

C  Declarations for 'table6.dat'	! Photometric bulge and disk parameters for each filter

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

      character*12  v_FP2004__2 ! Galaxy name (AMHHMM+DDdWW)
      real*4        Bme         ! (mag/arcsec2) ? me=-2.5log(Ie) in B band (1)
      real*4        Breff       ! (kpc) ? Effective radius in B band
      real*4        Bb0         ! (mag/arcsec2) b0=-2.5log(Id) in B band (1)
      real*4        Bdl         ! (kpc) Length scale in B band
      real*4        Vme         ! (mag/arcsec2) ? me=-2.5log(Ie) in V band (1)
      real*4        Vreff       ! (kpc) ? Effective radius in V band
      real*4        Vb0         ! (mag/arcsec2) ? b0=-2.5log(Id) in V band (1)
      real*4        Vdl         ! (kpc) ? Length scale in V band
      real*4        Ime         ! (mag/arcsec2) ? me=-2.5log(Ie) in I band (1)
      real*4        Ireff       ! (kpc) ? Effective radius in I band
      real*4        Ib0         ! (mag/arcsec2) ? b0=-2.5log(Id) in I band (1)
      real*4        Idl         ! (kpc) ? Length scale in I band
*Note (1): Ie is the effective intensity, Id is the central intensity.

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

C  Loading file 'table4.dat'	! B magnitude, B-V and V-Ic integrated colours,
*                           B absolute magnitude, major and minor diameters

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,22
        read(1,'(A61)')ar__
        read(ar__,1)
     +  Group,v_FP2004_,Bmag,E_B_V_i,E_B_V_g,B_V,V_Ic,BMAG_1,D,d_1
        if(ar__(22:25) .EQ. '') E_B_V_i = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Group,v_FP2004_,Bmag,E_B_V_i,E_B_V_g,B_V,V_Ic,BMAG_1,D,d_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! HII region, position, equivalent radius, colour,
*                           H{alpha}+[NII] luminosity & equivalent width, and age

C  Format for file interpretation

    2 format(
     +  A12,1X,A2,2X,I3,1X,I4,1X,F6.2,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2,
     +  1X,E8.3,1X,E8.3,1X,F3.1,1X,F4.1,1X,F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,118
        read(1,'(A84)')ar__1
        read(ar__1,2)
     +  v_FP2004__1,HII,Xpos,Ypos,req,Bmag_2,e_Bmag,B_V_1,V_Ic_1,
     +  L_Ha__NII_,e_L_Ha__NII_,log_EW_Ha__NII__,Age,e_Age
        if(ar__1(55:62) .EQ. '') L_Ha__NII_ = rNULL__
        if(ar__1(64:71) .EQ. '') e_L_Ha__NII_ = rNULL__
        if(ar__1(73:75) .EQ. '') log_EW_Ha__NII__ = rNULL__
        if(ar__1(77:80) .EQ. '') Age = rNULL__
        if(ar__1(82:84) .EQ. '') e_Age = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  v_FP2004__1,HII,Xpos,Ypos,req,Bmag_2,e_Bmag,B_V_1,V_Ic_1,
     +  L_Ha__NII_,e_L_Ha__NII_,log_EW_Ha__NII__,Age,e_Age
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Photometric bulge and disk parameters for each filter

C  Format for file interpretation

    3 format(
     +  A12,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,
     +  1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,22
        read(1,'(A84)')ar__2
        read(ar__2,3)
     +  v_FP2004__2,Bme,Breff,Bb0,Bdl,Vme,Vreff,Vb0,Vdl,Ime,Ireff,Ib0,
     +  Idl
        if(ar__2(14:18) .EQ. '') Bme = rNULL__
        if(ar__2(20:24) .EQ. '') Breff = rNULL__
        if(ar__2(38:42) .EQ. '') Vme = rNULL__
        if(ar__2(44:48) .EQ. '') Vreff = rNULL__
        if(ar__2(50:54) .EQ. '') Vb0 = rNULL__
        if(ar__2(56:60) .EQ. '') Vdl = rNULL__
        if(ar__2(62:66) .EQ. '') Ime = rNULL__
        if(ar__2(68:72) .EQ. '') Ireff = rNULL__
        if(ar__2(74:78) .EQ. '') Ib0 = rNULL__
        if(ar__2(80:84) .EQ. '') Idl = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  v_FP2004__2,Bme,Breff,Bb0,Bdl,Vme,Vreff,Vb0,Vdl,Ime,Ireff,Ib0,
     +  Idl
c    .......End.of.Just test output...........
      end do
      close(1)

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