FORTRAN Generation
(/./ftp/cats/J/ApJ/715/1094)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/715/1094 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 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/ApJ/715/1094       Census of self-obscured massive stars         (Khan+, 2010)
*================================================================================
*Census of self-obscured massive stars in nearby galaxies with Spitzer:
*implications for understanding the progenitors of SN 2008S-like transients.
*    Khan R., Stanek K.Z., Prieto J.L., Kochanek C.S., Thompson T.A.,
*    Beacom J.F.
*   <Astrophys. J., 715, 1094-1108 (2010)>
*   =2010ApJ...715.1094K
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Photometry for the EAGBs in M33

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

C  J2000 position composed of: RAdeg DEdeg
      character*5   Gal         ! Galaxy name
      real*8        RAdeg       ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      character*1   l__3_6_     ! Limit flag on [3.6]
      real*4        v_3_6_      ! (mag) Spitzer/IRAC 3.6um magnitude
      real*4        v_4_5_      ! (mag) Spitzer/IRAC 4.5um magnitude
      character*1   l_Color     ! Limit flag on Color
      real*4        Color       ! (mag) Spitzer/IRAC [3.6]-[4.5] color index
      real*4        v_5_8_      ! (mag) ? Spitzer/IRAC 5.8um magnitude
      real*4        v_8_0_      ! (mag) ? Spitzer/IRAC 8.0um magnitude

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

C  Declarations for 'table2.dat'	! MIR catalog for 11241 point sources in NGC 300

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg_1     ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_1     ! (deg) Declination in decimal degrees (J2000)
      real*4        v_3_6__1    ! (mag) Spitzer/IRAC 3.6 micron band magnitude
      real*4        e__3_6_     ! (mag) The 1{sigma} uncertainty in [3.6]
      real*4        v_4_5__1    ! (mag) Spitzer/IRAC 4.5 micron band magnitude
      real*4        e__4_5_     ! (mag) The 1{sigma} uncertainty in [4.5]
      real*4        Color_1     ! (mag) Spitzer/IRAC [3.6]-[4.5] color index

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

C  Declarations for 'table3.dat'	! Photometry for the EAGBs in NGC 300

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

C  J2000 position composed of: RAdeg DEdeg
      character*5   Gal_1       ! Galaxy name
      real*8        RAdeg_2     ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg_2     ! (deg) Declination in decimal degrees (J2000)
      character*1   l__3_6__1   ! Limit flag on [3.6]
      real*4        v_3_6__2    ! (mag) Spitzer/IRAC 3.6um magnitude
      real*4        v_4_5__2    ! (mag) Spitzer/IRAC 4.5um magnitude
      character*1   l_Color_1   ! Limit flag on Color
      real*4        Color_2     ! (mag) Spitzer/IRAC [3.6]-[4.5] color index
      real*4        v_5_8__1    ! (mag) ? Spitzer/IRAC 5.8um magnitude
      real*4        v_8_0__1    ! (mag) ? Spitzer/IRAC 8.0um magnitude

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

C  Declarations for 'table4.dat'	! MIR catalog for 6021 point sources in M81

      integer*4 nr__3
      parameter (nr__3=6021)	! Number of records
      character*47 ar__3  	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg_3     ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_3     ! (deg) Declination in decimal degrees (J2000)
      real*4        v_3_6__3    ! (mag) Spitzer/IRAC 3.6 micron band magnitude
      real*4        e__3_6__1   ! (mag) The 1{sigma} uncertainty in [3.6]
      real*4        v_4_5__3    ! (mag) Spitzer/IRAC 4.5 micron band magnitude
      real*4        e__4_5__1   ! (mag) The 1{sigma} uncertainty in [4.5]
      real*4        Color_3     ! (mag) Spitzer/IRAC [3.6]-[4.5] color index

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

C  Declarations for 'table5.dat'	! Photometry for the EAGBs in M81

      integer*4 nr__4
      parameter (nr__4=39)	! Number of records
      character*58 ar__4  	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      character*5   Gal_2       ! Galaxy name
      real*8        RAdeg_4     ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg_4     ! (deg) Declination in decimal degrees (J2000)
      character*1   l__3_6__2   ! Limit flag on [3.6]
      real*4        v_3_6__4    ! (mag) Spitzer/IRAC 3.6um magnitude
      real*4        v_4_5__4    ! (mag) Spitzer/IRAC 4.5um magnitude
      character*1   l_Color_2   ! Limit flag on Color
      real*4        Color_4     ! (mag) Spitzer/IRAC [3.6]-[4.5] color index
      real*4        v_5_8__2    ! (mag) ? Spitzer/IRAC 5.8um magnitude
      real*4        v_8_0__2    ! (mag) ? Spitzer/IRAC 8.0um magnitude

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

