FORTRAN Generation
(/./ftp/cats/J/A_A/422/527)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/422/527 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-Apr-20
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/A+A/422/527       Metal-poor star uvby-beta photometry. X.   (Schuster+, 2004)
*================================================================================
*uvby-beta photometry of high-velocity and metal-poor stars.
*X. Stars of very low metal abundance:  observations, reddenings, metallicities,
*classifications, distances, and relative ages.
*    Schuster W.J., Beers T.C., Michel R., Nissen P.E., Garcia G.
*   <Astron. Astrophys. 422, 527 (2004)>
*   =2004A&A...422..527S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! uvby-{beta} data from SPM

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

      character*9   Name       (nr__) ! Star designation
      real*4        Vmag       (nr__) ! (mag) ? Johnson V magnitude
      real*4        b_y        (nr__) ! (mag) Stroemgren colour index b-y
      real*4        m1         (nr__) ! (mag) Stroemgren metallicity index m_1_
      real*4        c1         (nr__) ! (mag) Stroemgren Balmer discontinuity index c_1_
      integer*4     o_b_y      (nr__) ! Number of independent observations in uvby
      real*4        Hbeta      (nr__) ! (mag) ? H{beta} line index
      integer*4     o_Hbeta    (nr__) ! ? Number of independent observations in Hbeta
      character*30  Notes      (nr__) ! Notes (1)
*Note (1): Notes:
*     V,V? = variable(?)
*       RG = red subgiant-giant
*   fnt(r) = faint(er)
*       st = star
*       os = outside
*      dph = diaphragm
*     D,D? = double(?)
*       wo = without
*     excl = exclude
*      obs = observation(s)
*    contm = contaminated
*    ocntr = offcenter
*       js = just
*        S = south

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

C  Declarations for 'table2.dat'	! uvby data from La Silla

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

      character*9   Name_1     (nr__1) ! Star designation
      real*4        Vmag_1     (nr__1) ! (mag) ? Johnson V magnitude
      real*4        b_y_1      (nr__1) ! (mag) Stroemgren colour index b-y
      real*4        m1_1       (nr__1) ! (mag) Stroemgren metallicity index m_1_
      real*4        c1_1       (nr__1) ! (mag) Stroemgren Balmer discontinuity index c_1_
      integer*4     o_b_y_1    (nr__1) ! Number of independent observations in uvby
      real*4        Hbeta_1    (nr__1) ! (mag) ? H{beta} line index
      integer*4     o_Hbeta_1  (nr__1) ! ? Number of independent observations in Hbeta
      character*30  Notes_1    (nr__1) ! Notes (1)
*Note (1): Notes:
*     V,V? = variable(?)
*       RG = red subgiant-giant
*   fnt(r) = faint(er)
*       st = star
*       os = outside
*      dph = diaphragm
*     D,D? = double(?)
*       wo = without
*     excl = exclude
*      obs = observation(s)
*    contm = contaminated
*    ocntr = offcenter
*       js = just
*        S = south

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

C  Declarations for 'table3.dat'	! Coordinates, BV photometry, reddening excesses,
                              (B-V)_0_'s, and Notes

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

C  J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg      (nr__2) ! (deg) Right Ascension J2000.0
      real*8        DEdeg      (nr__2) ! (deg)     Declination J2000.0
C  ---------------------------------- ! (position vector(s) in degrees)

      character*9   Name_2     (nr__2) ! Star name
      integer*4     RAh        (nr__2) ! (h) Right ascension (J2000.0)
      integer*4     RAm        (nr__2) ! (min) Right ascension (J2000.0)
      real*4        RAs        (nr__2) ! (s) Right ascension (J2000.0)
      character*1   DE_        (nr__2) ! Declination sign (J2000.0)
      integer*4     DEd        (nr__2) ! (deg) Declination (J2000.0)
      integer*4     DEm        (nr__2) ! (arcmin) Declination (J2000.0)
      integer*4     DEs        (nr__2) ! (arcsec) Declination (J2000.0)
      real*4        GLON       (nr__2) ! (deg) Galactic longitude
      real*4        GLAT       (nr__2) ! (deg) Galactic latitude
      real*4        Vmag_2     (nr__2) ! (mag) ? V magnitude
      real*4        B_V        (nr__2) ! (mag) ? B-V colour index
      real*4        E_B_V_S    (nr__2) ! (mag) Interstellar reddening from Schlegel et al.,
