FORTRAN Generation
(/./ftp/cats/J/A_A/454/171)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/454/171 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 2026-Aug-15
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/454/171  CCD {Delta}a-photometry of 8 open clusters    (Paunzen+, 2006)
*================================================================================
*CCD photometric search for peculiar stars in open clusters.
*VII. Berkeley 11, Berkeley 94, Haffner 15, Lynga 1, NGC 6031, NGC 6405,
*NGC 6834 and Ruprecht 130.
*    Paunzen E., Netopil M., Iliev I.K., Maitzen H.M., Claret A., Pintado O.I.
*   <Astron. Astrophys., 454, 171-178 (2006)>
*   =2006A&A...454..171P
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table5.dat'	! Observed program stars of Berkeley 11

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

      integer*4     No1         ! Notation for stars sorted after X and Y
      integer*4     No2         ! ? Notation according to WEBDA
      real*8        Xpos        ! (pix) X-coordinate
      real*8        Ypos        ! (pix) Y-coordinate
      real*4        Vmag        ! (mag) Mean V value
      real*4        B_V         ! (mag) ? Mean B-V value (not in table6)
      real*4        amag        ! (mag) Mean a index
      real*4        e_amag      ! (mag) rms uncertainty on a
      real*4        g1_y        ! (mag) Mean (g1-y) index
      real*4        e_g1_y      ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y     ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs         ! Number of observations

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

C  Declarations for 'table6.dat'	! Observed program stars of Berkeley 94

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

      integer*4     No1_1       ! Notation for stars sorted after X and Y
      integer*4     No2_1       ! ? Notation according to WEBDA
      real*8        Xpos_1      ! (pix) X-coordinate
      real*8        Ypos_1      ! (pix) Y-coordinate
      real*4        Vmag_1      ! (mag) Mean V value
      real*4        B_V_1       ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_1      ! (mag) Mean a index
      real*4        e_amag_1    ! (mag) rms uncertainty on a
      real*4        g1_y_1      ! (mag) Mean (g1-y) index
      real*4        e_g1_y_1    ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1   ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_1       ! Number of observations

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

C  Declarations for 'table7.dat'	! Observed program stars of Haffner 15

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

      integer*4     No1_2       ! Notation for stars sorted after X and Y
      integer*4     No2_2       ! ? Notation according to WEBDA
      real*8        Xpos_2      ! (pix) X-coordinate
      real*8        Ypos_2      ! (pix) Y-coordinate
      real*4        Vmag_2      ! (mag) Mean V value
      real*4        B_V_2       ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_2      ! (mag) Mean a index
      real*4        e_amag_2    ! (mag) rms uncertainty on a
      real*4        g1_y_2      ! (mag) Mean (g1-y) index
      real*4        e_g1_y_2    ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1   ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_2       ! Number of observations

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

C  Declarations for 'table8.dat'	! Observed program stars of Lynga 1

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

      integer*4     No1_3       ! Notation for stars sorted after X and Y
      integer*4     No2_3       ! ? Notation according to WEBDA
      real*8        Xpos_3      ! (pix) X-coordinate
      real*8        Ypos_3      ! (pix) Y-coordinate
      real*4        Vmag_3      ! (mag) Mean V value
      real*4        B_V_3       ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_3      ! (mag) Mean a index
      real*4        e_amag_3    ! (mag) rms uncertainty on a
      real*4        g1_y_3      ! (mag) Mean (g1-y) index
      real*4        e_g1_y_3    ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1   ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_3       ! Number of observations

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

C  Declarations for 'table9.dat'	! Observed program stars of NGC 6031

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

      integer*4     No1_4       ! Notation for stars sorted after X and Y
      integer*4     No2_4       ! ? Notation according to WEBDA
      real*8        Xpos_4      ! (pix) X-coordinate
      real*8        Ypos_4      ! (pix) Y-coordinate
      real*4        Vmag_4      ! (mag) Mean V value
      real*4        B_V_4       ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_4      ! (mag) Mean a index
      real*4        e_amag_4    ! (mag) rms uncertainty on a
      real*4        g1_y_4      ! (mag) Mean (g1-y) index
      real*4        e_g1_y_4    ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1   ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_4       ! Number of observations

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

C  Declarations for 'table10.dat'	! Observed program stars of NGC 6405

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

      integer*4     No1_5       ! Notation for stars sorted after X and Y
      integer*4     No2_5       ! ? Notation according to WEBDA
      real*8        Xpos_5      ! (pix) X-coordinate
      real*8        Ypos_5      ! (pix) Y-coordinate
      real*4        Vmag_5      ! (mag) Mean V value
      real*4        B_V_5       ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_5      ! (mag) Mean a index
      real*4        e_amag_5    ! (mag) rms uncertainty on a
      real*4        g1_y_5      ! (mag) Mean (g1-y) index
      real*4        e_g1_y_5    ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1   ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_5       ! Number of observations

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