C  Declarations for 'table6.dat'	! MIR catalog for 5601 point sources in NGC 6946

      integer*4 nr__5
      parameter (nr__5=5601)	! Number of records
      character*47 ar__5  	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg_5     ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_5     ! (deg) Declination in decimal degrees (J2000)
      real*4        v_3_6__5    ! (mag) Spitzer/IRAC 3.6 micron band magnitude
      real*4        e__3_6__2   ! (mag) The 1{sigma} uncertainty in [3.6]
      real*4        v_4_5__5    ! (mag) Spitzer/IRAC 4.5 micron band magnitude
      real*4        e__4_5__2   ! (mag) The 1{sigma} uncertainty in [4.5]
      real*4        Color_5     ! (mag) Spitzer/IRAC [3.6]-[4.5] color index

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

C  Declarations for 'table7.dat'	! Photometry for the EAGBs in NGC 6946

      integer*4 nr__6
      parameter (nr__6=30)	! Number of records
      character*58 ar__6  	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      character*5   Gal_3       ! Galaxy name
      real*8        RAdeg_6     ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg_6     ! (deg) Declination in decimal degrees (J2000)
      character*1   l__3_6__3   ! Limit flag on [3.6]
      real*4        v_3_6__6    ! (mag) Spitzer/IRAC 3.6um magnitude
      real*4        v_4_5__6    ! (mag) Spitzer/IRAC 4.5um magnitude
      character*1   l_Color_3   ! Limit flag on Color
      real*4        Color_6     ! (mag) Spitzer/IRAC [3.6]-[4.5] color index
      real*4        v_5_8__3    ! (mag) ? Spitzer/IRAC 5.8um magnitude
      real*4        v_8_0__3    ! (mag) ? Spitzer/IRAC 8.0um magnitude

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

C  Declarations for 'table8.dat'	! Photometry for the EAGBs in LMC and SMC

      integer*4 nr__7
      parameter (nr__7=10)	! Number of records
      character*58 ar__7  	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      character*5   Gal_4       ! Galaxy name
      real*8        RAdeg_7     ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg_7     ! (deg) Declination in decimal degrees (J2000)
      character*1   l__3_6__4   ! Limit flag on [3.6]
      real*4        v_3_6__7    ! (mag) Spitzer/IRAC 3.6um magnitude
      real*4        v_4_5__7    ! (mag) Spitzer/IRAC 4.5um magnitude
      character*1   l_Color_4   ! Limit flag on Color
      real*4        Color_7     ! (mag) Spitzer/IRAC [3.6]-[4.5] color index
      real*4        v_5_8__4    ! (mag) ? Spitzer/IRAC 5.8um magnitude
      real*4        v_8_0__4    ! (mag) ? Spitzer/IRAC 8.0um magnitude

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

C  Loading file 'table1.dat'	! Photometry for the EAGBs in M33

