FORTRAN Generation
(/./ftp/cats/J/A_A/395/753)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/395/753 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/395/753      Spectroscopy of Coma early-type galaxies. II. (Wegner+, 2002)
*================================================================================
*Spatially resolved spectroscopy of Coma cluster early-type galaxies.
*II. The minor axis dataset.
*    Wegner, G., Corsini, E.M., Saglia, R.P., Bender, R., Merkl, D.,
*    Thomas, D., Thomas, J., Mehlert, D.
*   <Astron. Astrophys. 395, 753 (2002)>
*   =2002A&A...395..753W
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Kinematic parameters

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

      integer*4     GMP         ! GMP number (Cat. <VII/42>)
      real*4        r           ! (arcsec) Major axis distance from galaxy center
      real*4        v_r         ! (km/s) Line of sight mean velocity
      real*4        e_v_r       ! (km/s) Error of v(r)
      real*4        sigma       ! (km/s) Line of sight velocity dispersion
      real*4        e_sigma     ! (km/s) Error of sigma
      real*4        H3          ! 3. order coeff. of Gaussian Hermite
*                                   decomposition of the line of sight velocity
*                                   distribution (LOSVD)
      real*4        e_H3        ! Error of H3
      real*4        H4          ! 4. order coeff. of Gaussian Hermite
*                                   decomposition of the LOSVD
      real*4        e_H4        ! Error of H4
      integer*4     PA          ! (deg) Slit position angle
      real*4        Offset      ! (arcsec) Slit offset with respect to the galaxy center
      integer*4     Run         ! Observing run

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

C  Declarations for 'table4.dat'	! Line indices

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

      integer*4     GMP_1       ! GMP number (Cat. <VII/42>)
      real*4        r_1         ! (arcsec) Major axis distance from galaxy center
      real*4        Hbeta       ! (0.1nm) H{beta} absorption index
      real*4        e_Hbeta     ! (0.1nm) Error of  Hbeta
      real*4        v_MgFe_     ! (0.1nm) Absorption index [MgFe]
      real*4        e__MgFe_    ! (0.1nm) Error of [MgFe]
      real*4        v_Fe_       ! (0.1nm) Absorption index <Fe>
      real*4        e__Fe_      ! (0.1nm) Error of <Fe>
      real*4        Mgb         ! (0.1nm) Absorption index Mgb
      real*4        e_Mgb       ! (0.1nm) Error of Mgb
      real*4        Mg2         ! (mag) ? Absorption index Mg2
      real*4        e_Mg2       ! (mag) ? Error of Mg2
      integer*4     PA_1        ! (deg) Slit position angle
      real*4        Offset_1    ! (arcsec) Slit offset with respect to the galaxy center
      integer*4     Run_1       ! Observing run

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

C  Loading file 'table3.dat'	! Kinematic parameters

C  Format for file interpretation

    1 format(
     +  4X,I4,1X,F6.2,1X,F6.1,1X,F4.1,1X,F5.1,1X,F4.1,1X,F6.3,1X,F5.3,
     +  1X,F6.3,1X,F5.3,1X,I3,1X,F3.1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,190
        read(1,'(A76)')ar__
        read(ar__,1)
     +  GMP,r,v_r,e_v_r,sigma,e_sigma,H3,e_H3,H4,e_H4,PA,Offset,Run
c    ..............Just test output...........
        write(6,1)
     +  GMP,r,v_r,e_v_r,sigma,e_sigma,H3,e_H3,H4,e_H4,PA,Offset,Run
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Line indices

C  Format for file interpretation

    2 format(
     +  4X,I4,1X,F6.2,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,
     +  1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,I3,1X,F3.1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,190
        read(1,'(A85)')ar__1
        read(ar__1,2)
     +  GMP_1,r_1,Hbeta,e_Hbeta,v_MgFe_,e__MgFe_,v_Fe_,e__Fe_,Mgb,
     +  e_Mgb,Mg2,e_Mg2,PA_1,Offset_1,Run_1
        if(ar__1(65:69) .EQ. '') Mg2 = rNULL__
        if(ar__1(71:75) .EQ. '') e_Mg2 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  GMP_1,r_1,Hbeta,e_Hbeta,v_MgFe_,e__MgFe_,v_Fe_,e__Fe_,Mgb,
     +  e_Mgb,Mg2,e_Mg2,PA_1,Offset_1,Run_1
c    .......End.of.Just test output...........
      end do
      close(1)

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