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 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 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        (nr__) ! Localication (Gal, LMC or SMC)
      character*4   Obs        (nr__) ! Observation number
      character*5   NGC        (nr__) ! NGC number
      real*4        HRV        (nr__) ! (km/s) Derived heliocentric radial velocity
      real*4        e_HRV      (nr__) ! (km/s) rms uncertainty on HRV
      real*4        sigCCF     (nr__) ! (km/s) Standard deviation of the cross-correlation
*                                  function (CCF)
      real*4        e_sigCCF   (nr__) ! (km/s) rms uncertainty on sigCCF
      real*4        Depth      (nr__) ! (%) Relative depth of the CCF
      real*4        S_N        (nr__) ! Signal-to-noise ratio of the spectrum
      real*4        eps        (nr__) ! (km/s) Uncertainty epsilon of HRV and sigCCF due to
*                                  the spectrum noise
      real*4        sigref     (nr__) ! (km/s) Value used for the intrinsic standard
*                                  deviation from the standard CCFs
      real*4        e_sigref   (nr__) ! (km/s) rms uncertainty on sigref
      real*4        sigpObs    (nr__) ! (km/s) ? Observed cluster core projected
*                                    velocity dispersion
      real*4        E_sigpObs  (nr__) ! (km/s) ? Error in sigpObs (upper limit) due to the
*                                    instrumental error and to the spectrum noise
      real*4        e_sigpObs_1(nr__) ! (km/s) ? Error in sigpObs (lower limit) due to the
*                                    instrumental error and to the spectrum noise
      real*4        StatErru   (nr__) ! (km/s) ? Statistical error (upper limit) due to the
*                                    small sample of bright stars observed
*                                    through the slit
      character*1   u_StatErru (nr__) ! Uncertainty flag on StatErru
      real*4        StatErrl   (nr__) ! (km/s) ? Statistical error (lower limit) due to the
*                                    small sample of bright stars observed
*                                    through the slit
      real*4        sigp       (nr__) ! (km/s) ? Calculated cluster core projected
*                                    velocity dispersion (1)
      real*4        E_sigp     (nr__) ! (km/s) ? Error in sigp (upper limit) (2)
      character*1   u_E_sigp   (nr__) ! Uncertainty flag on E_sigp
      real*4        e_sigp_1   (nr__) ! (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(i__),Obs(i__),NGC(i__),HRV(i__),e_HRV(i__),sigCCF(i__),
     +  e_sigCCF(i__),Depth(i__),S_N(i__),eps(i__),sigref(i__),
     +  e_sigref(i__),sigpObs(i__),E_sigpObs(i__),e_sigpObs_1(i__),
     +  StatErru(i__),u_StatErru(i__),StatErrl(i__),sigp(i__),
     +  E_sigp(i__),u_E_sigp(i__),e_sigp_1(i__)
        if(ar__(61:64) .EQ. '') sigpObs(i__) = rNULL__
        if(ar__(66:68) .EQ. '') E_sigpObs(i__) = rNULL__
        if(ar__(70:72) .EQ. '') e_sigpObs_1(i__) = rNULL__
        if(ar__(74:76) .EQ. '') StatErru(i__) = rNULL__
        if(ar__(79:81) .EQ. '') StatErrl(i__) = rNULL__
        if(ar__(83:86) .EQ. '') sigp(i__) = rNULL__
        if(ar__(88:90) .EQ. '') E_sigp(i__) = rNULL__
        if(ar__(93:95) .EQ. '') e_sigp_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Loc(i__),Obs(i__),NGC(i__),HRV(i__),e_HRV(i__),sigCCF(i__),
     +  e_sigCCF(i__),Depth(i__),S_N(i__),eps(i__),sigref(i__),
     +  e_sigref(i__),sigpObs(i__),E_sigpObs(i__),e_sigpObs_1(i__),
     +  StatErru(i__),u_StatErru(i__),StatErrl(i__),sigp(i__),
     +  E_sigp(i__),u_E_sigp(i__),e_sigp_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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