C  Declarations for 'table11.dat'	! Observed program stars of NGC 6834

      integer*4 nr__6
      parameter (nr__6=251)	! Number of records
      character*83 ar__6  	! Full-size record

      integer*4     No1_6       ! Notation for stars sorted after X and Y
      integer*4     No2_6       ! ? Notation according to WEBDA
      real*8        Xpos_6      ! (pix) X-coordinate
      real*8        Ypos_6      ! (pix) Y-coordinate
      real*4        Vmag_6      ! (mag) Mean V value
      real*4        B_V_6       ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_6      ! (mag) Mean a index
      real*4        e_amag_6    ! (mag) rms uncertainty on a
      real*4        g1_y_6      ! (mag) Mean (g1-y) index
      real*4        e_g1_y_6    ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1   ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_6       ! Number of observations

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

C  Declarations for 'table12.dat'	! Observed program stars of Ruprecht 130

      integer*4 nr__7
      parameter (nr__7=295)	! Number of records
      character*83 ar__7  	! Full-size record

      integer*4     No1_7       ! Notation for stars sorted after X and Y
      integer*4     No2_7       ! ? Notation according to WEBDA
      real*8        Xpos_7      ! (pix) X-coordinate
      real*8        Ypos_7      ! (pix) Y-coordinate
      real*4        Vmag_7      ! (mag) Mean V value
      real*4        B_V_7       ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_7      ! (mag) Mean a index
      real*4        e_amag_7    ! (mag) rms uncertainty on a
      real*4        g1_y_7      ! (mag) Mean (g1-y) index
      real*4        e_g1_y_7    ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1   ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_7       ! Number of observations

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

C  Loading file 'table5.dat'	! Observed program stars of Berkeley 11

