FORTRAN Generation
(/./ftp/cats/J/A_AS/97/951)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/97/951 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.5, on 2013-May-25
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__
ter  (rNULL__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/A+AS/97/951   uvby-beta photometry of metal-poor stars        (Schuster+ 1993)
*================================================================================
*uvby-beta photometry of high-velocity and metal-poor stars. VI.
*A second catalogue, and stellar populations of the Galaxy
*     Schuster W.J., Parrao L., Contreras Martinez M.E.
*    <Astron. Astrophys. Suppl. Ser. 97, 951 (1993)>
*    =1993A&AS...97..951S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table4'	! The catalogue of uvby-beta photometry

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

      character*12  Name       (nr__) ! Designation of the star:
*                                     G from Giclas, Lowell Proper Motion stars;
*                                   LTT from Luyten;
*                                     B from Beers et al., 1985, AJ 90, 2089
      real*4        Vmag       (nr__) ! (mag) on the standard Johnson UBV system
      real*4        b_y        (nr__) ! (mag) Colour index in Stroemgren
      real*4        m1         (nr__) ! (mag) ? Colour = (v-b) - (b-y)
      real*4        c1         (nr__) ! (mag) ? Colour = (u-v) - (v-b)
      integer*4     o_uvby     (nr__) ! Number of independent observations for
*                                    indices b-y, m1, c1
      real*4        beta       (nr__) ! (mag) on the standard system
      integer*4     o_beta     (nr__) ! Number of independent observations for
*                                    beta index
      character*6   comments   (nr__) ! Comment flags (1)
*Note (1):
*   *  indicates a note in the printed document
*  ++  flags too red and/or too evolved four our photometric transformations
*   +  flags stars near the limit defined with ++
*   D  indicates that a second fainter star was within or slightly outside
*      the entrance diaphragm
*  CL  V magnitudes from Carney & Latham, 1987, AJ 92, 116
*      taken or averaged with
*  FS  V magnitudes from Fouts & Sandage, 1986, AJ 91, 1189
*      taken or averaged with

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

C  Loading file 'table4'	! The catalogue of uvby-beta photometry

C  Format for file interpretation

    1 format(
     +  2X,A12,17X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,I1,2X,F5.3,1X,I1,
     +  2X,A6)

C  Effective file loading

      open(unit=1,file='table4', status='old')
      write(6,*) '....Loading file: table4'
      do i__=1,553
        read(1,'(A76)')ar__
        read(ar__,1)
     +  Name(i__),Vmag(i__),b_y(i__),m1(i__),c1(i__),o_uvby(i__),
     +  beta(i__),o_beta(i__),comments(i__)
        if(ar__(45:49) .EQ. '') m1(i__) = rNULL__
        if(ar__(51:55) .EQ. '') c1(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),Vmag(i__),b_y(i__),m1(i__),c1(i__),o_uvby(i__),
     +  beta(i__),o_beta(i__),comments(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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