FORTRAN Generation
(/./ftp/cats/J/ApJ/665/1067)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/665/1067 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-Mar-28
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/ApJ/665/1067   Velocities in Cl 0024+16 and MS 0451-03     (Moran+, 2007)
*================================================================================
*The dynamical distinction between elliptical and lenticular galaxies in distant
*clusters: further evidence for the recent origin of S0 galaxies.
*    Moran S.M., Loh B.L., Ellis R.S., Treu T., Bundy K., MacArthur L.A.
*   <Astrophys. J., 665, 1067-1073 (2007)>
*   =2007ApJ...665.1067M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Measurements of Cl 0024+16, MS 0451-03, and
                              field galaxies

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

C  J2000 position composed of: RAdeg DEdeg
      character*3   v_MLE2007_ (nr__) ! Sequential number (CNN or FNN) (1)
      real*8        RAdeg      (nr__) ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination in decimal degrees (J2000)
      real*4        z          (nr__) ! Redshift
      character*1   l_vsini    (nr__) ! Limit flag on vsini (2)
      integer*4     vsini      (nr__) ! (km/s) Measured rotation velocity (2)
      integer*4     e_vsini    (nr__) ! (km/s) ? rms uncertainty on vsini
      integer*4     sigma      (nr__) ! (km/s) Velocity dispersion
      integer*4     e_sigma    (nr__) ! (km/s) rms uncertainty on sigma
      real*4        Ell        (nr__) ! Galaxy ellipticity
      character*4   MType      (nr__) ! Galaxy morphological type
      integer*4     delta      (nr__) ! (deg) Angle between the galaxy major axis and the
*                                   long axis of the spectroscopic slit
*Note (1): Galaxy IDs are designated with C for cluster members and F for
*     field galaxies.
*Note (2): Velocities are listed uncorrected for slit misalignment. Upper
*     limits on velocities are 1sigma.

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

C  Loading file 'table1.dat'	! Measurements of Cl 0024+16, MS 0451-03, and
*                              field galaxies

C  Format for file interpretation

    1 format(
     +  A3,1X,F10.6,1X,F10.6,1X,F5.3,1X,A1,I3,2X,I2,1X,I3,1X,I2,1X,
     +  F4.2,1X,A4,2X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,67
        read(1,'(A61)')ar__
        read(ar__,1)
     +  v_MLE2007_(i__),RAdeg(i__),DEdeg(i__),z(i__),l_vsini(i__),
     +  vsini(i__),e_vsini(i__),sigma(i__),e_sigma(i__),Ell(i__),
     +  MType(i__),delta(i__)
        if(ar__(39:40) .EQ. '') e_vsini(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  v_MLE2007_(i__),RAdeg(i__),DEdeg(i__),z(i__),l_vsini(i__),
     +  vsini(i__),e_vsini(i__),sigma(i__),e_sigma(i__),Ell(i__),
     +  MType(i__),delta(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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