FORTRAN Generation
(/./ftp/cats/J/A_A/315/40)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/315/40 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.5, on 2013-May-22
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+A/315/40        Photometry of the Tuc dwarf galaxy         (Saviane, 1996)
*================================================================================
*CCD photometry of the Tucana dwarf galaxy
*     Saviane I., Held E.V., Piotto G
*    <Astron. Astrophys. 315, 40 (1996)>
*    =1996A&A...315...40S      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tuc'	! Coordinates and photometry of the stars

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

      integer*4     No         (nr__) ! Number of star
      real*8        Xpos       (nr__) ! (pix) X-coordinate of star
      real*8        Ypos       (nr__) ! (pix) Y-coordinate of star
      real*8        Imag       (nr__) ! (mag) Landolt I magnitude
      real*8        v_V_I      (nr__) ! (mag) Landolt (V-I) color

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

C  Loading file 'tuc'	! Coordinates and photometry of the stars

C  Format for file interpretation

    1 format(I9,F9.3,F9.3,F9.3,F9.3)

C  Effective file loading

      open(unit=1,file='tuc', status='old')
      write(6,*) '....Loading file: tuc'
      do i__=1,363
        read(1,'(A45)')ar__
        read(ar__,1)No(i__),Xpos(i__),Ypos(i__),Imag(i__),v_V_I(i__)
c    ..............Just test output...........
        write(6,1)No(i__),Xpos(i__),Ypos(i__),Imag(i__),v_V_I(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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