C  Format for file interpretation

    1 format(
     +  I6,1X,I6,1X,F7.1,1X,F7.1,3X,F5.2,1X,F6.3,2X,F6.3,1X,F5.3,2X,
     +  F6.3,1X,F5.3,2X,F6.3,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,66
        read(1,'(A83)')ar__
        read(ar__,1)
     +  No1,No2,Xpos,Ypos,Vmag,B_V,amag,e_amag,g1_y,e_g1_y,da_g1_y,Obs
        if(ar__(8:13) .EQ. '') No2 = iNULL__
        if(ar__(39:44) .EQ. '') B_V = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  No1,No2,Xpos,Ypos,Vmag,B_V,amag,e_amag,g1_y,e_g1_y,da_g1_y,Obs
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Observed program stars of Berkeley 94

C  Format for file interpretation

    2 format(
     +  I6,1X,I6,1X,F7.1,1X,F7.1,3X,F5.2,1X,F6.3,2X,F6.3,1X,F5.3,2X,
     +  F6.3,1X,F5.3,2X,F6.3,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,115
        read(1,'(A83)')ar__1
        read(ar__1,2)
     +  No1_1,No2_1,Xpos_1,Ypos_1,Vmag_1,B_V_1,amag_1,e_amag_1,g1_y_1,
     +  e_g1_y_1,da_g1_y_1,Obs_1
        if(ar__1(8:13) .EQ. '') No2_1 = iNULL__
        if(ar__1(39:44) .EQ. '') B_V_1 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  No1_1,No2_1,Xpos_1,Ypos_1,Vmag_1,B_V_1,amag_1,e_amag_1,g1_y_1,
     +  e_g1_y_1,da_g1_y_1,Obs_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Observed program stars of Haffner 15

C  Format for file interpretation

    3 format(
     +  I6,1X,I6,1X,F7.1,1X,F7.1,3X,F5.2,1X,F6.3,2X,F6.3,1X,F5.3,2X,
     +  F6.3,1X,F5.3,2X,F6.3,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,329
        read(1,'(A83)')ar__2
        read(ar__2,3)
     +  No1_2,No2_2,Xpos_2,Ypos_2,Vmag_2,B_V_2,amag_2,e_amag_2,g1_y_2,
     +  e_g1_y_2,da_g1_y_1,Obs_2
        if(ar__2(8:13) .EQ. '') No2_2 = iNULL__
        if(ar__2(39:44) .EQ. '') B_V_2 = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  No1_2,No2_2,Xpos_2,Ypos_2,Vmag_2,B_V_2,amag_2,e_amag_2,g1_y_2,
     +  e_g1_y_2,da_g1_y_1,Obs_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8.dat'	! Observed program stars of Lynga 1

C  Format for file interpretation

    4 format(
     +  I6,1X,I6,1X,F7.1,1X,F7.1,3X,F5.2,1X,F6.3,2X,F6.3,1X,F5.3,2X,
     +  F6.3,1X,F5.3,2X,F6.3,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,166
        read(1,'(A83)')ar__3
        read(ar__3,4)
     +  No1_3,No2_3,Xpos_3,Ypos_3,Vmag_3,B_V_3,amag_3,e_amag_3,g1_y_3,
     +  e_g1_y_3,da_g1_y_1,Obs_3
        if(ar__3(8:13) .EQ. '') No2_3 = iNULL__
        if(ar__3(39:44) .EQ. '') B_V_3 = rNULL__
c    ..............Just test output...........
        write(6,4)
     +  No1_3,No2_3,Xpos_3,Ypos_3,Vmag_3,B_V_3,amag_3,e_amag_3,g1_y_3,
     +  e_g1_y_3,da_g1_y_1,Obs_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table9.dat'	! Observed program stars of NGC 6031

C  Format for file interpretation

    5 format(
     +  I6,1X,I6,1X,F7.1,1X,F7.1,3X,F5.2,1X,F6.3,2X,F6.3,1X,F5.3,2X,
     +  F6.3,1X,F5.3,2X,F6.3,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,243
        read(1,'(A83)')ar__4
        read(ar__4,5)
     +  No1_4,No2_4,Xpos_4,Ypos_4,Vmag_4,B_V_4,amag_4,e_amag_4,g1_y_4,
     +  e_g1_y_4,da_g1_y_1,Obs_4
        if(ar__4(8:13) .EQ. '') No2_4 = iNULL__
        if(ar__4(39:44) .EQ. '') B_V_4 = rNULL__
c    ..............Just test output...........
        write(6,5)
     +  No1_4,No2_4,Xpos_4,Ypos_4,Vmag_4,B_V_4,amag_4,e_amag_4,g1_y_4,
     +  e_g1_y_4,da_g1_y_1,Obs_4
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table10.dat'	! Observed program stars of NGC 6405

C  Format for file interpretation

    6 format(
     +  I6,1X,I6,1X,F7.1,1X,F7.1,3X,F5.2,1X,F6.3,2X,F6.3,1X,F5.3,2X,
     +  F6.3,1X,F5.3,2X,F6.3,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10.dat')
      write(6,*) '....Loading file: table10.dat'
      do i__=1,167
        read(1,'(A83)')ar__5
        read(ar__5,6)
     +  No1_5,No2_5,Xpos_5,Ypos_5,Vmag_5,B_V_5,amag_5,e_amag_5,g1_y_5,
     +  e_g1_y_5,da_g1_y_1,Obs_5
        if(ar__5(8:13) .EQ. '') No2_5 = iNULL__
        if(ar__5(39:44) .EQ. '') B_V_5 = rNULL__
c    ..............Just test output...........
        write(6,6)
     +  No1_5,No2_5,Xpos_5,Ypos_5,Vmag_5,B_V_5,amag_5,e_amag_5,g1_y_5,
     +  e_g1_y_5,da_g1_y_1,Obs_5
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table11.dat'	! Observed program stars of NGC 6834

C  Format for file interpretation

    7 format(
     +  I6,1X,I6,1X,F7.1,1X,F7.1,3X,F5.2,1X,F6.3,2X,F6.3,1X,F5.3,2X,
     +  F6.3,1X,F5.3,2X,F6.3,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table11.dat')
      write(6,*) '....Loading file: table11.dat'
      do i__=1,251
        read(1,'(A83)')ar__6
        read(ar__6,7)
     +  No1_6,No2_6,Xpos_6,Ypos_6,Vmag_6,B_V_6,amag_6,e_amag_6,g1_y_6,
     +  e_g1_y_6,da_g1_y_1,Obs_6
        if(ar__6(8:13) .EQ. '') No2_6 = iNULL__
        if(ar__6(39:44) .EQ. '') B_V_6 = rNULL__
c    ..............Just test output...........
        write(6,7)
     +  No1_6,No2_6,Xpos_6,Ypos_6,Vmag_6,B_V_6,amag_6,e_amag_6,g1_y_6,
     +  e_g1_y_6,da_g1_y_1,Obs_6
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table12.dat'	! Observed program stars of Ruprecht 130

C  Format for file interpretation

    8 format(
     +  I6,1X,I6,1X,F7.1,1X,F7.1,3X,F5.2,1X,F6.3,2X,F6.3,1X,F5.3,2X,
     +  F6.3,1X,F5.3,2X,F6.3,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table12.dat')
      write(6,*) '....Loading file: table12.dat'
      do i__=1,295
        read(1,'(A83)')ar__7
        read(ar__7,8)
     +  No1_7,No2_7,Xpos_7,Ypos_7,Vmag_7,B_V_7,amag_7,e_amag_7,g1_y_7,
     +  e_g1_y_7,da_g1_y_1,Obs_7
        if(ar__7(8:13) .EQ. '') No2_7 = iNULL__
        if(ar__7(39:44) .EQ. '') B_V_7 = rNULL__
c    ..............Just test output...........
        write(6,8)
     +  No1_7,No2_7,Xpos_7,Ypos_7,Vmag_7,B_V_7,amag_7,e_amag_7,g1_y_7,
     +  e_g1_y_7,da_g1_y_1,Obs_7
c    .......End.of.Just test output...........
      end do
      close(1)

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