C  Format for file interpretation

    1 format(
     +  A5,1X,F10.6,1X,F10.6,1X,A1,F5.2,1X,F5.2,1X,A1,F4.2,1X,F5.2,1X,
     +  F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,20
        read(1,'(A58)')ar__
        read(ar__,1)
     +  Gal,RAdeg,DEdeg,l__3_6_,v_3_6_,v_4_5_,l_Color,Color,v_5_8_,
     +  v_8_0_
        if(ar__(48:52) .EQ. '') v_5_8_ = rNULL__
        if(ar__(54:58) .EQ. '') v_8_0_ = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Gal,RAdeg,DEdeg,l__3_6_,v_3_6_,v_4_5_,l_Color,Color,v_5_8_,
     +  v_8_0_
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! MIR catalog for 11241 point sources in NGC 300

C  Format for file interpretation

    2 format(F9.5,1X,F9.5,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,11241
        read(1,'(A47)')ar__1
        read(ar__1,2)
     +  RAdeg_1,DEdeg_1,v_3_6__1,e__3_6_,v_4_5__1,e__4_5_,Color_1
c    ..............Just test output...........
        write(6,2)
     +  RAdeg_1,DEdeg_1,v_3_6__1,e__3_6_,v_4_5__1,e__4_5_,Color_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Photometry for the EAGBs in NGC 300

C  Format for file interpretation

    3 format(
     +  A5,1X,F10.6,1X,F10.6,1X,A1,F5.2,1X,F5.2,1X,A1,F4.2,1X,F5.2,1X,
     +  F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,10
        read(1,'(A58)')ar__2
        read(ar__2,3)
     +  Gal_1,RAdeg_2,DEdeg_2,l__3_6__1,v_3_6__2,v_4_5__2,l_Color_1,
     +  Color_2,v_5_8__1,v_8_0__1
        if(ar__2(48:52) .EQ. '') v_5_8__1 = rNULL__
        if(ar__2(54:58) .EQ. '') v_8_0__1 = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  Gal_1,RAdeg_2,DEdeg_2,l__3_6__1,v_3_6__2,v_4_5__2,l_Color_1,
     +  Color_2,v_5_8__1,v_8_0__1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! MIR catalog for 6021 point sources in M81

C  Format for file interpretation

    4 format(F9.5,1X,F9.5,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,6021
        read(1,'(A47)')ar__3
        read(ar__3,4)
     +  RAdeg_3,DEdeg_3,v_3_6__3,e__3_6__1,v_4_5__3,e__4_5__1,Color_3
c    ..............Just test output...........
        write(6,4)
     +  RAdeg_3,DEdeg_3,v_3_6__3,e__3_6__1,v_4_5__3,e__4_5__1,Color_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! Photometry for the EAGBs in M81

C  Format for file interpretation

    5 format(
     +  A5,1X,F10.6,1X,F10.6,1X,A1,F5.2,1X,F5.2,1X,A1,F4.2,1X,F5.2,1X,
     +  F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,39
        read(1,'(A58)')ar__4
        read(ar__4,5)
     +  Gal_2,RAdeg_4,DEdeg_4,l__3_6__2,v_3_6__4,v_4_5__4,l_Color_2,
     +  Color_4,v_5_8__2,v_8_0__2
        if(ar__4(48:52) .EQ. '') v_5_8__2 = rNULL__
        if(ar__4(54:58) .EQ. '') v_8_0__2 = rNULL__
c    ..............Just test output...........
        write(6,5)
     +  Gal_2,RAdeg_4,DEdeg_4,l__3_6__2,v_3_6__4,v_4_5__4,l_Color_2,
     +  Color_4,v_5_8__2,v_8_0__2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! MIR catalog for 5601 point sources in NGC 6946

C  Format for file interpretation

    6 format(F9.5,1X,F9.5,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,5601
        read(1,'(A47)')ar__5
        read(ar__5,6)
     +  RAdeg_5,DEdeg_5,v_3_6__5,e__3_6__2,v_4_5__5,e__4_5__2,Color_5
c    ..............Just test output...........
        write(6,6)
     +  RAdeg_5,DEdeg_5,v_3_6__5,e__3_6__2,v_4_5__5,e__4_5__2,Color_5
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Photometry for the EAGBs in NGC 6946

C  Format for file interpretation

    7 format(
     +  A5,1X,F10.6,1X,F10.6,1X,A1,F5.2,1X,F5.2,1X,A1,F4.2,1X,F5.2,1X,
     +  F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,30
        read(1,'(A58)')ar__6
        read(ar__6,7)
     +  Gal_3,RAdeg_6,DEdeg_6,l__3_6__3,v_3_6__6,v_4_5__6,l_Color_3,
     +  Color_6,v_5_8__3,v_8_0__3
        if(ar__6(48:52) .EQ. '') v_5_8__3 = rNULL__
        if(ar__6(54:58) .EQ. '') v_8_0__3 = rNULL__
c    ..............Just test output...........
        write(6,7)
     +  Gal_3,RAdeg_6,DEdeg_6,l__3_6__3,v_3_6__6,v_4_5__6,l_Color_3,
     +  Color_6,v_5_8__3,v_8_0__3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8.dat'	! Photometry for the EAGBs in LMC and SMC

C  Format for file interpretation

    8 format(
     +  A5,1X,F10.6,1X,F10.6,1X,A1,F5.2,1X,F5.2,1X,A1,F4.2,1X,F5.2,1X,
     +  F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,10
        read(1,'(A58)')ar__7
        read(ar__7,8)
     +  Gal_4,RAdeg_7,DEdeg_7,l__3_6__4,v_3_6__7,v_4_5__7,l_Color_4,
     +  Color_7,v_5_8__4,v_8_0__4
        if(ar__7(48:52) .EQ. '') v_5_8__4 = rNULL__
        if(ar__7(54:58) .EQ. '') v_8_0__4 = rNULL__
c    ..............Just test output...........
        write(6,8)
     +  Gal_4,RAdeg_7,DEdeg_7,l__3_6__4,v_3_6__7,v_4_5__7,l_Color_4,
     +  Color_7,v_5_8__4,v_8_0__4
c    .......End.of.Just test output...........
      end do
      close(1)

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