*                                   1998ApJ...500..525S
      real*4        E_B_V      (nr__2) ! (mag) Adopted interstellar reddening in (B-V)
*                                   from Eq. 1
      real*4        v_B_V_0    (nr__2) ! (mag) ? De-reddened Johnson color index B-V
      real*4        v_B_V_0b   (nr__2) ! (mag) ? Estimated de-reddened Johnson color index
*                                     B-V, derived from (b-y)_0, Fig. 4
      character*1   CH         (nr__2) ! [*] *: star is likely carbon enhanced,
*                                          from Fig. 5
      character*1   OUT        (nr__2) ! [*] *: star is considered a photometric
*                                          outlier, from Figs. 1, 4

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

C  Declarations for 'table4.dat'	! Cross-Identifications of VMP Stars

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

      character*9   Name_3     (nr__3) ! Star name
      character*9   Name2      (nr__3) ! Second alternative name of star
      character*9   Name3      (nr__3) ! Third alternative name of star

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

C  Declarations for 'table5.dat'	! Dereddened photometry, Reddening Excesses,
                              and Photometric Classifications

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

      character*9   Name_4     (nr__4) ! Star name
      real*4        V0         (nr__4) ! (mag) ? Visual magnitude corrected for interstellar
*                                    absorption (1)
      real*4        v_b_y_0    (nr__4) ! (mag) De-reddened Stroemgren color index b-y (1)
      real*4        m0         (nr__4) ! (mag) De-reddened Stroemgren metallicity index m1 (1)
      real*4        c0         (nr__4) ! (mag) De-reddened Stroemgren Balmer discontinuity
*                                  index c1 (1)
      real*4        E_b_y      (nr__4) ! (mag) ? Stroemgren interstellar reddening estimate
*                                    from intrinsic-color calibration of
*                                    Schuster & Nissen (1989, Cat. <II/180>)
      real*4        E_B_V_1    (nr__4) ! (mag) ? Adopted interstellar reddening in (B-V),
*                                    from eq. 1
      character*11  Class      (nr__4) ! Photometric classification of star, Fig.6 (G1)
*Note (1): V, b-y, m1 and c1 have been corrected for the effect of
*    interstellar reddening if E(b-y)>=0.015 or E(B-V)>=0.02.

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

C  Declarations for 'table6.dat'	! Line-strength indices from the HK survey

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

      character*9   Name_5     (nr__5) ! Star name
      real*4        KP         (nr__5) ! (0.1nm) ? Ca II K line index
      real*4        HP2        (nr__5) ! (0.1nm) ? Balmer H{delta} line index
      real*4        HG2        (nr__5) ! (0.1nm) ? Balmer H{gamma} line index
      real*4        GP         (nr__5) ! (0.1nm) ? CH G-band line index

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

C  Declarations for 'table7.dat'	! [Fe/H] values from different methods,
                              plus adopted average

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

      character*9   Name_6     (nr__6) ! Star name
      real*4        v_Fe_H_K1  (nr__6) ! ([Sun]) ? Metallicity based on KP, (B-V)0b
*                                     (Beers et al., 1999, Cat. <J/AJ/117/981>)
      real*4        v_Fe_H_A1  (nr__6) ! ([Sun]) ? Metallicity based on KP, (B-V)0b, and an
*                                     Artificial Neural Network
      real*4        v_Fe_H_K2  (nr__6) ! ([Sun]) ? Metallicity based on KP, (B-V)0
*                                     (Beers et al., 1999, Cat. <J/AJ/117/981>)
      real*4        v_Fe_H_A2  (nr__6) ! ([Sun]) ? Metallicity based on KP, (B-V)0, and an
*                                     Artificial Neural Network
      real*4        v_Fe_H_    (nr__6) ! ([Sun]) ? Final estimate of metallicity
      integer*4     Notes_2    (nr__6) ! [1/3]? Individual notes (1)
*Note (1): Individual notes:
*     1: Late-type star, CaII-K emission
*     2: Composite spectrum (Early + Late)
*     3: CD-38:245

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

