FORTRAN Generation
(/./ftp/cats/J/A_A/286/136)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/286/136 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-13
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/286/136    Radial velocities of four beta Cep variables      (Aerts+ 1994)
*============================================================== ==================
*Mode identification with the moment method in four multiperiodic beta Cephei
*stars: KK Velorum, nu Eri, Beta CMa, and V348 Normae
*     AERTS C., WAELKENS C., DE PAUW M.
*    <Astron. Astrophys. 286, 136 (1994)>
*    =1994A&A...286..136A
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table12'	! HJD and radial velocities for the measured
                                 spectra of the four stars (table12 + table13
                                 in the paper)

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

      real*8        HJD1       (nr__) ! (d) []? Heliocentric Julian Date for KK Vel (1)
      real*4        v_v_1      (nr__) ! (km/s) []? Radial velocity for KK Vel
      real*8        HJD2       (nr__) ! (d) []? Heliocentric Julian Date for nu Eri (1)
      real*4        v_v_2      (nr__) ! (km/s) []? Radial velocity for nu Eri
      real*8        HJD3       (nr__) ! (d) []? Heliocentric Julian Date for beta CMa (1)
      real*4        v_v_3      (nr__) ! (km/s) []? Radial velocity for beta CMa
      real*8        HJD4       (nr__) ! (d) Heliocentric Julian Date for V348 Nor (1)
      real*4        v_v_4      (nr__) ! (km/s) Radial velocity FOR V348 Nor
*Note (1): Stars Observed are:
*    KK Vel = HD  78616   pos2000 = 09 07 42.5 -44 37 57
*    nu Eri = HD  29248   pos2000 = 04 36 19.1 -03 21 09
*   bet CMa = HD  44743   pos2000 = 06 22 41.9 -17 57 21
*  V348 Nor = HD 147985   pos2000 = 16 26 56.6 -43 47 57

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

C  Loading file 'table12'	! HJD and radial velocities for the measured
*                                 spectra of the four stars (table12 + table13
*                                 in the paper)

C  Format for file interpretation

    1 format(
     +  F12.4,2X,F4.1,2X,F12.4,1X,F5.1,2X,F12.4,2X,F4.1,2X,F12.4,1X,
     +  F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table12')
      write(6,*) '....Loading file: table12'
      do i__=1,75
        read(1,'(A78)')ar__
        read(ar__,1)
     +  HJD1(i__),v_v_1(i__),HJD2(i__),v_v_2(i__),HJD3(i__),
     +  v_v_3(i__),HJD4(i__),v_v_4(i__)
        if(ar__(1:12) .EQ. '') HJD1(i__) = rNULL__
        if(ar__(15:18) .EQ. '') v_v_1(i__) = rNULL__
        if(ar__(21:32) .EQ. '') HJD2(i__) = rNULL__
        if(ar__(34:38) .EQ. '') v_v_2(i__) = rNULL__
        if(ar__(41:52) .EQ. '') HJD3(i__) = rNULL__
        if(ar__(55:58) .EQ. '') v_v_3(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  HJD1(i__),v_v_1(i__),HJD2(i__),v_v_2(i__),HJD3(i__),
     +  v_v_3(i__),HJD4(i__),v_v_4(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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