FORTRAN Generation
(/./ftp/cats/J/A_A/416/515)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/416/515 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-16
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/416/515         Starbursts in barred spiral galaxies. VI. (Davoust+, 2004)
*================================================================================
*Starbursts in barred spiral galaxies.
*VI. HI observations and the K-band Tully-Fisher relation.
*    Davoust E., Contini T.
*   <Astron. Astrophys. 416, 515 (2004)>
*   =2004A&A...416..515D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table4.dat'	! Galaxies with the strongest deviations from the
                              K-band TF relation

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

      character*1   Type       (nr__) ! [BU] B: Barred Galaxies, U: Unbarred Galaxies
      integer*4     Mrk        (nr__) ! Galaxy name
      character*3   SpType     (nr__) ! spectral type
      real*4        O_H        (nr__) ! ? Oxygen abundance
      real*4        logFIR     (nr__) ! ([solLum]) log of far infrared luminosity (1)
      real*4        DMHI       (nr__) ! Excess of HI mass (1)
      real*4        DlogVm     (nr__) ! ([km/s]) Difference between log of observed and
*                                   expected Vm (maximum velocity of rotation)
      character*11  Envir      (nr__) ! Environment
*Note (1): Means values:
*    Barred Galaxies   : logFIR = 10.21, DMHI = 0.30
*    Unbarred Galaxies : logFIR = 10.13, DMHI = 0.33

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

C  Declarations for 'table5.dat'	! HI data for Markarian galaxies observed at the
                              Nancay Radiotelescope

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

      character*8   Name       (nr__1) ! Galaxy name (Mrk or UGC)
      real*4        TType      (nr__1) ! ? Morphological type
      integer*4     Incl       (nr__1) ! (deg) ? Inclination
      integer*4     HRV        (nr__1) ! (km/s) Heliocentric radial velocity
      character*1   r_HRV      (nr__1) ! [)] ) when from LEDA
      integer*4     e_HRV      (nr__1) ! (km/s) ? Uncertainty on heliocentric radial velocity
      real*4        rms        (nr__1) ! (mJy) rms noise
      real*4        SNR        (nr__1) ! ? Signal-to-noise ratio
      integer*4     W20        (nr__1) ! (km/s) ? Linewidth at 20% of maximum intensity
      integer*4     W50        (nr__1) ! (km/s) Linewidth at 50% of maximum intensity
      character*1   u_W50      (nr__1) ! [)] ) when W50 estimated (1)
      character*1   l_FHI      (nr__1) ! Upper limit on HI flux density
      real*4        FHI        (nr__1) ! (Jy.km/s) HI flux density
      real*4        e_FHI      (nr__1) ! (Jy.km/s) ? uncertainty on HI flux density
*Note (1): When no line was detected, the listed W50 was estimated from
*    the Tully-Fisher relation and is given in brackets.

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

C  Declarations for 'table6.dat'	! Integrated quantities for the Mrk IRAS galaxies

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

      integer*4     Mrk_1      (nr__2) ! Galaxy name
      character*2   Bar        (nr__2) ! bar/no bar
      character*3   SpType_1   (nr__2) ! spectral type
      real*4        MType      (nr__2) ! Morphological type
      real*4        Incl_1     (nr__2) ! (deg) Inclination
      real*4        logdc      (nr__2) ! ([0.1arcmin]) log of isophotal diameter
      real*4        e_logdc    (nr__2) ! ([0.1arcmin]) Uncertainty on log of isophotal diameter
      real*4        logVm      (nr__2) ! ([km/s]) log of maximum velocity of rotation
      real*4        e_logVm    (nr__2) ! ([km/s]) Uncertainty on log of maximum velocity of
*                                      rotation
      real*4        Dist       (nr__2) ! (Mpc) Distance
      real*4        Kmag       (nr__2) ! (mag) ?=0 K-band magnitude
      real*4        O_H_1      (nr__2) ! Oxygen abundance
      real*4        logMHI     (nr__2) ! ([solMass]) log of total HI mass
      real*4        e_logMHI   (nr__2) ! ([solMass]) Uncertainty on log of HI mass
      real*4        logFIR_1   (nr__2) ! ([solLum]) log of far infrared luminosity
      real*4        BMAG       (nr__2) ! (mag) Absolute B magnitude

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

C  Loading file 'table4.dat'	! Galaxies with the strongest deviations from the
*                              K-band TF relation

C  Format for file interpretation

    1 format(A1,1X,I4,1X,A3,1X,F4.2,1X,F5.2,1X,F5.2,1X,F6.3,1X,A11)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,17
        read(1,'(A46)')ar__
        read(ar__,1)
     +  Type(i__),Mrk(i__),SpType(i__),O_H(i__),logFIR(i__),DMHI(i__),
     +  DlogVm(i__),Envir(i__)
        if(ar__(12:15) .EQ. '') O_H(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Type(i__),Mrk(i__),SpType(i__),O_H(i__),logFIR(i__),DMHI(i__),
     +  DlogVm(i__),Envir(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! HI data for Markarian galaxies observed at the
*                              Nancay Radiotelescope

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,106
        read(1,'(A60)')ar__1
        read(ar__1,2)
     +  Name(i__),TType(i__),Incl(i__),HRV(i__),r_HRV(i__),e_HRV(i__),
     +  rms(i__),SNR(i__),W20(i__),W50(i__),u_W50(i__),l_FHI(i__),
     +  FHI(i__),e_FHI(i__)
        if(ar__1(10:13) .EQ. '') TType(i__) = rNULL__
        if(ar__1(16:17) .EQ. '') Incl(i__) = iNULL__
        if(ar__1(28:29) .EQ. '') e_HRV(i__) = iNULL__
        if(ar__1(36:39) .EQ. '') SNR(i__) = rNULL__
        if(ar__1(41:43) .EQ. '') W20(i__) = iNULL__
        if(ar__1(57:60) .EQ. '') e_FHI(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name(i__),TType(i__),Incl(i__),HRV(i__),r_HRV(i__),e_HRV(i__),
     +  rms(i__),SNR(i__),W20(i__),W50(i__),u_W50(i__),l_FHI(i__),
     +  FHI(i__),e_FHI(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Integrated quantities for the Mrk IRAS galaxies

C  Format for file interpretation

    3 format(
     +  I4,1X,A2,1X,A3,1X,F4.1,1X,F4.1,1X,F5.3,1X,F5.3,1X,F5.3,1X,
     +  F5.3,1X,F5.1,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,218
        read(1,'(A86)')ar__2
        read(ar__2,3)
     +  Mrk_1(i__),Bar(i__),SpType_1(i__),MType(i__),Incl_1(i__),
     +  logdc(i__),e_logdc(i__),logVm(i__),e_logVm(i__),Dist(i__),
     +  Kmag(i__),O_H_1(i__),logMHI(i__),e_logMHI(i__),logFIR_1(i__),
     +  BMAG(i__)
c    ..............Just test output...........
        write(6,3)
     +  Mrk_1(i__),Bar(i__),SpType_1(i__),MType(i__),Incl_1(i__),
     +  logdc(i__),e_logdc(i__),logVm(i__),e_logVm(i__),Dist(i__),
     +  Kmag(i__),O_H_1(i__),logMHI(i__),e_logMHI(i__),logFIR_1(i__),
     +  BMAG(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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