C  Declarations for 'table8a.dat'	! Metal-rich BS (Am) stars - observed quantities

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

      character*9   Name_7     (nr__7) ! Star name
      real*4        VJmag      (nr__7) ! (mag) Johnson V magnitude
      real*4        b_y_2      (nr__7) ! (mag) Stroemgren colour index b-y
      real*4        m1_2       (nr__7) ! (mag) Stroemgren metallicity index m_1_
      real*4        c1_2       (nr__7) ! (mag) Stroemgren Balmer discontinuity index c_1_
      real*4        Hbeta_2    (nr__7) ! (mag) H{beta} line index
      real*4        v_c1_      (nr__7) ! (mag) Reddening-free Balmer discontinuity index
      real*4        v_m1_      (nr__7) ! (mag) Reddening-free metallicity index
      real*4        Vmag_3     (nr__7) ! (mag) ? Johnson broad-band V magnitude
      real*4        B_V_1      (nr__7) ! (mag) ? Johnson broad-band B-V colour index
      real*4        U_B        (nr__7) ! (mag) ? Johnson broad-band U-B colour index

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

C  Declarations for 'table8b.dat'	! Metal-rich BS (Am) stars - derived quantities

      integer*4 nr__8
      parameter (nr__8=10)	! Number of records
      character*59 ar__8  	! Full-size record

      character*9   Name_8     (nr__8) ! Star name
      real*4        E_B_V_1    (nr__8) ! (mag) Adopted interstellar reddening in (B-V)
*                                   from Eq. 1
      real*4        v_B_V_0_1  (nr__8) ! (mag) De-reddened Johnson color index B-V
      character*1   u__B_V_0   (nr__8) ! [)] Uncertainty flag on (B-V)0
      real*4        v_U_B_0    (nr__8) ! (mag) ? De-reddened Johnson color index U-B
      real*4        V0_1       (nr__8) ! (mag) V magnitude corrected for interstellar
*                                     absorption
      real*4        v_b_y_0_1  (nr__8) ! (mag) De-reddened Stroemgren color index b-y
      real*4        m0_1       (nr__8) ! (mag) De-reddened Stroemgren metallicity index m1
      real*4        c0_1       (nr__8) ! (mag) De-reddened Stroemgren Balmer discontinuity
*                                   index c1
      character*2   Class_1    (nr__8) ! Photometric classification of star (G1)
      real*4        v_Fe_H__1  (nr__8) ! ([Sun]) ? Final estimate of metallicity

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

C  Declarations for 'table9.dat'	! Photometric absolute magnitudes and distances
                              of the VMP stars

      integer*4 nr__9
      parameter (nr__9=497)	! Number of records
      character*69 ar__9  	! Full-size record

      character*9   Name_9     (nr__9) ! Star name
      character*11  Class_2    (nr__9) ! Photometric classification of star (G1)
      real*4        VMAG1      (nr__9) ! (mag) ? Estimated absolute magnitude, assuming primary
*                                 classification (MS for TO stars, as listed
*                                 for others) and UBV photometry
      real*4        VMAG2      (nr__9) ! (mag) ? Estimated absolute magnitude, assuming secondary
*                                 classification (SG or RG for TO stars) and UBV
*                                 photometry
      integer*4     Dist1      (nr__9) ! (pc) ? Estimated distance, assuming primary
*                                 classification (MS for TO stars, as listed for
*                                 others) and UBV photometry
      integer*4     Dist2      (nr__9) ! (pc) ? Estimated distance, assuming secondary
*                                 classification (SG or RG for TO stars) and UBV
*                                 photometry
      integer*4     Dist       (nr__9) ! (pc) ? Estimated distance based on Stroemgren
*                                 photometry and indices
      character*14  Notes_3    (nr__9) ! Comments on individual stars

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

C  Loading file 'table1.dat'	! uvby-{beta} data from SPM

C  Format for file interpretation

    1 format(
     +  A9,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,I1,1X,F5.3,1X,I1,1X,A30)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,245
        read(1,'(A78)')ar__
        read(ar__,1)
     +  Name(i__),Vmag(i__),b_y(i__),m1(i__),c1(i__),o_b_y(i__),
     +  Hbeta(i__),o_Hbeta(i__),Notes(i__)
        if(ar__(11:16) .EQ. '') Vmag(i__) = rNULL__
        if(ar__(41:45) .EQ. '') Hbeta(i__) = rNULL__
        if(ar__(47:47) .EQ. '') o_Hbeta(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),Vmag(i__),b_y(i__),m1(i__),c1(i__),o_b_y(i__),
     +  Hbeta(i__),o_Hbeta(i__),Notes(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! uvby data from La Silla

C  Format for file interpretation

    2 format(
     +  A9,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,I1,1X,F5.3,1X,I1,1X,A30)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,177
        read(1,'(A78)')ar__1
        read(ar__1,2)
     +  Name_1(i__),Vmag_1(i__),b_y_1(i__),m1_1(i__),c1_1(i__),
     +  o_b_y_1(i__),Hbeta_1(i__),o_Hbeta_1(i__),Notes_1(i__)
        if(ar__1(11:16) .EQ. '') Vmag_1(i__) = rNULL__
        if(ar__1(41:45) .EQ. '') Hbeta_1(i__) = rNULL__
        if(ar__1(47:47) .EQ. '') o_Hbeta_1(i__) = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),Vmag_1(i__),b_y_1(i__),m1_1(i__),c1_1(i__),
     +  o_b_y_1(i__),Hbeta_1(i__),o_Hbeta_1(i__),Notes_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Coordinates, BV photometry, reddening excesses,
