FORTRAN Generation
(/./ftp/cats/J/A_A/428/67)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/428/67 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-Mar-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/428/67  UBVRI mag of 3 Open Cluster Remnants candidates (Villanova+, 2004)
*================================================================================
*NGC 5385, NGC 2664 and Collinder 21: three candidate Open Cluster Remnants.
*    Villanova S., Carraro G., de la Fuente Marcos R., Stagni R.
*   <Astron. Astrophys. 428, 67 (2004)>
*   =2004A&A...428...67V
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Photometry of NGC 5385

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

      integer*4     Seq        (nr__) ! Sequential number
      real*8        Xpos       (nr__) ! (pix) X coordinates (1)
      real*8        Ypos       (nr__) ! (pix) Y coordinates (1)
      real*8        Vmag       (nr__) ! (mag) ?=99.9999 V band magnitude
      real*8        e_Vmag     (nr__) ! (mag) ?=99.9999 error in Vmag
      real*8        B_V        (nr__) ! (mag) ?=99.9999 (B-V) color index
      real*8        e_B_V      (nr__) ! (mag) ?=99.9999 error in (B-V)
      real*8        U_B        (nr__) ! (mag) ?=99.9999 (U-B) color index
      real*8        e_U_B      (nr__) ! (mag) ?=99.9999 error in (U-B)
      real*8        V_I        (nr__) ! (mag) ?=99.9999 (V-I) color index
      real*8        e_V_I      (nr__) ! (mag) ?=99.9999 error in (V-I)
*Note (1): The center is in (500.0,500.0) pixel. The scale is 0.473"/pix.
*     East is toward negative X, South toward negative Y.

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

C  Declarations for 'table2.dat'	! Photometry of NGC 2664

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

      integer*4     Seq_1      (nr__1) ! Sequential number
      real*8        Xpos_1     (nr__1) ! (pix) X coordinates (1)
      real*8        Ypos_1     (nr__1) ! (pix) Y coordinates (1)
      real*8        Vmag_1     (nr__1) ! (mag) ?=99.9999 V band magnitude
      real*8        e_Vmag_1   (nr__1) ! (mag) ?=99.9999 error in Vmag
      real*8        B_V_1      (nr__1) ! (mag) ?=99.9999 (B-V) color index
      real*8        e_B_V_1    (nr__1) ! (mag) ?=99.9999 error in (B-V)
      real*8        U_B_1      (nr__1) ! (mag) ?=99.9999 (U-B) color index
      real*8        e_U_B_1    (nr__1) ! (mag) ?=99.9999 error in (U-B)
      real*8        V_I_1      (nr__1) ! (mag) ?=99.9999 (V-I) color index
      real*8        e_V_I_1    (nr__1) ! (mag) ?=99.9999 error in (V-I)
*Note (1): The center is in (500.0,500.0) pixel. The scale is 0.473"/pix.
*     East is toward negative X, South toward negative Y.

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

C  Declarations for 'table3.dat'	! Photometry of Collinder 21

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

      integer*4     Seq_2      (nr__2) ! Sequential number
      real*8        Xpos_2     (nr__2) ! (pix) X coordinates (1)
      real*8        Ypos_2     (nr__2) ! (pix) Y coordinates (1)
      real*8        Vmag_2     (nr__2) ! (mag) ?=99.9999 V band magnitude
      real*8        e_Vmag_2   (nr__2) ! (mag) ?=99.9999 error in Vmag
      real*8        B_V_2      (nr__2) ! (mag) ?=99.9999 (B-V) color index
      real*8        e_B_V_2    (nr__2) ! (mag) ?=99.9999 error in (B-V)
      real*8        U_B_2      (nr__2) ! (mag) ?=99.9999 (U-B) color index
      real*8        e_U_B_2    (nr__2) ! (mag) ?=99.9999 error in (U-B)
      real*8        V_I_2      (nr__2) ! (mag) ?=99.9999 (V-I) color index
      real*8        e_V_I_2    (nr__2) ! (mag) ?=99.9999 error in (V-I)
*Note (1): The center is in (500.0,500.0) pixel. The scale is 0.473"/pix.
*     East is toward negative X, South toward negative Y.

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

C  Loading file 'table1.dat'	! Photometry of NGC 5385

C  Format for file interpretation

    1 format(
     +  I3,2X,F8.3,2X,F8.3,3X,F7.4,3X,F7.4,3X,F7.4,3X,F7.4,3X,F7.4,3X,
     +  F7.4,3X,F7.4,3X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,43
        read(1,'(A103)')ar__
        read(ar__,1)
     +  Seq(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),B_V(i__),
     +  e_B_V(i__),U_B(i__),e_U_B(i__),V_I(i__),e_V_I(i__)
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),B_V(i__),
     +  e_B_V(i__),U_B(i__),e_U_B(i__),V_I(i__),e_V_I(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Photometry of NGC 2664

C  Format for file interpretation

    2 format(
     +  I3,2X,F8.3,2X,F8.3,3X,F7.4,3X,F7.4,3X,F7.4,3X,F7.4,3X,F7.4,3X,
     +  F7.4,3X,F7.4,3X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,64
        read(1,'(A103)')ar__1
        read(ar__1,2)
     +  Seq_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),e_Vmag_1(i__),
     +  B_V_1(i__),e_B_V_1(i__),U_B_1(i__),e_U_B_1(i__),V_I_1(i__),
     +  e_V_I_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Seq_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),e_Vmag_1(i__),
     +  B_V_1(i__),e_B_V_1(i__),U_B_1(i__),e_U_B_1(i__),V_I_1(i__),
     +  e_V_I_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Photometry of Collinder 21

C  Format for file interpretation

    3 format(
     +  I3,2X,F8.3,2X,F8.3,3X,F7.4,3X,F7.4,3X,F7.4,3X,F7.4,3X,F7.4,3X,
     +  F7.4,3X,F7.4,3X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,52
        read(1,'(A103)')ar__2
        read(ar__2,3)
     +  Seq_2(i__),Xpos_2(i__),Ypos_2(i__),Vmag_2(i__),e_Vmag_2(i__),
     +  B_V_2(i__),e_B_V_2(i__),U_B_2(i__),e_U_B_2(i__),V_I_2(i__),
     +  e_V_I_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  Seq_2(i__),Xpos_2(i__),Ypos_2(i__),Vmag_2(i__),e_Vmag_2(i__),
     +  B_V_2(i__),e_B_V_2(i__),U_B_2(i__),e_U_B_2(i__),V_I_2(i__),
     +  e_V_I_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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