FORTRAN Generation
(/./ftp/cats/J/A_A/467/229)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/467/229 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.81 (2015-09-23), on 2024-Apr-19
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/467/229       UBV photometry of FK Com and HD 199178        (Panov+, 2007)
*================================================================================
*Long-term photometric study of FK Comae and HD 199178.
*    Panov K., Dimitrov D.
*   <Astron. Astrophys. 467, 229 (2007)>
*   =2007A&A...467..229P
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2a.dat'	! Summary of subsets for FK Com

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

      integer*4     SET         ! Subset number (1)
      real*8        JD1         ! (d) Julian Date of subset beginning
      real*8        JD2         ! (d) Julian Date of subset end
      integer*4     Ref         ! [1/9] Reference (2)
*Note (1): In table2a, Subset 1-57 from Jetsu et al. (1994a)
*Note (2): References as follows:
*      1 = Jetsu et al. (1994, Cat. <J/A+AS/103/183>)
*      2 = Jetsu et al. (1994, Cat. <J/A+A/282/L9>
*      3 = Heckert (1993IBVS.3954....1H)
*      4 = Strassmeier et al. (1997, Cat. <J/A+AS/125/11>)
*      5 = Korhonen et al. (2001, Cat. <J/A+A/374/1049>)
*      6 = Korhonen et al. (2002, Cat. <J/A+A/390/179>)
*      7 = Rozhen observations
*      8 = Jetsu et al. (1999, Cat. <J/A+AS/139/513>)
*      9 = Strassmeier et al. (1999A&A...347..212S)

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

C  Declarations for 'table2b.dat'	! Summary of subsets for HD 199178

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

      integer*4     SET_1       ! Subset number (1)
      real*8        JD1_1       ! (d) Julian Date of subset beginning
      real*8        JD2_1       ! (d) Julian Date of subset end
      integer*4     Ref_1       ! [1/9] Reference (2)
*Note (1): In table2a, Subset 1-57 from Jetsu et al. (1994a)
*Note (2): References as follows:
*      1 = Jetsu et al. (1994, Cat. <J/A+AS/103/183>)
*      2 = Jetsu et al. (1994, Cat. <J/A+A/282/L9>
*      3 = Heckert (1993IBVS.3954....1H)
*      4 = Strassmeier et al. (1997, Cat. <J/A+AS/125/11>)
*      5 = Korhonen et al. (2001, Cat. <J/A+A/374/1049>)
*      6 = Korhonen et al. (2002, Cat. <J/A+A/390/179>)
*      7 = Rozhen observations
*      8 = Jetsu et al. (1999, Cat. <J/A+AS/139/513>)
*      9 = Strassmeier et al. (1999A&A...347..212S)

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

C  Declarations for 'table3a.dat'	! *UBV data for FK Com

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

      real*8        JD          ! (d) Julian Date
      real*4        Vmag        ! (mag) ?=99.0 V magnitude in Johnson system
      real*4        Bmag        ! (mag) ?=99.0 B magnitude in Johnson system
      real*4        Umag        ! (mag) ?=99.0 U magnitude in Johnson system
      real*4        e_Vmag      ! (mag) ?=99.0 error in Vmag
      real*4        e_Bmag      ! (mag) ?=99.0 error in Bmag
      real*4        e_Umag      ! (mag) ?=99.0 error in Umag

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

C  Declarations for 'table3b.dat'	! *UBV data for HD 199178

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

      real*8        JD_1        ! (d) Julian Date
      real*4        Vmag_1      ! (mag) ?=99.0 V magnitude in Johnson system
      real*4        Bmag_1      ! (mag) ?=99.0 B magnitude in Johnson system
      real*4        Umag_1      ! (mag) ?=99.0 U magnitude in Johnson system
      real*4        e_Vmag_1    ! (mag) ?=99.0 error in Vmag
      real*4        e_Bmag_1    ! (mag) ?=99.0 error in Bmag
      real*4        e_Umag_1    ! (mag) ?=99.0 error in Umag

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

C  Declarations for 'table5a.dat'	! The results of the modelling for FK Com

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

      integer*4     SET_2       ! Subset number
      real*8        Year        ! (yr) Average observing time
      real*4        Vmin        ! (mag) Minimum brightness in V
      real*4        Vmax        ! (mag) Maximum brightness in V
      real*4        Vmean       ! (mag) Mean brightness in V
      real*4        AVmag       ! (mag) Amplitude of rotational modulation in V
      real*8        JDmin       ! (d) Julian date of minimum brightness
      real*4        Phase       ! Phase of minimum brightness
      real*4        Long1       ! (deg) Longitude of Spot1
      real*4        Lat1        ! (deg) Latitude of Spot1
      real*4        Size1       ! (deg) Size of Spot1
      real*4        Long2       ! (deg) Longitude of Spot2
      real*4        Lat2        ! (deg) Latitude of Spot2
      real*4        Size2       ! (deg) Size of Spot2
      real*4        Long3       ! (deg) Longitude of Spot3
      real*4        Lat3        ! (deg) Latitude of Spot3
      real*4        Size3       ! (deg) Size of Spot3
      real*4        Sigma       ! Standard deviation of residuals

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

C  Declarations for 'table5b.dat'	! The results of the modelling for HD 199178

      integer*4 nr__5
      parameter (nr__5=148)	! Number of records
      character*113 ar__5  	! Full-size record

      integer*4     SET_3       ! Subset number
      real*8        Year_1      ! (yr) Average observing time
      real*4        Vmin_1      ! (mag) Minimum brightness in V
      real*4        Vmax_1      ! (mag) Maximum brightness in V
      real*4        Vmean_1     ! (mag) Mean brightness in V
      real*4        AVmag_1     ! (mag) Amplitude of rotational modulation in V
      real*8        JDmin_1     ! (d) Julian date of minimum brightness
      real*4        Phase_1     ! Phase of minimum brightness
      real*4        Long1_1     ! (deg) Longitude of Spot1
      real*4        Lat1_1      ! (deg) Latitude of Spot1
      real*4        Size1_1     ! (deg) Size of Spot1
      real*4        Long2_1     ! (deg) Longitude of Spot2
      real*4        Lat2_1      ! (deg) Latitude of Spot2
      real*4        Size2_1     ! (deg) Size of Spot2
      real*4        Long3_1     ! (deg) Longitude of Spot3
      real*4        Lat3_1      ! (deg) Latitude of Spot3
      real*4        Size3_1     ! (deg) Size of Spot3
      real*4        Sigma_1     ! Standard deviation of residuals

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

C  Loading file 'table2a.dat'	! Summary of subsets for FK Com

C  Format for file interpretation

    1 format(I3,1X,F11.3,1X,F11.3,2X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2a.dat')
      write(6,*) '....Loading file: table2a.dat'
      do i__=1,120
        read(1,'(A30)')ar__
        read(ar__,1)SET,JD1,JD2,Ref
c    ..............Just test output...........
        write(6,1)SET,JD1,JD2,Ref
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2b.dat'	! Summary of subsets for HD 199178

C  Format for file interpretation

    2 format(I3,1X,F11.3,1X,F11.3,2X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2b.dat')
      write(6,*) '....Loading file: table2b.dat'
      do i__=1,169
        read(1,'(A30)')ar__1
        read(ar__1,2)SET_1,JD1_1,JD2_1,Ref_1
c    ..............Just test output...........
        write(6,2)SET_1,JD1_1,JD2_1,Ref_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3a.dat'	! *UBV data for FK Com

C  Format for file interpretation

    3 format(F12.4,2X,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=
     +'table3a.dat')
      write(6,*) '....Loading file: table3a.dat'
      do i__=1,547
        read(1,'(A55)')ar__2
        read(ar__2,3)JD,Vmag,Bmag,Umag,e_Vmag,e_Bmag,e_Umag
c    ..............Just test output...........
        write(6,3)JD,Vmag,Bmag,Umag,e_Vmag,e_Bmag,e_Umag
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3b.dat'	! *UBV data for HD 199178

C  Format for file interpretation

    4 format(F12.4,2X,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=
     +'table3b.dat')
      write(6,*) '....Loading file: table3b.dat'
      do i__=1,242
        read(1,'(A55)')ar__3
        read(ar__3,4)
     +  JD_1,Vmag_1,Bmag_1,Umag_1,e_Vmag_1,e_Bmag_1,e_Umag_1
c    ..............Just test output...........
        write(6,4)
     +  JD_1,Vmag_1,Bmag_1,Umag_1,e_Vmag_1,e_Bmag_1,e_Umag_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5a.dat'	! The results of the modelling for FK Com

C  Format for file interpretation

    5 format(
     +  I3,1X,F7.2,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F11.3,1X,F4.2,
     +  1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,
     +  F5.1,1X,F5.1,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5a.dat')
      write(6,*) '....Loading file: table5a.dat'
      do i__=1,162
        read(1,'(A113)')ar__4
        read(ar__4,5)
     +  SET_2,Year,Vmin,Vmax,Vmean,AVmag,JDmin,Phase,Long1,Lat1,Size1,
     +  Long2,Lat2,Size2,Long3,Lat3,Size3,Sigma
c    ..............Just test output...........
        write(6,5)
     +  SET_2,Year,Vmin,Vmax,Vmean,AVmag,JDmin,Phase,Long1,Lat1,Size1,
     +  Long2,Lat2,Size2,Long3,Lat3,Size3,Sigma
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5b.dat'	! The results of the modelling for HD 199178

C  Format for file interpretation

    6 format(
     +  I3,1X,F7.2,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F11.3,1X,F4.2,
     +  1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,
     +  F5.1,1X,F5.1,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5b.dat')
      write(6,*) '....Loading file: table5b.dat'
      do i__=1,148
        read(1,'(A113)')ar__5
        read(ar__5,6)
     +  SET_3,Year_1,Vmin_1,Vmax_1,Vmean_1,AVmag_1,JDmin_1,Phase_1,
     +  Long1_1,Lat1_1,Size1_1,Long2_1,Lat2_1,Size2_1,Long3_1,Lat3_1,
     +  Size3_1,Sigma_1
c    ..............Just test output...........
        write(6,6)
     +  SET_3,Year_1,Vmin_1,Vmax_1,Vmean_1,AVmag_1,JDmin_1,Phase_1,
     +  Long1_1,Lat1_1,Size1_1,Long2_1,Lat2_1,Size2_1,Long3_1,Lat3_1,
     +  Size3_1,Sigma_1
c    .......End.of.Just test output...........
      end do
      close(1)

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