FORTRAN Generation
(/./ftp/cats/J/A_A/435/1099)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/435/1099 into FORTRAN code for reading data files line by line.

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.5, on 2013-Jun-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__
ter  (rNULL__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/A+A/435/1099      ubvy photometry of 4 magnetic CP stars     (Adelman+, 2005)
*================================================================================
*FCAPT photometry of the mCP stars HD 32633, theta Aur, 49 Cam, and 3 Hya.
*    Adelman S.J., Kaewkornmaugh P.
*   <Astron. Astrophys. 435, 1099 (2005)>
*   =2005A&A...435.1099A
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! HD 32633 Photometry

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

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

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

C  Declarations for 'table3.dat'	! theta Aur Photometry

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

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

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

C  Declarations for 'table4.dat'	! 49 Cam Photometry

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

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

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

C  Declarations for 'table5.dat'	! 3 Hya Photometry

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

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

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

C  Declarations for 'tablea.dat'	! Average photometry

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

      integer*4     Table       ! [2-5] Table number with detailed photometry
      character*9   Name        ! Star name
      integer*4     Year1       ! (yr) Period of observation
      integer*4     Year2       ! (yr) Period of observation
      real*4        u_v_c_1     ! (mag) Variable-comparison (v-c) u magnitude
      real*4        e_u_v_c     ! (mag) rms uncertainty on u(v-c)
      real*4        u_ch_c_1    ! (mag) Check-comparison (ch-c) u magnitude
      real*4        e_u_ch_c    ! (mag) rms uncertainty on u(ch-c)
      real*4        v_v_c_1     ! (mag) Variable-comparison (v-c) v magnitude
      real*4        e_v_v_c     ! (mag) rms uncertainty on v(v-c)
      real*4        v_ch_c_1    ! (mag) Check-comparison (ch-c) v magnitude
      real*4        e_v_ch_c    ! (mag) rms uncertainty on v(ch-c)
      real*4        b_v_c_1     ! (mag) Variable-comparison (v-c) b magnitude
      real*4        e_b_v_c     ! (mag) rms uncertainty on b(v-c)
      real*4        b_ch_c_1    ! (mag) Check-comparison (ch-c) b magnitude
      real*4        e_b_ch_c    ! (mag) rms uncertainty on b(ch-c)
      real*4        y_v_c_1     ! (mag) Variable-comparison (v-c) y magnitude
      real*4        e_y_v_c     ! (mag) rms uncertainty on y(v-c)
      real*4        y_ch_c_1    ! (mag) Check-comparison (ch-c) y magnitude
      real*4        e_y_ch_c    ! (mag) rms uncertainty on y(ch-c)

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

C  Loading file 'table2.dat'	! HD 32633 Photometry

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,file='table2.dat', status='old')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,77
        read(1,'(A68)')ar__
        read(ar__,1)
     +  HJD,u_v_c,u_ch_c,v_v_c,v_ch_c,b_v_c,b_ch_c,y_v_c,y_ch_c
c    ..............Just test output...........
        write(6,1)
     +  HJD,u_v_c,u_ch_c,v_v_c,v_ch_c,b_v_c,b_ch_c,y_v_c,y_ch_c
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! theta Aur Photometry

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,file='table3.dat', status='old')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,69
        read(1,'(A80)')ar__1
        read(ar__1,2)
     +  HJD_1,u_v_c_1,u_ch_c_1,v_v_c_1,v_ch_c_1,b_v_c_1,b_ch_c_1,
     +  y_v_c_1,y_ch_c_1
c    ..............Just test output...........
        write(6,2)
     +  HJD_1,u_v_c_1,u_ch_c_1,v_v_c_1,v_ch_c_1,b_v_c_1,b_ch_c_1,
     +  y_v_c_1,y_ch_c_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! 49 Cam Photometry

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,file='table4.dat', status='old')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,74
        read(1,'(A68)')ar__2
        read(ar__2,3)
     +  HJD_2,u_v_c_1,u_ch_c_1,v_v_c_1,v_ch_c_1,b_v_c_1,b_ch_c_1,
     +  y_v_c_1,y_ch_c_1
c    ..............Just test output...........
        write(6,3)
     +  HJD_2,u_v_c_1,u_ch_c_1,v_v_c_1,v_ch_c_1,b_v_c_1,b_ch_c_1,
     +  y_v_c_1,y_ch_c_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! 3 Hya Photometry

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,file='table5.dat', status='old')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,55
        read(1,'(A68)')ar__3
        read(ar__3,4)
     +  HJD_3,u_v_c_1,u_ch_c_1,v_v_c_1,v_ch_c_1,b_v_c_1,b_ch_c_1,
     +  y_v_c_1,y_ch_c_1
c    ..............Just test output...........
        write(6,4)
     +  HJD_3,u_v_c_1,u_ch_c_1,v_v_c_1,v_ch_c_1,b_v_c_1,b_ch_c_1,
     +  y_v_c_1,y_ch_c_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea.dat'	! Average photometry

C  Format for file interpretation

    5 format(
     +  I1,1X,A9,1X,I4,1X,I4,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,file='tablea.dat', status='old')
      write(6,*) '....Loading file: tablea.dat'
      do i__=1,5
        read(1,'(A125)')ar__4
        read(ar__4,5)
     +  Table,Name,Year1,Year2,u_v_c_1,e_u_v_c,u_ch_c_1,e_u_ch_c,
     +  v_v_c_1,e_v_v_c,v_ch_c_1,e_v_ch_c,b_v_c_1,e_b_v_c,b_ch_c_1,
     +  e_b_ch_c,y_v_c_1,e_y_v_c,y_ch_c_1,e_y_ch_c
c    ..............Just test output...........
        write(6,5)
     +  Table,Name,Year1,Year2,u_v_c_1,e_u_v_c,u_ch_c_1,e_u_ch_c,
     +  v_v_c_1,e_v_v_c,v_ch_c_1,e_v_ch_c,b_v_c_1,e_b_v_c,b_ch_c_1,
     +  e_b_ch_c,y_v_c_1,e_y_v_c,y_ch_c_1,e_y_ch_c
c    .......End.of.Just test output...........
      end do
      close(1)

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