FORTRAN Generation
(/./ftp/cats/J/A_AS/109/1)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/109/1 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.5, on 2013-May-24
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__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/A+AS/109/1           CCD photometry of globular clusters      (Richtler, 1995)
*================================================================================
*CCD photometry of the globular clusters NGC 6496, NGC 6624, and NGC 6637
*         RICHTLER T.
*      <Astron. Astrophys. Suppl. Ser. 109, 1 (1995)>
*      =1995A&AS..109....1R      (SIMBAD/NED Reference)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table6'	! NGC 6496

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

      integer*4     Seq         ! Sequence
      real*8        X           ! (pix) X position
      real*4        Y           ! (pix) Y position
      real*4        Vmag        ! (mag) V magnitude
      real*4        e_Vmag      ! (mag) rms uncertainty on V
      real*4        B_V         ! (mag) B-V colour
      real*4        e_B_V       ! (mag) rms uncertainty on B-V

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

C  Declarations for 'table7'	! NGC 6624

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

      integer*4     Seq_1       ! Sequence
      real*8        X_1         ! (pix) X position
      real*4        Y_1         ! (pix) Y position
      real*4        Vmag_1      ! (mag) V magnitude
      real*4        e_Vmag_1    ! (mag) rms uncertainty on V
      real*4        B_V_1       ! (mag) B-V colour
      real*4        e_B_V_1     ! (mag) rms uncertainty on B-V

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

C  Declarations for 'table8'	! NGC 6637

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

      integer*4     Seq_2       ! Sequence
      real*8        X_2         ! (pix) X position
      real*4        Y_2         ! (pix) Y position
      real*4        Vmag_2      ! (mag) V magnitude
      real*4        e_Vmag_2    ! (mag) rms uncertainty on V
      real*4        B_V_2       ! (mag) B-V colour
      real*4        e_B_V_2     ! (mag) rms uncertainty on B-V

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

C  Loading file 'table6'	! NGC 6496

C  Format for file interpretation

    1 format(6X,I3,2X,F7.2,3X,F6.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,file='table6', status='old')
      write(6,*) '....Loading file: table6'
      do i__=1,157
        read(1,'(A54)')ar__
        read(ar__,1)Seq,X,Y,Vmag,e_Vmag,B_V,e_B_V
c    ..............Just test output...........
        write(6,1)Seq,X,Y,Vmag,e_Vmag,B_V,e_B_V
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7'	! NGC 6624

C  Format for file interpretation

    2 format(6X,I3,2X,F7.2,3X,F6.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,file='table7', status='old')
      write(6,*) '....Loading file: table7'
      do i__=1,617
        read(1,'(A54)')ar__1
        read(ar__1,2)Seq_1,X_1,Y_1,Vmag_1,e_Vmag_1,B_V_1,e_B_V_1
c    ..............Just test output...........
        write(6,2)Seq_1,X_1,Y_1,Vmag_1,e_Vmag_1,B_V_1,e_B_V_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8'	! NGC 6637

C  Format for file interpretation

    3 format(6X,I3,2X,F7.2,3X,F6.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,file='table8', status='old')
      write(6,*) '....Loading file: table8'
      do i__=1,632
        read(1,'(A54)')ar__2
        read(ar__2,3)Seq_2,X_2,Y_2,Vmag_2,e_Vmag_2,B_V_2,e_B_V_2
c    ..............Just test output...........
        write(6,3)Seq_2,X_2,Y_2,Vmag_2,e_Vmag_2,B_V_2,e_B_V_2
c    .......End.of.Just test output...........
      end do
      close(1)

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