FORTRAN Generation
(/./ftp/cats/J/ApJ/653/675)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/653/675 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-Mar-28
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/653/675    Spitzer 24{mu}m photometry of A dwarfs              (Su+, 2006)
*================================================================================
*Debris disk evolution around A stars.
*    Su K.Y.L., Rieke G.H., Stansberry J.A., Bryden G., Stapelfeldt K.R.,
*    Trilling D.E., Muzerolle J., Beichman C.A., Moro-Martin A., Hines D.C.,
*    Werner M.W.
*   <Astrophys. J., 653, 675-689 (2006)>
*   =2006ApJ...653..675S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Sample of stars and MIPS measurements

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

      character*8   Name       (nr__) ! Source name
      character*1   n_Name     (nr__) ! [de] Note: d = Herbig Ae/Be star, x = Be star
      character*33  AOR        (nr__) ! The Spitzer observation AOR key(s)
      character*8   SpType     (nr__) ! MK spectral type
      real*4        Dist       (nr__) ! (pc) Distance
      character*11  Loc        (nr__) ! The Cluster/Moving Group source locate in
      integer*4     Age        (nr__) ! (Myr) Source age (2)
      character*1   n_Age      (nr__) ! [f] Young star (2)
      character*8   r_Age      (nr__) ! Reference(s) on Age, in refs.dat file
      real*8        F24        (nr__) ! (mJy) ? Spitzer/MIPS 24 micron flux density
      real*4        e_F24      (nr__) ! (mJy) ? Uncertainty in F24um
      real*4        S_N24      (nr__) ! ? Signal-to-noise ratio of F24um
      real*8        R24        (nr__) ! ? The 24 micron Excess Ratio (4)
      character*3   IRE24      (nr__) ! Infrared excess at 24 microns? (5)
      character*1   n_IRE24    (nr__) ! [s] star disregarded having 24um excess due 
*                                      to low excess significance ({chi}_24_<3)
      character*1   l_F70      (nr__) ! The 3{sigma} limit flag on F70um
      real*8        F70        (nr__) ! (mJy) ? Spitzer/MIPS 70 micron flux density
      real*8        e_F70      (nr__) ! (mJy) ? Uncertainty in F70um
      real*4        S_N70      (nr__) ! ? Signal-to-noise ratio of F70um
      real*8        R70        (nr__) ! ? The 70 micron Excess Ratio (4)
      character*3   IRE70      (nr__) ! Infrared excess at 70 microns? (5)
*Note (2): Age is set to 0 for the young stars that are below the ZAMS
*          on the Herzsprung-Russel diagram
*Note (4): Ratio of measured flux density to expected photospheric flux density.
*Note (5): IR excess is classified using the 3-{sigma} criteria excess
*    higher than 1.06 at 24um and 1.55 at 70um:
*    YES = having an infrared excess
*     NO = being detected but with no excess above the 3{sigma} confidence level
*    UPL = having only an upper limit.

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

C  Declarations for 'table2.dat'	! Information on the additional IRAS stars

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

      character*8   Name_1     (nr__1) ! Name
      real*4        Ksmag      (nr__1) ! (mag) 2MASS Ks magnitude
      integer*4     Age_1      (nr__1) ! (Myr) Age (1)
      character*6   SpType_1   (nr__1) ! MK spectral type
      real*4        F25        (nr__1) ! (Jy) Flux at 25um
      real*4        R25        (nr__1) ! Ratio between measured flux and predicted flux
*                                   based on Ks-[24]color at 25um
      real*4        F60        (nr__1) ! (Jy) Flux at 60um
      real*4        R60        (nr__1) ! Ratio between measured flux and predicted flux
*                                   based on Ks-[24]color at 60um
      real*4        e_R60      (nr__1) ! rms uncertainty on R60um
      real*4        chi60      (nr__1) ! Significance of excess emission at 60um, i.e.
*                                   (R60um-1)/e_R60um
      real*4        U60        (nr__1) ! 2{sigma} upper limit on R60um, i.e.,
*                                   R60+2e_R60um
*Note (1): Reference for age used can be found in Rieke et al.
*          (2005, Cat. J/ApJ/620/1010).

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

C  Declarations for 'refs.dat'	! References

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

      integer*4     Ref        (nr__2) ! Reference number
      character*19  BibCode    (nr__2) ! BibCode
      character*19  Aut        (nr__2) ! Author's name

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

C  Loading file 'table1.dat'	! Sample of stars and MIPS measurements

C  Format for file interpretation

    1 format(
     +  A8,1X,A1,1X,A33,A8,1X,F5.1,1X,A11,1X,I3,1X,A1,1X,A8,1X,F7.2,
     +  1X,F6.2,1X,F6.2,1X,F7.3,1X,A3,1X,A1,1X,A1,F8.2,1X,F7.2,1X,
     +  F6.2,1X,F7.3,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,160
        read(1,'(A158)')ar__
        read(ar__,1)
     +  Name(i__),n_Name(i__),AOR(i__),SpType(i__),Dist(i__),Loc(i__),
     +  Age(i__),n_Age(i__),r_Age(i__),F24(i__),e_F24(i__),S_N24(i__),
     +  R24(i__),IRE24(i__),n_IRE24(i__),l_F70(i__),F70(i__),
     +  e_F70(i__),S_N70(i__),R70(i__),IRE70(i__)
        if(ar__(87:93) .EQ. '') F24(i__) = rNULL__
        if(ar__(95:100) .EQ. '') e_F24(i__) = rNULL__
        if(ar__(102:107) .EQ. '') S_N24(i__) = rNULL__
        if(ar__(109:115) .EQ. '') R24(i__) = rNULL__
        if(ar__(124:131) .EQ. '') F70(i__) = rNULL__
        if(ar__(133:139) .EQ. '') e_F70(i__) = rNULL__
        if(ar__(141:146) .EQ. '') S_N70(i__) = rNULL__
        if(ar__(148:154) .EQ. '') R70(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),n_Name(i__),AOR(i__),SpType(i__),Dist(i__),Loc(i__),
     +  Age(i__),n_Age(i__),r_Age(i__),F24(i__),e_F24(i__),S_N24(i__),
     +  R24(i__),IRE24(i__),n_IRE24(i__),l_F70(i__),F70(i__),
     +  e_F70(i__),S_N70(i__),R70(i__),IRE70(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Information on the additional IRAS stars

C  Format for file interpretation

    2 format(
     +  A8,1X,F4.2,1X,I3,1X,A6,2X,F5.3,1X,F5.3,1X,F5.3,1X,F5.2,1X,
     +  F4.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,19
        read(1,'(A65)')ar__1
        read(ar__1,2)
     +  Name_1(i__),Ksmag(i__),Age_1(i__),SpType_1(i__),F25(i__),
     +  R25(i__),F60(i__),R60(i__),e_R60(i__),chi60(i__),U60(i__)
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),Ksmag(i__),Age_1(i__),SpType_1(i__),F25(i__),
     +  R25(i__),F60(i__),R60(i__),e_R60(i__),chi60(i__),U60(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'refs.dat'	! References

C  Format for file interpretation

    3 format(I2,1X,A19,1X,A19)

C  Effective file loading

      open(unit=1,status='old',file=
     +'refs.dat')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,23
        read(1,'(A42)')ar__2
        read(ar__2,3)Ref(i__),BibCode(i__),Aut(i__)
c    ..............Just test output...........
        write(6,3)Ref(i__),BibCode(i__),Aut(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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