FORTRAN Generation
(/./ftp/cats/J/A_AS/125/497)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/125/497 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-Apr-20
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+AS/125/497      Theta Vir and 109 Vir uvby photometry (Adelman 1997)
*================================================================================
*On the possible variability of the main sequence A stars
*theta Virginis and 109 Virginis
*       Adelman S.J.
*      <Astron. Astrophys. Suppl. Ser. 125, 497 (1997)>
*      =1997A&AS..125..497A      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2'	! uvby Photometry of Theta Vir

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

      real*8        HJD        (nr__) ! (d) Heliocentric Julian Date
      real*4        u_v_c      (nr__) ! (mag) variable-comparison (v-c) u magnitude
      real*4        u_ch_c     (nr__) ! (mag) check-comparison (ch-c) u magnitude
      real*4        v_v_c      (nr__) ! (mag) variable-comparison (v-c) v magnitude
      real*4        v_ch_c     (nr__) ! (mag) check-comparison (ch-c) v magnitude
      real*4        b_v_c      (nr__) ! (mag) variable-comparison (v-c) b magnitude
      real*4        b_ch_c     (nr__) ! (mag) check-comparison (ch-c) b magnitude
      real*4        y_v_c      (nr__) ! (mag) variable-comparison (v-c) y magnitude
      real*4        y_ch_c     (nr__) ! (mag) check-comparison (ch-c) y magnitude

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

C  Declarations for 'table2b'	! Examination of Data on Nights for Theta Vir

      integer*4 nr__1
      parameter (nr__1=64)	! Number of records
      character*77 ar__1  	! Full-size record

      real*8        HJD_1      (nr__1) ! (d) Heliocentric Julian Date
      real*4        u_v_c_1    (nr__1) ! (mag) variable-comparison (v-c) u magnitude
      real*4        u_ch_c_1   (nr__1) ! (mag) check-comparison (ch-c) u magnitude
      real*4        v_v_c_1    (nr__1) ! (mag) variable-comparison (v-c) v magnitude
      real*4        v_ch_c_1   (nr__1) ! (mag) check-comparison (ch-c) v magnitude
      real*4        b_v_c_1    (nr__1) ! (mag) variable-comparison (v-c) b magnitude
      real*4        b_ch_c_1   (nr__1) ! (mag) check-comparison (ch-c) b magnitude
      real*4        y_v_c_1    (nr__1) ! (mag) variable-comparison (v-c) y magnitude
      real*4        y_ch_c_1   (nr__1) ! (mag) check-comparison (ch-c) y magnitude

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

C  Declarations for 'table3'	! uvby Photometry of 109 Vir

      integer*4 nr__2
      parameter (nr__2=380)	! Number of records
      character*77 ar__2  	! Full-size record

      real*8        HJD_2      (nr__2) ! (d) Heliocentric Julian Date
      real*4        u_v_c_1    (nr__2) ! (mag) variable-comparison (v-c) u magnitude
      real*4        u_ch_c_1   (nr__2) ! (mag) check-comparison (ch-c) u magnitude
      real*4        v_v_c_1    (nr__2) ! (mag) variable-comparison (v-c) v magnitude
      real*4        v_ch_c_1   (nr__2) ! (mag) check-comparison (ch-c) v magnitude
      real*4        b_v_c_1    (nr__2) ! (mag) variable-comparison (v-c) b magnitude
      real*4        b_ch_c_1   (nr__2) ! (mag) check-comparison (ch-c) b magnitude
      real*4        y_v_c_1    (nr__2) ! (mag) variable-comparison (v-c) y magnitude
      real*4        y_ch_c_1   (nr__2) ! (mag) check-comparison (ch-c) y magnitude

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

C  Declarations for 'table3b'	! Examination of Data on Nights for 109 Vir

      integer*4 nr__3
      parameter (nr__3=202)	! Number of records
      character*77 ar__3  	! Full-size record

      real*8        HJD_3      (nr__3) ! (d) Heliocentric Julian Date
      real*4        u_v_c_1    (nr__3) ! (mag) variable-comparison (v-c) u magnitude
      real*4        u_ch_c_1   (nr__3) ! (mag) check-comparison (ch-c) u magnitude
      real*4        v_v_c_1    (nr__3) ! (mag) variable-comparison (v-c) v magnitude
      real*4        v_ch_c_1   (nr__3) ! (mag) check-comparison (ch-c) v magnitude
      real*4        b_v_c_1    (nr__3) ! (mag) variable-comparison (v-c) b magnitude
      real*4        b_ch_c_1   (nr__3) ! (mag) check-comparison (ch-c) b magnitude
      real*4        y_v_c_1    (nr__3) ! (mag) variable-comparison (v-c) y magnitude
      real*4        y_ch_c_1   (nr__3) ! (mag) check-comparison (ch-c) y magnitude

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

