FORTRAN Generation
(/./ftp/cats/J/ApJ/452/238)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/452/238 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.81 (2015-09-23), on 2026-May-17
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/ApJ/452/238             HST photometry of I Zw 18 massive stars (Hunter+ 1995)
*================================================================================
*The Massive Stars of I Zw 18 as Seen in Hubble Space Telescope Images
*     Hunter  H.A., Thronson H.A.
*    <Astrophys. J. 452, 238 (1995)>
*    =1995ApJ...452..238H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! The photometry

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

      integer*4     Star        ! Star identification number
      real*4        Xpos        ! (pix) *X pixel coordinate
      real*4        Ypos        ! (pix) *Y pixel coordinate
      real*4        F336W       ! (mag) []?=100.00 F336W magnitude
      real*4        e_F336W     ! (mag) []?=100.00 F336W magnitude uncertainty
      real*4        F555W       ! (mag) []?=100.00 F555W magnitude
      real*4        e_F555W     ! (mag) []?=100.00 F555W magnitude uncertainty
      real*4        F814W       ! (mag) []?=100.00 F814W magnitude
      real*4        e_F814W     ! (mag) []?=100.00 F814W magnitude uncertainty
      real*8        F336W_F555W ! (mag) []?=100.00 F336W-F555W color
      real*8        e_F336W_F555W ! (mag) []?=100.00 F336W-F555W color uncertainty
      real*8        F555W_F814W ! (mag) []?=100.00 F555W-F814W color
      real*8        e_F555W_F814W ! (mag) []?=100.00 F555W-F814W color uncertainty
*Note on Xpos, Ypos:
*  The X,Y coordinates are those in the F555W image, and the coordinate
*  system is indicated in Figure 2 of the printed paper.

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

C  Loading file 'table2.dat'	! The photometry

C  Format for file interpretation

    1 format(
     +  I6,1X,F6.1,1X,F6.1,1X,F6.2,1X,F6.2,1X,F6.2,1X,F6.2,1X,F6.2,1X,
     +  F6.2,1X,F8.2,1X,F8.2,1X,F8.2,1X,F8.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,398
        read(1,'(A98)')ar__
        read(ar__,1)
     +  Star,Xpos,Ypos,F336W,e_F336W,F555W,e_F555W,F814W,e_F814W,
     +  F336W_F555W,e_F336W_F555W,F555W_F814W,e_F555W_F814W
c    ..............Just test output...........
        write(6,1)
     +  Star,Xpos,Ypos,F336W,e_F336W,F555W,e_F555W,F814W,e_F814W,
     +  F336W_F555W,e_F336W_F555W,F555W_F814W,e_F555W_F814W
c    .......End.of.Just test output...........
      end do
      close(1)

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