FORTRAN Generation
(/./ftp/cats/J/ApJ/613/312)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/613/312 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-Mar-29
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/613/312  Synthetic Lick indices of alpha-enhanced stars (Franchini+, 2004)
*================================================================================
*Synthetic Lick indices and detection of {alpha}-enhanced stars.
*II. F, G, and K stars in the -1.0 < [Fe/H] < +0.50 range.
*    Franchini M., Morossi C., Di Marcantonio P., Malagnini M.L., Chavez M.,
*    Rodriguez-Merino L.
*   <Astrophys. J., 613, 312-321 (2004)>
*   =2004ApJ...613..312F
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Detection of {alpha}-enhanced candidate stars

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

      integer*4     HD          ! The HD number
      character*9   SpType      ! SIMBAD MK spectral type
      real*4        v_Fe_H_     ! ([Sun]) Log of the Fe/H number abundance
      real*4        e__Fe_H_    ! ([Sun]) Error in [Fe/H]
      character*1   LC          ! [dg]Luminosity code (1)
      character*4   Cananea     ! The Cananea classification (2)
      character*4   STELIB      ! The STELIB classification (2)
      character*4   ELODIE      ! The ELODIE classification (2)
      character*4   Worthey     ! The Worthey classification (2)
      character*1   Class       ! Star classification  with respect to
*                                  {alpha}-enhancement (3)
*Note (1): Type code:
*    d =  dwarf;
*    g = giant.
*Note (2):
*    In the following 4 character wide columns we indicate the presence of
*    the star in each data-set and its classification with respect to
*    {alpha}-enhancement in each of the four index-index diagrams. The
*    capital letter "Y" is used for bona fide {alpha}-enhanced candidates
*    and the capital letter "N" is used for SSA (solar-scaled abundance)
*    candidates. The stars marked with "////" are too cool to be compared
*    with our SSA and NSSA (non-SSA) grids; their low temperatures are
*    inferred from the position of the observed points in the diagrams and
*    confirmed by looking at data in Taylor (2003, Cat. <J/A+A/398/721>)
*    and by using temperature estimates from broad-band photometry.
*Note (3): Star classification with respect to {alpha}-enhancement as follows:
*    ? = No classification achieved;
*    S = Classified as SSA (solar-scaled abundance);
*    A = Classified as {alpha}-enhanced;
*    C = Contradictory case (HD 43318 and HD 198149: it is very likely that
*        in both cases the discrepancy can be attributed to observational
*        problems).

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

C  Loading file 'table2.dat'	! Detection of {alpha}-enhanced candidate stars

C  Format for file interpretation

    1 format(
     +  I6,1X,A9,1X,F6.3,1X,F5.3,1X,A1,1X,A4,1X,A4,1X,A4,1X,A4,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,402
        read(1,'(A53)')ar__
        read(ar__,1)
     +  HD,SpType,v_Fe_H_,e__Fe_H_,LC,Cananea,STELIB,ELODIE,Worthey,
     +  Class
c    ..............Just test output...........
        write(6,1)
     +  HD,SpType,v_Fe_H_,e__Fe_H_,LC,Cananea,STELIB,ELODIE,Worthey,
     +  Class
c    .......End.of.Just test output...........
      end do
      close(1)

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