C  Declarations for 'tablea'	! Averaged values

      integer*4 nr__4
      parameter (nr__4=51)	! Number of records
      character*119 ar__4  	! Full-size record

      character*9   Star       (nr__4) ! Star name
      character*10  Per        (nr__4) ! Period considered (1)
      real*4        u_v_c_1    (nr__4) ! (mag) variable-comparison (v-c) u magnitude
      real*4        e_u_v_c    (nr__4) ! (mag) ? rms uncertainty on (v-c) u magnitude
      real*4        u_ch_c_1   (nr__4) ! (mag) check-comparison (ch-c) u magnitude
      real*4        e_u_ch_c   (nr__4) ! (mag) ? rms uncertainty on (ch-c) u magnitude
      real*4        v_v_c_1    (nr__4) ! (mag) variable-comparison (v-c) v magnitude
      real*4        e_v_v_c    (nr__4) ! (mag) ? rms uncertainty on (v-c) v magnitude
      real*4        v_ch_c_1   (nr__4) ! (mag) check-comparison (ch-c) v magnitude
      real*4        e_v_ch_c   (nr__4) ! (mag) ? rms uncertainty on (ch-c) v magnitude
      real*4        b_v_c_1    (nr__4) ! (mag) variable-comparison (v-c) b magnitude
      real*4        e_b_v_c    (nr__4) ! (mag) ? rms uncertainty on (v-c) b magnitude
      real*4        b_ch_c_1   (nr__4) ! (mag) check-comparison (ch-c) b magnitude
      real*4        e_b_ch_c   (nr__4) ! (mag) ? rms uncertainty on (ch-c) b magnitude
      real*4        y_v_c_1    (nr__4) ! (mag) variable-comparison (v-c) y magnitude
      real*4        e_y_v_c    (nr__4) ! (mag) ? rms uncertainty on (v-c) y magnitude
      real*4        y_ch_c_1   (nr__4) ! (mag) check-comparison (ch-c) y magnitude
      real*4        e_y_ch_c   (nr__4) ! (mag) ? rms uncertainty on (ch-c) y magnitude
*Note (1): For Theta Vir : year2: from 2448732.7901 to 2448807.6543
*                          year3: from 2449008.9258 to 2449146.7282
*                          year4: from 2449335.0287 to 2449476.8279
*                          year5: from 2449736.0539 to 2449855.7760
*          For 109 Vir :   year2: from 2448679.9591 to 2448765.7706
*                          year3: from 2449009.9714 to 2449150.7427
*                          year4: from 2449412.8808 to 2449502.7557
*                          year5: from 2449746.9679 to 2449867.8048
*          For night averaged data:
*                          Per = HJD of the night of observation.
*                          Nyear4 : year 4 average 5 or more observations/night
*                          Nyear5 : average 5 or more observations/night

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

C  Loading file 'table2'	! uvby Photometry of Theta Vir

