FORTRAN Generation
(/./ftp/cats/J/A_A/420/97)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/420/97 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-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/A+A/420/97        Tully-Fisher relation at 0.1<z<1.0         (Boehm+, 2004)
*================================================================================
*The Tully-Fisher relation at intermediate redshift.
*    Boehm A., Ziegler B.L., Saglia R.P., Bender R., Fricke K.J., Gabasch A.,
*    Heidt J., Mehlert D., Noll S., Seitz S.
*   <Astron. Astrophys. 420, 97 (2004)>
*   =2004A&A...420...97B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Photometric and kinematic data on 77 spirals
                               in the FORS Deep Field

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

      integer*4     FDF         ! FORS Deep Field photometric catalogue number
*                                  (as in Cat. <J/A+A/398/49>)
      integer*4     i           ! (deg) Disk inclination angle (0 = face-on)
      integer*4     delta       ! (deg) Misalignment angle between disk major axis
*                                  and slitlet
      real*4        rd          ! (arcsec) Exponential disk scale length (1)
      real*4        z           ! Spectroscopic redshift
      integer*4     TType       ! SED classifier in the de Vaucouleurs scheme
      real*4        Xmag        ! (mag) Total apparent magnitude in filter X (2)
      real*4        kB          ! (mag) K-correction (to rest-frame Johnson B)
      real*4        AX          ! (mag) Galactic absorption (in filter X)
      real*4        AB          ! (mag) Intrinsic absorption in rest-frame B (3)
      real*4        m_M         ! (mag) Distance modulus (4)
      real*4        BMAG        ! (mag) B-band absolute magnitude
      real*4        e_BMAG      ! (mag) Error on B-band absolute magnitude
      integer*4     Vmax        ! (km/s) Intrinsic maximum rotation velocity (5)
      integer*4     e_Vmax      ! (km/s) Error on intrinsic maximum rotation velocity
      real*4        B_R         ! (mag) Rest-frame extinction-corrected B-R color index
      character*1   Qual        ! Rotation curve quality (6)
*Note (1): Structural parameters were derived from 2-D surface brightness
*    profile fitting on ground-based images taking into account the seeing.
*    According to our simulations, the disk scale length is not a crucial
*    input parameter for the determination of Vmax in the case of distant
*    spirals. However, some values of rd may be affected by the limitations
*    of the ground-based imaging. We therefore recommend not to use these
*    scale lengths for applications like the Fundamental Plane of spiral
*    galaxies.
*Note (2): Apparent magnitude is given for the filter X which best matches
*    the rest-frame B-band. For objects with z<0.25, this is the B-band, in
*    the range 0.25<z<0.55 the g-band was used, for 0.55<z<0.85, the R-band
*    was used, and at z>0.85 the I-band.
*Note (3): Intrinsic absorption is computed following Tully & Fouque
*     (1985ApJS...58...67T).
*Note (4): Adopting the concordance cosmology with {Omega}_{lambda}_=0.7,
*    {Omega}_m_=0.3 and H_0_=70km/s/Mpc.
*Note (5): Derived via synthetic velocity fields assuming a linear rise
*    of the rotation velocity at small galactocentric radii and a flat
*    rotation curve at large radii ("rise-turnover-flat" shape).
*Note (6): Quality flags:
*   "H" - High quality, symmetric rotation curves with a clearly visible
*         flat part at large radii. These objects are usable for
*         Tully-Fisher applications.
*   "L" - Low quality rotation curves with relatively small spatial
*         extent and/or asymmetric shapes.

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

C  Loading file 'table1.dat'	! Photometric and kinematic data on 77 spirals
*                               in the FORS Deep Field

C  Format for file interpretation

    1 format(
     +  I4,1X,I2,1X,I2,1X,F4.2,1X,F6.4,1X,I2,1X,F5.2,1X,F5.2,1X,F4.2,
     +  1X,F4.2,1X,F5.2,1X,F6.2,1X,F4.2,1X,I3,1X,I3,1X,F4.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,77
        read(1,'(A80)')ar__
        read(ar__,1)
     +  FDF,i,delta,rd,z,TType,Xmag,kB,AX,AB,m_M,BMAG,e_BMAG,Vmax,
     +  e_Vmax,B_R,Qual
c    ..............Just test output...........
        write(6,1)
     +  FDF,i,delta,rd,z,TType,Xmag,kB,AX,AB,m_M,BMAG,e_BMAG,Vmax,
     +  e_Vmax,B_R,Qual
c    .......End.of.Just test output...........
      end do
      close(1)

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