*                              (B-V)_0_'s, and Notes

C  Format for file interpretation

    3 format(
     +  A9,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F5.1,1X,F5.1,
     +  1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A1,2X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,497
        read(1,'(A83)')ar__2
        read(ar__2,3)
     +  Name_2(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),GLON(i__),GLAT(i__),Vmag_2(i__),B_V(i__),
     +  E_B_V_S(i__),E_B_V(i__),v_B_V_0(i__),v_B_V_0b(i__),CH(i__),
     +  OUT(i__)
        if(ar__2(44:48) .EQ. '') Vmag_2(i__) = rNULL__
        if(ar__2(50:54) .EQ. '') B_V(i__) = rNULL__
        if(ar__2(68:72) .EQ. '') v_B_V_0(i__) = rNULL__
        if(ar__2(74:78) .EQ. '') v_B_V_0b(i__) = rNULL__
        RAdeg(i__) = rNULL__
        DEdeg(i__) = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
        if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
        if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
        if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
        if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
        if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
        if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c    ..............Just test output...........
        write(6,3)
     +  Name_2(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),GLON(i__),GLAT(i__),Vmag_2(i__),B_V(i__),
     +  E_B_V_S(i__),E_B_V(i__),v_B_V_0(i__),v_B_V_0b(i__),CH(i__),
     +  OUT(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Cross-Identifications of VMP Stars

C  Format for file interpretation

    4 format(A9,2X,A9,2X,A9)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,53
        read(1,'(A31)')ar__3
        read(ar__3,4)Name_3(i__),Name2(i__),Name3(i__)
c    ..............Just test output...........
        write(6,4)Name_3(i__),Name2(i__),Name3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! Dereddened photometry, Reddening Excesses,
*                              and Photometric Classifications

C  Format for file interpretation

    5 format(
     +  A9,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F4.2,1X,A11)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,508
        read(1,'(A61)')ar__4
        read(ar__4,5)
     +  Name_4(i__),V0(i__),v_b_y_0(i__),m0(i__),c0(i__),E_b_y(i__),
     +  E_B_V_1(i__),Class(i__)
        if(ar__4(11:16) .EQ. '') V0(i__) = rNULL__
        if(ar__4(39:44) .EQ. '') E_b_y(i__) = rNULL__
        if(ar__4(46:49) .EQ. '') E_B_V_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,5)
     +  Name_4(i__),V0(i__),v_b_y_0(i__),m0(i__),c0(i__),E_b_y(i__),
     +  E_B_V_1(i__),Class(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Line-strength indices from the HK survey

C  Format for file interpretation

    6 format(A9,1X,F4.2,1X,F5.2,1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,497
        read(1,'(A31)')ar__5
        read(ar__5,6)Name_5(i__),KP(i__),HP2(i__),HG2(i__),GP(i__)
        if(ar__5(11:14) .EQ. '') KP(i__) = rNULL__
        if(ar__5(16:20) .EQ. '') HP2(i__) = rNULL__
        if(ar__5(22:26) .EQ. '') HG2(i__) = rNULL__
        if(ar__5(28:31) .EQ. '') GP(i__) = rNULL__
c    ..............Just test output...........
        write(6,6)Name_5(i__),KP(i__),HP2(i__),HG2(i__),GP(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! [Fe/H] values from different methods,
*                              plus adopted average

C  Format for file interpretation

    7 format(A9,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,497
        read(1,'(A41)')ar__6
        read(ar__6,7)
     +  Name_6(i__),v_Fe_H_K1(i__),v_Fe_H_A1(i__),v_Fe_H_K2(i__),
     +  v_Fe_H_A2(i__),v_Fe_H_(i__),Notes_2(i__)
        if(ar__6(11:15) .EQ. '') v_Fe_H_K1(i__) = rNULL__
        if(ar__6(17:21) .EQ. '') v_Fe_H_A1(i__) = rNULL__
        if(ar__6(23:27) .EQ. '') v_Fe_H_K2(i__) = rNULL__
        if(ar__6(29:33) .EQ. '') v_Fe_H_A2(i__) = rNULL__
        if(ar__6(35:39) .EQ. '') v_Fe_H_(i__) = rNULL__
        if(ar__6(41:41) .EQ. '') Notes_2(i__) = iNULL__
c    ..............Just test output...........
        write(6,7)
     +  Name_6(i__),v_Fe_H_K1(i__),v_Fe_H_A1(i__),v_Fe_H_K2(i__),
     +  v_Fe_H_A2(i__),v_Fe_H_(i__),Notes_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8a.dat'	! Metal-rich BS (Am) stars - observed quantities

C  Format for file interpretation

    8 format(
     +  A9,1X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,
     +  F5.2,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8a.dat')
      write(6,*) '....Loading file: table8a.dat'
      do i__=1,10
        read(1,'(A68)')ar__7
        read(ar__7,8)
     +  Name_7(i__),VJmag(i__),b_y_2(i__),m1_2(i__),c1_2(i__),
     +  Hbeta_2(i__),v_c1_(i__),v_m1_(i__),Vmag_3(i__),B_V_1(i__),
     +  U_B(i__)
        if(ar__7(54:58) .EQ. '') Vmag_3(i__) = rNULL__
        if(ar__7(60:63) .EQ. '') B_V_1(i__) = rNULL__
        if(ar__7(65:68) .EQ. '') U_B(i__) = rNULL__
c    ..............Just test output...........
        write(6,8)
     +  Name_7(i__),VJmag(i__),b_y_2(i__),m1_2(i__),c1_2(i__),
     +  Hbeta_2(i__),v_c1_(i__),v_m1_(i__),Vmag_3(i__),B_V_1(i__),
     +  U_B(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8b.dat'	! Metal-rich BS (Am) stars - derived quantities

C  Format for file interpretation

    9 format(
     +  A9,1X,F4.2,1X,F4.2,A1,1X,F4.2,1X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,
     +  1X,A2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8b.dat')
      write(6,*) '....Loading file: table8b.dat'
      do i__=1,10
        read(1,'(A59)')ar__8
        read(ar__8,9)
     +  Name_8(i__),E_B_V_1(i__),v_B_V_0_1(i__),u__B_V_0(i__),
     +  v_U_B_0(i__),V0_1(i__),v_b_y_0_1(i__),m0_1(i__),c0_1(i__),
     +  Class_1(i__),v_Fe_H__1(i__)
        if(ar__8(22:25) .EQ. '') v_U_B_0(i__) = rNULL__
        if(ar__8(55:59) .EQ. '') v_Fe_H__1(i__) = rNULL__
c    ..............Just test output...........
        write(6,9)
     +  Name_8(i__),E_B_V_1(i__),v_B_V_0_1(i__),u__B_V_0(i__),
     +  v_U_B_0(i__),V0_1(i__),v_b_y_0_1(i__),m0_1(i__),c0_1(i__),
     +  Class_1(i__),v_Fe_H__1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table9.dat'	! Photometric absolute magnitudes and distances
*                              of the VMP stars

C  Format for file interpretation

   10 format(A9,1X,A11,2X,F6.3,1X,F6.3,1X,I5,1X,I5,1X,I5,1X,A14)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,497
        read(1,'(A69)')ar__9
        read(ar__9,10)
     +  Name_9(i__),Class_2(i__),VMAG1(i__),VMAG2(i__),Dist1(i__),
     +  Dist2(i__),Dist(i__),Notes_3(i__)
        if(ar__9(24:29) .EQ. '') VMAG1(i__) = rNULL__
        if(ar__9(31:36) .EQ. '') VMAG2(i__) = rNULL__
        if(ar__9(38:42) .EQ. '') Dist1(i__) = iNULL__
        if(ar__9(44:48) .EQ. '') Dist2(i__) = iNULL__
        if(ar__9(50:54) .EQ. '') Dist(i__) = iNULL__
c    ..............Just test output...........
        write(6,10)
     +  Name_9(i__),Class_2(i__),VMAG1(i__),VMAG2(i__),Dist1(i__),
     +  Dist2(i__),Dist(i__),Notes_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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