FORTRAN Generation
(/./ftp/cats/J/MNRAS/360/655)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/360/655 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-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/MNRAS/360/655     BVI photometry of 3 open clusters          (Carraro+, 2005)
*================================================================================
*The intermediate-age open clusters Ruprecht 4, Ruprecht 7 and Pismis 15.
*    Carraro G., Geisler D., Baume G., Vazquez R., Moitinho A.
*   <Mon. Not. R. Astron. Soc., 360, 655-661 (2005)>
*   =2005MNRAS.360..655C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'rup7.dat'	! BVI photometry of Ruprecht 7

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

      integer*4     Seq        (nr__) ! Sequential number
      real*8        Xpos       (nr__) ! (pix) X position
      real*8        Ypos       (nr__) ! (pix) Y position
      real*8        Bmag       (nr__) ! (mag) ?=99.9999 Johnson B magnitude
      real*4        e_Bmag     (nr__) ! (mag) ?=9.9999 rms uncertainty on Bmag
      real*8        Vmag       (nr__) ! (mag) ?=99.9999 Johnson V magnitude
      real*4        e_Vmag     (nr__) ! (mag) ?=9.9990 rms uncertainty on Vmag
      real*8        Icmag      (nr__) ! (mag) ?=99.9999 Cousins I magnitude
      real*4        e_Icmag    (nr__) ! (mag) ?=9.9999 rms uncertainty on Icmag

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

C  Declarations for 'pismis15.dat'	! BVI photometry of Pismis 15

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

      integer*4     Seq_1      (nr__1) ! Sequential number
      real*8        Xpos_1     (nr__1) ! (pix) X position
      real*8        Ypos_1     (nr__1) ! (pix) Y position
      real*8        Bmag_1     (nr__1) ! (mag) ?=99.9999 Johnson B magnitude
      real*4        e_Bmag_1   (nr__1) ! (mag) ?=9.9999 rms uncertainty on Bmag
      real*8        Vmag_1     (nr__1) ! (mag) ?=99.9999 Johnson V magnitude
      real*4        e_Vmag_1   (nr__1) ! (mag) ?=9.9990 rms uncertainty on Vmag
      real*8        Icmag_1    (nr__1) ! (mag) ?=99.9999 Cousins I magnitude
      real*4        e_Icmag_1  (nr__1) ! (mag) ?=9.9999 rms uncertainty on Icmag

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

C  Declarations for 'rup4.dat'	! BVI photometry of Ruprecht 4

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

      integer*4     Seq_2      (nr__2) ! Sequential number
      real*8        Xpos_2     (nr__2) ! (pix) X position
      real*8        Ypos_2     (nr__2) ! (pix) Y position
      real*8        Bmag_2     (nr__2) ! (mag) ?=99.9999 Johnson B magnitude
      real*4        e_Bmag_2   (nr__2) ! (mag) ?=9.9999 rms uncertainty on Bmag
      real*8        Vmag_2     (nr__2) ! (mag) ?=99.9999 Johnson V magnitude
      real*4        e_Vmag_2   (nr__2) ! (mag) ?=9.9990 rms uncertainty on Vmag
      real*8        Icmag_2    (nr__2) ! (mag) ?=99.9999 Cousins I magnitude
      real*4        e_Icmag_2  (nr__2) ! (mag) ?=9.9999 rms uncertainty on Icmag

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

C  Loading file 'rup7.dat'	! BVI photometry of Ruprecht 7

C  Format for file interpretation

    1 format(
     +  I4,1X,F7.3,1X,F7.3,1X,F7.4,1X,F6.4,1X,F7.4,1X,F6.4,1X,F7.4,1X,
     +  F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'rup7.dat')
      write(6,*) '....Loading file: rup7.dat'
      do i__=1,769
        read(1,'(A65)')ar__
        read(ar__,1)
     +  Seq(i__),Xpos(i__),Ypos(i__),Bmag(i__),e_Bmag(i__),Vmag(i__),
     +  e_Vmag(i__),Icmag(i__),e_Icmag(i__)
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),Xpos(i__),Ypos(i__),Bmag(i__),e_Bmag(i__),Vmag(i__),
     +  e_Vmag(i__),Icmag(i__),e_Icmag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'pismis15.dat'	! BVI photometry of Pismis 15

C  Format for file interpretation

    2 format(
     +  I4,1X,F7.3,1X,F7.3,1X,F7.4,1X,F6.4,1X,F7.4,1X,F6.4,1X,F7.4,1X,
     +  F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'pismis15.dat')
      write(6,*) '....Loading file: pismis15.dat'
      do i__=1,1007
        read(1,'(A65)')ar__1
        read(ar__1,2)
     +  Seq_1(i__),Xpos_1(i__),Ypos_1(i__),Bmag_1(i__),e_Bmag_1(i__),
     +  Vmag_1(i__),e_Vmag_1(i__),Icmag_1(i__),e_Icmag_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Seq_1(i__),Xpos_1(i__),Ypos_1(i__),Bmag_1(i__),e_Bmag_1(i__),
     +  Vmag_1(i__),e_Vmag_1(i__),Icmag_1(i__),e_Icmag_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'rup4.dat'	! BVI photometry of Ruprecht 4

C  Format for file interpretation

    3 format(
     +  I4,1X,F7.3,1X,F7.3,1X,F7.4,1X,F6.4,1X,F7.4,1X,F6.4,1X,F7.4,1X,
     +  F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'rup4.dat')
      write(6,*) '....Loading file: rup4.dat'
      do i__=1,953
        read(1,'(A65)')ar__2
        read(ar__2,3)
     +  Seq_2(i__),Xpos_2(i__),Ypos_2(i__),Bmag_2(i__),e_Bmag_2(i__),
     +  Vmag_2(i__),e_Vmag_2(i__),Icmag_2(i__),e_Icmag_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  Seq_2(i__),Xpos_2(i__),Ypos_2(i__),Bmag_2(i__),e_Bmag_2(i__),
     +  Vmag_2(i__),e_Vmag_2(i__),Icmag_2(i__),e_Icmag_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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