FORTRAN Generation
(/./ftp/cats/J/A_A/530/A54)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/530/A54 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-19
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/530/A54       Abundances of 650 bulge red giants         (Gonzalez+, 2011)
*================================================================================
*Alpha element abundances and gradients in the Milky Way bulge from
*FLAMES-GIRAFFE spectra of 650 K giants.
*    Gonzalez O.A., Rejkuba M., Zoccali M., Hill V., Battaglia G., Babusiaux C.,
*    Minniti D., Barbuy B., Alves-Brito A., Renzini A., Gomez A., Ortolani S.
*   <Astron. Astrophys. 530, A54 (2011)>
*   =2011A&A...530A..54G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table4.dat'	! Abundances of 650 bulge red giant branch stars

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

      character*8   Name       (nr__) ! Star name, as in Zoccali et al., 2008,
*                                   Cat. J/A+A/486/177
      real*4        v_Fe_H_    (nr__) ! ([Sun]) Abundance ratio, Fe/H
      real*4        v_Mg_Fe_   (nr__) ! ([Sun]) Abundance ratio, Mg/Fe
      real*4        v_Ca_Fe_   (nr__) ! ([Sun]) Abundance ratio, Ca/Fe
      real*4        v_Ti_Fe_   (nr__) ! ([Sun]) Abundance ratio, Ti/Fe
      real*4        v_Si_Fe_   (nr__) ! ([Sun]) Abundance ratio, Si/Fe
      integer*4     Field      (nr__) ! [1/4] Field name (1)
*Note (1): Characteristics of our bulge fields:
*     ----------------------------------------------------
*     N      Name           GLON  GLAT   E(B-V)   stars
*     ----------------------------------------------------
*     1   Baade's Window    1.14  -4.18  0.55     194
*     2   b=-6{deg}         0.21  -6.02  0.48     194
*     3   Blanco field      0.00 -12.0   0.20      86
*     4   NGC 6553          5.25  -3.02  0.70     176
*     ----------------------------------------------------

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

C  Loading file 'table4.dat'	! Abundances of 650 bulge red giant branch stars

C  Format for file interpretation

    1 format(A8,1X,F5.2,2X,F5.2,3X,F5.2,3X,F5.2,3X,F5.2,3X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,650
        read(1,'(A49)')ar__
        read(ar__,1)
     +  Name(i__),v_Fe_H_(i__),v_Mg_Fe_(i__),v_Ca_Fe_(i__),
     +  v_Ti_Fe_(i__),v_Si_Fe_(i__),Field(i__)
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),v_Fe_H_(i__),v_Mg_Fe_(i__),v_Ca_Fe_(i__),
     +  v_Ti_Fe_(i__),v_Si_Fe_(i__),Field(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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