C  Format for file interpretation

    1 format(
     +  F12.4,3X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,
     +  2X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2')
      write(6,*) '....Loading file: table2'
      do i__=1,231
        read(1,'(A77)')ar__
        read(ar__,1)
     +  HJD(i__),u_v_c(i__),u_ch_c(i__),v_v_c(i__),v_ch_c(i__),
     +  b_v_c(i__),b_ch_c(i__),y_v_c(i__),y_ch_c(i__)
c    ..............Just test output...........
        write(6,1)
     +  HJD(i__),u_v_c(i__),u_ch_c(i__),v_v_c(i__),v_ch_c(i__),
     +  b_v_c(i__),b_ch_c(i__),y_v_c(i__),y_ch_c(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2b'	! Examination of Data on Nights for Theta Vir

C  Format for file interpretation

    2 format(
     +  F12.4,3X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,
     +  2X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2b')
      write(6,*) '....Loading file: table2b'
      do i__=1,64
        read(1,'(A77)')ar__1
        read(ar__1,2)
     +  HJD_1(i__),u_v_c_1(i__),u_ch_c_1(i__),v_v_c_1(i__),
     +  v_ch_c_1(i__),b_v_c_1(i__),b_ch_c_1(i__),y_v_c_1(i__),
     +  y_ch_c_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  HJD_1(i__),u_v_c_1(i__),u_ch_c_1(i__),v_v_c_1(i__),
     +  v_ch_c_1(i__),b_v_c_1(i__),b_ch_c_1(i__),y_v_c_1(i__),
     +  y_ch_c_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3'	! uvby Photometry of 109 Vir

C  Format for file interpretation

    3 format(
     +  F12.4,3X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,
     +  2X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3')
      write(6,*) '....Loading file: table3'
      do i__=1,380
        read(1,'(A77)')ar__2
        read(ar__2,3)
     +  HJD_2(i__),u_v_c_1(i__),u_ch_c_1(i__),v_v_c_1(i__),
     +  v_ch_c_1(i__),b_v_c_1(i__),b_ch_c_1(i__),y_v_c_1(i__),
     +  y_ch_c_1(i__)
c    ..............Just test output...........
        write(6,3)
     +  HJD_2(i__),u_v_c_1(i__),u_ch_c_1(i__),v_v_c_1(i__),
     +  v_ch_c_1(i__),b_v_c_1(i__),b_ch_c_1(i__),y_v_c_1(i__),
     +  y_ch_c_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3b'	! Examination of Data on Nights for 109 Vir

C  Format for file interpretation

    4 format(
     +  F12.4,3X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,
     +  2X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3b')
      write(6,*) '....Loading file: table3b'
      do i__=1,202
        read(1,'(A77)')ar__3
        read(ar__3,4)
     +  HJD_3(i__),u_v_c_1(i__),u_ch_c_1(i__),v_v_c_1(i__),
     +  v_ch_c_1(i__),b_v_c_1(i__),b_ch_c_1(i__),y_v_c_1(i__),
     +  y_ch_c_1(i__)
c    ..............Just test output...........
        write(6,4)
     +  HJD_3(i__),u_v_c_1(i__),u_ch_c_1(i__),v_v_c_1(i__),
     +  v_ch_c_1(i__),b_v_c_1(i__),b_ch_c_1(i__),y_v_c_1(i__),
     +  y_ch_c_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea'	! Averaged values

C  Format for file interpretation

    5 format(
     +  A9,1X,A10,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,
     +  F5.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F6.3,1X,F5.3,
     +  1X,F5.3,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea')
      write(6,*) '....Loading file: tablea'
      do i__=1,51
        read(1,'(A119)')ar__4
        read(ar__4,5)
     +  Star(i__),Per(i__),u_v_c_1(i__),e_u_v_c(i__),u_ch_c_1(i__),
     +  e_u_ch_c(i__),v_v_c_1(i__),e_v_v_c(i__),v_ch_c_1(i__),
     +  e_v_ch_c(i__),b_v_c_1(i__),e_b_v_c(i__),b_ch_c_1(i__),
     +  e_b_ch_c(i__),y_v_c_1(i__),e_y_v_c(i__),y_ch_c_1(i__),
     +  e_y_ch_c(i__)
        if(ar__4(28:32) .EQ. '') e_u_v_c(i__) = rNULL__
        if(ar__4(40:44) .EQ. '') e_u_ch_c(i__) = rNULL__
        if(ar__4(53:57) .EQ. '') e_v_v_c(i__) = rNULL__
        if(ar__4(65:69) .EQ. '') e_v_ch_c(i__) = rNULL__
        if(ar__4(78:82) .EQ. '') e_b_v_c(i__) = rNULL__
        if(ar__4(90:94) .EQ. '') e_b_ch_c(i__) = rNULL__
        if(ar__4(103:107) .EQ. '') e_y_v_c(i__) = rNULL__
        if(ar__4(115:119) .EQ. '') e_y_ch_c(i__) = rNULL__
c    ..............Just test output...........
        write(6,5)
     +  Star(i__),Per(i__),u_v_c_1(i__),e_u_v_c(i__),u_ch_c_1(i__),
     +  e_u_ch_c(i__),v_v_c_1(i__),e_v_v_c(i__),v_ch_c_1(i__),
     +  e_v_ch_c(i__),b_v_c_1(i__),e_b_v_c(i__),b_ch_c_1(i__),
     +  e_b_ch_c(i__),y_v_c_1(i__),e_y_v_c(i__),y_ch_c_1(i__),
     +  e_y_ch_c(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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