FORTRAN Generation
(/./ftp/cats/J/A_A/328/83)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/328/83 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-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/A+A/328/83        Globular clusters luminosity function   (Chabrier+ 1997)
*================================================================================
*Determination of the globular cluster and halo stellar mass functions and
*stellar and brown dwarf densities
*       Chabrier G., Mera D.
*      <Astron. Astrophys. 328, 83 (1997)>
*      =1997A&A...328...83C      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tables'	! Bolometric luminosity function

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

      character*8   Name        ! Globular cluster name
      character*2   Ref         ! References to the observational paper (1)
      character*4   n_mag       ! HST magnitude band (I814, V555 or V606)
      real*8        mag         ! (mag) Magnitude in band specified by n_mag
      real*8        Mbol        ! (mag) Bolometric magnitude
      real*8        log_LF      ! ([ct/mag]) Luminosity function (stellar density as a
*                                  function of bolometric magnitude) in log scale
*Note (1): MP : De Marchi and Paresce (1995A&A...304..211D)
*          S  : Santiago et al. (1996MNRAS.281.1363S)
*          FP : Fusi-Pecci et al. (1996, preprint)
*          E  : Elson et al. (1995AJ....110..682E)
*          P  : Paresce et al. (1995ApJ...442L..57P)
*          C  : Cool et al. (1996ApJ...468..655C)
*          M  : Mould (1996PASP..108..682M)

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

C  Loading file 'tables'	! Bolometric luminosity function

C  Format for file interpretation

    1 format(A8,1X,A2,1X,A4,1X,F7.4,1X,F7.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tables')
      write(6,*) '....Loading file: tables'
      do i__=1,234
        read(1,'(A40)')ar__
        read(ar__,1)Name,Ref,n_mag,mag,Mbol,log_LF
c    ..............Just test output...........
        write(6,1)Name,Ref,n_mag,mag,Mbol,log_LF
c    .......End.of.Just test output...........
      end do
      close(1)

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