FORTRAN Generation
(/./ftp/cats/J/A_A/324/505)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/324/505 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 2026-Oct-07
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/324/505      Core velocity dispersions of globular clusters (Dubath+ 1997)
*================================================================================
*Core velocity dispersions for 25 Galactic and 10 old Magellanic
*globular clusters
*     Dubath P., Meylan G., Mayor M.
*    <Astron. Astrophys. 324, 505 (1997)>
*    =1997A&A...324..505D      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table67'	! Radial velocities and core velocity dispersions

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

      character*3   Loc         ! Localication (Gal, LMC or SMC)
      character*4   Obs         ! Observation number
      character*5   NGC         ! NGC number
      real*4        HRV         ! (km/s) Derived heliocentric radial velocity
      real*4        e_HRV       ! (km/s) rms uncertainty on HRV
      real*4        sigCCF      ! (km/s) Standard deviation of the cross-correlation
*                                  function (CCF)
      real*4        e_sigCCF    ! (km/s) rms uncertainty on sigCCF
      real*4        Depth       ! (%) Relative depth of the CCF
      real*4        S_N         ! Signal-to-noise ratio of the spectrum
      real*4        eps         ! (km/s) Uncertainty epsilon of HRV and sigCCF due to
*                                  the spectrum noise
      real*4        sigref      ! (km/s) Value used for the intrinsic standard
*                                  deviation from the standard CCFs
      real*4        e_sigref    ! (km/s) rms uncertainty on sigref
      real*4        sigpObs     ! (km/s) ? Observed cluster core projected
*                                    velocity dispersion
      real*4        E_sigpObs   ! (km/s) ? Error in sigpObs (upper limit) due to the
*                                    instrumental error and to the spectrum noise
      real*4        e_sigpObs_1 ! (km/s) ? Error in sigpObs (lower limit) due to the
*                                    instrumental error and to the spectrum noise
      real*4        StatErru    ! (km/s) ? Statistical error (upper limit) due to the
*                                    small sample of bright stars observed
*                                    through the slit
      character*1   u_StatErru  ! Uncertainty flag on StatErru
      real*4        StatErrl    ! (km/s) ? Statistical error (lower limit) due to the
*                                    small sample of bright stars observed
*                                    through the slit
      real*4        sigp        ! (km/s) ? Calculated cluster core projected
*                                    velocity dispersion (1)
      real*4        E_sigp      ! (km/s) ? Error in sigp (upper limit) (2)
      character*1   u_E_sigp    ! Uncertainty flag on E_sigp
      real*4        e_sigp_1    ! (km/s) ? Error in sigp (lower limit) (2)
*Note (1): sigp includes the contribution from the statistical error simulations
*Note (2): Uncertainty, including the contribution from the statistical error

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

C  Loading file 'table67'	! Radial velocities and core velocity dispersions

C  Format for file interpretation

    1 format(
     +  A3,1X,A4,1X,A5,1X,F6.1,1X,F3.1,1X,F4.1,1X,F3.1,1X,F5.3,1X,
     +  F4.1,1X,F4.2,1X,F3.1,1X,F4.2,1X,F4.1,1X,F3.1,1X,F3.1,1X,F3.1,
     +  A1,1X,F3.1,1X,F4.1,1X,F3.1,A1,1X,F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table67')
      write(6,*) '....Loading file: table67'
      do i__=1,44
        read(1,'(A98)')ar__
        read(ar__,1)
     +  Loc,Obs,NGC,HRV,e_HRV,sigCCF,e_sigCCF,Depth,S_N,eps,sigref,
     +  e_sigref,sigpObs,E_sigpObs,e_sigpObs_1,StatErru,u_StatErru,
     +  StatErrl,sigp,E_sigp,u_E_sigp,e_sigp_1
        if(ar__(61:64) .EQ. '') sigpObs = rNULL__
        if(ar__(66:68) .EQ. '') E_sigpObs = rNULL__
        if(ar__(70:72) .EQ. '') e_sigpObs_1 = rNULL__
        if(ar__(74:76) .EQ. '') StatErru = rNULL__
        if(ar__(79:81) .EQ. '') StatErrl = rNULL__
        if(ar__(83:86) .EQ. '') sigp = rNULL__
        if(ar__(88:90) .EQ. '') E_sigp = rNULL__
        if(ar__(93:95) .EQ. '') e_sigp_1 = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Loc,Obs,NGC,HRV,e_HRV,sigCCF,e_sigCCF,Depth,S_N,eps,sigref,
     +  e_sigref,sigpObs,E_sigpObs,e_sigpObs_1,StatErru,u_StatErru,
     +  StatErrl,sigp,E_sigp,u_E_sigp,e_sigp_1
c    .......End.of.Just test output...........
      end do
      close(1)

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