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 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 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        (nr__) ! Notation for stars sorted after X and Y
      integer*4     No2        (nr__) ! ? Notation according to WEBDA
      real*8        Xpos       (nr__) ! (pix) X-coordinate
      real*8        Ypos       (nr__) ! (pix) Y-coordinate
      real*4        Vmag       (nr__) ! (mag) Mean V value
      real*4        B_V        (nr__) ! (mag) ? Mean B-V value (not in table6)
      real*4        amag       (nr__) ! (mag) Mean a index
      real*4        e_amag     (nr__) ! (mag) rms uncertainty on a
      real*4        g1_y       (nr__) ! (mag) Mean (g1-y) index
      real*4        e_g1_y     (nr__) ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y    (nr__) ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs        (nr__) ! 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      (nr__1) ! Notation for stars sorted after X and Y
      integer*4     No2_1      (nr__1) ! ? Notation according to WEBDA
      real*8        Xpos_1     (nr__1) ! (pix) X-coordinate
      real*8        Ypos_1     (nr__1) ! (pix) Y-coordinate
      real*4        Vmag_1     (nr__1) ! (mag) Mean V value
      real*4        B_V_1      (nr__1) ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_1     (nr__1) ! (mag) Mean a index
      real*4        e_amag_1   (nr__1) ! (mag) rms uncertainty on a
      real*4        g1_y_1     (nr__1) ! (mag) Mean (g1-y) index
      real*4        e_g1_y_1   (nr__1) ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1  (nr__1) ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_1      (nr__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      (nr__2) ! Notation for stars sorted after X and Y
      integer*4     No2_2      (nr__2) ! ? Notation according to WEBDA
      real*8        Xpos_2     (nr__2) ! (pix) X-coordinate
      real*8        Ypos_2     (nr__2) ! (pix) Y-coordinate
      real*4        Vmag_2     (nr__2) ! (mag) Mean V value
      real*4        B_V_2      (nr__2) ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_2     (nr__2) ! (mag) Mean a index
      real*4        e_amag_2   (nr__2) ! (mag) rms uncertainty on a
      real*4        g1_y_2     (nr__2) ! (mag) Mean (g1-y) index
      real*4        e_g1_y_2   (nr__2) ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1  (nr__2) ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_2      (nr__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      (nr__3) ! Notation for stars sorted after X and Y
      integer*4     No2_3      (nr__3) ! ? Notation according to WEBDA
      real*8        Xpos_3     (nr__3) ! (pix) X-coordinate
      real*8        Ypos_3     (nr__3) ! (pix) Y-coordinate
      real*4        Vmag_3     (nr__3) ! (mag) Mean V value
      real*4        B_V_3      (nr__3) ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_3     (nr__3) ! (mag) Mean a index
      real*4        e_amag_3   (nr__3) ! (mag) rms uncertainty on a
      real*4        g1_y_3     (nr__3) ! (mag) Mean (g1-y) index
      real*4        e_g1_y_3   (nr__3) ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1  (nr__3) ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_3      (nr__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      (nr__4) ! Notation for stars sorted after X and Y
      integer*4     No2_4      (nr__4) ! ? Notation according to WEBDA
      real*8        Xpos_4     (nr__4) ! (pix) X-coordinate
      real*8        Ypos_4     (nr__4) ! (pix) Y-coordinate
      real*4        Vmag_4     (nr__4) ! (mag) Mean V value
      real*4        B_V_4      (nr__4) ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_4     (nr__4) ! (mag) Mean a index
      real*4        e_amag_4   (nr__4) ! (mag) rms uncertainty on a
      real*4        g1_y_4     (nr__4) ! (mag) Mean (g1-y) index
      real*4        e_g1_y_4   (nr__4) ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1  (nr__4) ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_4      (nr__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      (nr__5) ! Notation for stars sorted after X and Y
      integer*4     No2_5      (nr__5) ! ? Notation according to WEBDA
      real*8        Xpos_5     (nr__5) ! (pix) X-coordinate
      real*8        Ypos_5     (nr__5) ! (pix) Y-coordinate
      real*4        Vmag_5     (nr__5) ! (mag) Mean V value
      real*4        B_V_5      (nr__5) ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_5     (nr__5) ! (mag) Mean a index
      real*4        e_amag_5   (nr__5) ! (mag) rms uncertainty on a
      real*4        g1_y_5     (nr__5) ! (mag) Mean (g1-y) index
      real*4        e_g1_y_5   (nr__5) ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1  (nr__5) ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_5      (nr__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      (nr__6) ! Notation for stars sorted after X and Y
      integer*4     No2_6      (nr__6) ! ? Notation according to WEBDA
      real*8        Xpos_6     (nr__6) ! (pix) X-coordinate
      real*8        Ypos_6     (nr__6) ! (pix) Y-coordinate
      real*4        Vmag_6     (nr__6) ! (mag) Mean V value
      real*4        B_V_6      (nr__6) ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_6     (nr__6) ! (mag) Mean a index
      real*4        e_amag_6   (nr__6) ! (mag) rms uncertainty on a
      real*4        g1_y_6     (nr__6) ! (mag) Mean (g1-y) index
      real*4        e_g1_y_6   (nr__6) ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1  (nr__6) ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_6      (nr__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      (nr__7) ! Notation for stars sorted after X and Y
      integer*4     No2_7      (nr__7) ! ? Notation according to WEBDA
      real*8        Xpos_7     (nr__7) ! (pix) X-coordinate
      real*8        Ypos_7     (nr__7) ! (pix) Y-coordinate
      real*4        Vmag_7     (nr__7) ! (mag) Mean V value
      real*4        B_V_7      (nr__7) ! (mag) ? Mean B-V value (not in table6)
      real*4        amag_7     (nr__7) ! (mag) Mean a index
      real*4        e_amag_7   (nr__7) ! (mag) rms uncertainty on a
      real*4        g1_y_7     (nr__7) ! (mag) Mean (g1-y) index
      real*4        e_g1_y_7   (nr__7) ! (mag) rms uncertainty on (g1-y)
      real*4        da_g1_y_1  (nr__7) ! (mag) ?=99.999 Deviation from cluster line (Delta a)
      integer*4     Obs_7      (nr__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(i__),No2(i__),Xpos(i__),Ypos(i__),Vmag(i__),B_V(i__),
     +  amag(i__),e_amag(i__),g1_y(i__),e_g1_y(i__),da_g1_y(i__),
     +  Obs(i__)
        if(ar__(8:13) .EQ. '') No2(i__) = iNULL__
        if(ar__(39:44) .EQ. '') B_V(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  No1(i__),No2(i__),Xpos(i__),Ypos(i__),Vmag(i__),B_V(i__),
     +  amag(i__),e_amag(i__),g1_y(i__),e_g1_y(i__),da_g1_y(i__),
     +  Obs(i__)
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(i__),No2_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),
     +  B_V_1(i__),amag_1(i__),e_amag_1(i__),g1_y_1(i__),
     +  e_g1_y_1(i__),da_g1_y_1(i__),Obs_1(i__)
        if(ar__1(8:13) .EQ. '') No2_1(i__) = iNULL__
        if(ar__1(39:44) .EQ. '') B_V_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  No1_1(i__),No2_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),
     +  B_V_1(i__),amag_1(i__),e_amag_1(i__),g1_y_1(i__),
     +  e_g1_y_1(i__),da_g1_y_1(i__),Obs_1(i__)
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(i__),No2_2(i__),Xpos_2(i__),Ypos_2(i__),Vmag_2(i__),
     +  B_V_2(i__),amag_2(i__),e_amag_2(i__),g1_y_2(i__),
     +  e_g1_y_2(i__),da_g1_y_1(i__),Obs_2(i__)
        if(ar__2(8:13) .EQ. '') No2_2(i__) = iNULL__
        if(ar__2(39:44) .EQ. '') B_V_2(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  No1_2(i__),No2_2(i__),Xpos_2(i__),Ypos_2(i__),Vmag_2(i__),
     +  B_V_2(i__),amag_2(i__),e_amag_2(i__),g1_y_2(i__),
     +  e_g1_y_2(i__),da_g1_y_1(i__),Obs_2(i__)
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(i__),No2_3(i__),Xpos_3(i__),Ypos_3(i__),Vmag_3(i__),
     +  B_V_3(i__),amag_3(i__),e_amag_3(i__),g1_y_3(i__),
     +  e_g1_y_3(i__),da_g1_y_1(i__),Obs_3(i__)
        if(ar__3(8:13) .EQ. '') No2_3(i__) = iNULL__
        if(ar__3(39:44) .EQ. '') B_V_3(i__) = rNULL__
c    ..............Just test output...........
        write(6,4)
     +  No1_3(i__),No2_3(i__),Xpos_3(i__),Ypos_3(i__),Vmag_3(i__),
     +  B_V_3(i__),amag_3(i__),e_amag_3(i__),g1_y_3(i__),
     +  e_g1_y_3(i__),da_g1_y_1(i__),Obs_3(i__)
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(i__),No2_4(i__),Xpos_4(i__),Ypos_4(i__),Vmag_4(i__),
     +  B_V_4(i__),amag_4(i__),e_amag_4(i__),g1_y_4(i__),
     +  e_g1_y_4(i__),da_g1_y_1(i__),Obs_4(i__)
        if(ar__4(8:13) .EQ. '') No2_4(i__) = iNULL__
        if(ar__4(39:44) .EQ. '') B_V_4(i__) = rNULL__
c    ..............Just test output...........
        write(6,5)
     +  No1_4(i__),No2_4(i__),Xpos_4(i__),Ypos_4(i__),Vmag_4(i__),
     +  B_V_4(i__),amag_4(i__),e_amag_4(i__),g1_y_4(i__),
     +  e_g1_y_4(i__),da_g1_y_1(i__),Obs_4(i__)
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(i__),No2_5(i__),Xpos_5(i__),Ypos_5(i__),Vmag_5(i__),
     +  B_V_5(i__),amag_5(i__),e_amag_5(i__),g1_y_5(i__),
     +  e_g1_y_5(i__),da_g1_y_1(i__),Obs_5(i__)
        if(ar__5(8:13) .EQ. '') No2_5(i__) = iNULL__
        if(ar__5(39:44) .EQ. '') B_V_5(i__) = rNULL__
c    ..............Just test output...........
        write(6,6)
     +  No1_5(i__),No2_5(i__),Xpos_5(i__),Ypos_5(i__),Vmag_5(i__),
     +  B_V_5(i__),amag_5(i__),e_amag_5(i__),g1_y_5(i__),
     +  e_g1_y_5(i__),da_g1_y_1(i__),Obs_5(i__)
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(i__),No2_6(i__),Xpos_6(i__),Ypos_6(i__),Vmag_6(i__),
     +  B_V_6(i__),amag_6(i__),e_amag_6(i__),g1_y_6(i__),
     +  e_g1_y_6(i__),da_g1_y_1(i__),Obs_6(i__)
        if(ar__6(8:13) .EQ. '') No2_6(i__) = iNULL__
        if(ar__6(39:44) .EQ. '') B_V_6(i__) = rNULL__
c    ..............Just test output...........
        write(6,7)
     +  No1_6(i__),No2_6(i__),Xpos_6(i__),Ypos_6(i__),Vmag_6(i__),
     +  B_V_6(i__),amag_6(i__),e_amag_6(i__),g1_y_6(i__),
     +  e_g1_y_6(i__),da_g1_y_1(i__),Obs_6(i__)
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(i__),No2_7(i__),Xpos_7(i__),Ypos_7(i__),Vmag_7(i__),
     +  B_V_7(i__),amag_7(i__),e_amag_7(i__),g1_y_7(i__),
     +  e_g1_y_7(i__),da_g1_y_1(i__),Obs_7(i__)
        if(ar__7(8:13) .EQ. '') No2_7(i__) = iNULL__
        if(ar__7(39:44) .EQ. '') B_V_7(i__) = rNULL__
c    ..............Just test output...........
        write(6,8)
     +  No1_7(i__),No2_7(i__),Xpos_7(i__),Ypos_7(i__),Vmag_7(i__),
     +  B_V_7(i__),amag_7(i__),e_amag_7(i__),g1_y_7(i__),
     +  e_g1_y_7(i__),da_g1_y_1(i__),Obs_7(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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