FORTRAN Generation
(/./ftp/cats/J/A_AS/128/245)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/128/245 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/128/245      Photometry of chemically peculiar stars (Adelman+ 1998)
*================================================================================
*uvby photometry of the chemically peculiar stars
*AR Aurigae, 3 Hydrae, 49 Cancri, and BX Boo
*       Adelman S.J.
*      <Astron. Astrophys. Suppl. Ser. 128, 245 (1998)>
*      =1998A&AS..128..245A      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Photometry of AR Aur

      integer*4 nr__
      parameter (nr__=45)	! Number of records
      character*68 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        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        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        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 'table3.dat'	! Photometry of 3 Hya

      integer*4 nr__1
      parameter (nr__1=122)	! Number of records
      character*68 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        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        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        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 'table4.dat'	! Photometry of 49 Cnc

      integer*4 nr__2
      parameter (nr__2=100)	! Number of records
      character*68 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        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        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        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 'table5.dat'	! Photometry of BX Boo

      integer*4 nr__3
      parameter (nr__3=157)	! Number of records
      character*68 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        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        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        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.dat'	! Average values

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

      character*6   Name       (nr__4) ! Star name
      character*7   Per        (nr__4) ! Period considered (in the form 1990-91)
      character*12  Note       (nr__4) ! Note on period
      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 u(v-c)
      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 u(ch-c)
      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(v-c)
      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 v(ch-c)
      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 b(v-c)
      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 b(ch-c)
      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 y(v-c)
      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 y(ch-c)

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

C  Loading file 'table2.dat'	! Photometry of AR Aur

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,45
        read(1,'(A68)')ar__
        read(ar__,1)
     +  HJD(i__),u_v_c(i__),u_ch_c(i__),b_v_c(i__),b_ch_c(i__),
     +  v_v_c(i__),v_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__),b_v_c(i__),b_ch_c(i__),
     +  v_v_c(i__),v_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 'table3.dat'	! Photometry of 3 Hya

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,122
        read(1,'(A68)')ar__1
        read(ar__1,2)
     +  HJD_1(i__),u_v_c_1(i__),u_ch_c_1(i__),b_v_c_1(i__),
     +  b_ch_c_1(i__),v_v_c_1(i__),v_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__),b_v_c_1(i__),
     +  b_ch_c_1(i__),v_v_c_1(i__),v_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 'table4.dat'	! Photometry of 49 Cnc

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,100
        read(1,'(A68)')ar__2
        read(ar__2,3)
     +  HJD_2(i__),u_v_c_1(i__),u_ch_c_1(i__),b_v_c_1(i__),
     +  b_ch_c_1(i__),v_v_c_1(i__),v_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__),b_v_c_1(i__),
     +  b_ch_c_1(i__),v_v_c_1(i__),v_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 'table5.dat'	! Photometry of BX Boo

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,157
        read(1,'(A68)')ar__3
        read(ar__3,4)
     +  HJD_3(i__),u_v_c_1(i__),u_ch_c_1(i__),b_v_c_1(i__),
     +  b_ch_c_1(i__),v_v_c_1(i__),v_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__),b_v_c_1(i__),
     +  b_ch_c_1(i__),v_v_c_1(i__),v_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.dat'	! Average values

C  Format for file interpretation

    5 format(
     +  A6,1X,A7,1X,A12,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
     +  F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,
     +  1X,F5.3,1X,F6.3,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea.dat')
      write(6,*) '....Loading file: tablea.dat'
      do i__=1,21
        read(1,'(A131)')ar__4
        read(ar__4,5)
     +  Name(i__),Per(i__),Note(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(36:40) .EQ. '') e_u_v_c(i__) = rNULL__
        if(ar__4(49:53) .EQ. '') e_u_ch_c(i__) = rNULL__
        if(ar__4(62:66) .EQ. '') e_v_v_c(i__) = rNULL__
        if(ar__4(75:79) .EQ. '') e_v_ch_c(i__) = rNULL__
        if(ar__4(88:92) .EQ. '') e_b_v_c(i__) = rNULL__
        if(ar__4(101:105) .EQ. '') e_b_ch_c(i__) = rNULL__
        if(ar__4(114:118) .EQ. '') e_y_v_c(i__) = rNULL__
        if(ar__4(127:131) .EQ. '') e_y_ch_c(i__) = rNULL__
c    ..............Just test output...........
        write(6,5)
     +  Name(i__),Per(i__),Note(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