FORTRAN Generation
(/./ftp/cats/J/A_A/370/974)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/370/974 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-Jun-08
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/370/974       Radial velocities of UX Ari              (Duemmler+, 2001)
*================================================================================
*The radial velocities of the RS CVn star UX Ari.
*A triple system with a binary on the same line of sight.
*     Duemmler R., Aarum V.
*    <Astron. Astrophys. 370, 974 (2001)>
*    =2001A&A...370..974D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! All radial velocities of UX Ari

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

      real*8        HJD        (nr__) ! (d) Heliocentric Julian Date
      real*4        RV1        (nr__) ! (km/s) ?=0.0 Radial velocity of the cooler primary (1)
      real*4        e_RV1      (nr__) ! (km/s) ?=-99.9 Error of primary radial velocity (2)
      real*8        RV2        (nr__) ! (km/s) ?=0.0 Radial velocity of the hotter secondary (1)
      real*8        e_RV2      (nr__) ! (km/s) ?=-99.9 Error of secondary radial velocity (2)
      character*3   r_RV1      (nr__) ! Source identifier (3)
      integer*4     Nsub       (nr__) ! Subset number in the final orbit fit
*Note (1): Non-existent measurements of one component are indicated by the radial
*            velocity 0.0 and the error -99.9 (for DMH only).
*Note (2): Negative errors indicate measurements not used in the final orbit fit
*Note (3): Source of the RV:
*    C&P = Carlos & Popper, 1971PASP...83..504C
*    DMH = Duquennoy et al., 1991A&AS...88..281D
*    S95 = SOFIN spectrograph on NOT telescope, La Palma, 1995
*    S96 = SOFIN spectrograph on NOT telescope, La Palma, 1996
*    M99 = McDonald Obs., 1999
*    K99 = Kitt Peak Obs., 1999
*    M00 = McDonald Obs., 2000

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

C  Loading file 'table2.dat'	! All radial velocities of UX Ari

C  Format for file interpretation

    1 format(F13.5,1X,F6.2,F6.2,1X,F7.3,1X,F7.3,1X,A3,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,188
        read(1,'(A48)')ar__
        read(ar__,1)
     +  HJD(i__),RV1(i__),e_RV1(i__),RV2(i__),e_RV2(i__),r_RV1(i__),
     +  Nsub(i__)
c    ..............Just test output...........
        write(6,1)
     +  HJD(i__),RV1(i__),e_RV1(i__),RV2(i__),e_RV2(i__),r_RV1(i__),
     +  Nsub(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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