FORTRAN Generation
(/./ftp/cats/J/A_A/490/769)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/490/769 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-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/490/769     Yields from extremely metal-poor stars   (Campbell+, 2008)
*================================================================================
*Evolution and nucleosynthesis of extremely metal poor & metal-free low- and
*intermediate-mass stars.
*I: Stellar yield tables and the CEMPs.
*     Campbell S.W., Lattanzio J.C.
*    <Astron. Astrophys. 490, 769 (2008)>
*    =2008A&A...490..769C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! *Yields for Z=0.0

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

      character*4   Elem        ! Chemical species names
      integer*4     A           ! Nucleon number A
      real*4        Init        ! Initial abundance for this chemical species
      real*4        M0_85       ! Yield from 0.85M_{sun}_ model for this species (1)
      real*4        M1_00       ! Yield from 1.00M_{sun}_ model for this species (1)
      real*4        M2_00       ! Yield from 2.00M_{sun}_ model for this species (1)
      real*4        M3_00       ! ? Yield from 3.00M_{sun}_ model for this species (1)
*                              Not calculated in table4
*Note (1): In fractional mass unit.

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

C  Declarations for 'table2.dat'	! *Yields for [Fe/H]=-6.5

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

      character*4   Elem_1      ! Chemical species names
      integer*4     A_1         ! Nucleon number A
      real*4        Init_1      ! Initial abundance for this chemical species
      real*4        M0_85_1     ! Yield from 0.85M_{sun}_ model for this species (1)
      real*4        M1_00_1     ! Yield from 1.00M_{sun}_ model for this species (1)
      real*4        M2_00_1     ! Yield from 2.00M_{sun}_ model for this species (1)
      real*4        M3_00_1     ! ? Yield from 3.00M_{sun}_ model for this species (1)
*                              Not calculated in table4
*Note (1): In fractional mass unit.

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

C  Declarations for 'table3.dat'	! *Yields for [Fe/H]=-5.45

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

      character*4   Elem_2      ! Chemical species names
      integer*4     A_2         ! Nucleon number A
      real*4        Init_2      ! Initial abundance for this chemical species
      real*4        M0_85_2     ! Yield from 0.85M_{sun}_ model for this species (1)
      real*4        M1_00_2     ! Yield from 1.00M_{sun}_ model for this species (1)
      real*4        M2_00_2     ! Yield from 2.00M_{sun}_ model for this species (1)
      real*4        M3_00_2     ! ? Yield from 3.00M_{sun}_ model for this species (1)
*                              Not calculated in table4
*Note (1): In fractional mass unit.

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

C  Declarations for 'table4.dat'	! *Yields for [Fe/H]=-4.0

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

      character*4   Elem_3      ! Chemical species names
      integer*4     A_3         ! Nucleon number A
      real*4        Init_3      ! Initial abundance for this chemical species
      real*4        M0_85_3     ! Yield from 0.85M_{sun}_ model for this species (1)
      real*4        M1_00_3     ! Yield from 1.00M_{sun}_ model for this species (1)
      real*4        M2_00_3     ! Yield from 2.00M_{sun}_ model for this species (1)
      real*4        M3_00_3     ! ? Yield from 3.00M_{sun}_ model for this species (1)
*                              Not calculated in table4
*Note (1): In fractional mass unit.

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

C  Declarations for 'table5.dat'	! *Yields for [Fe/H]=-3.0

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

      character*4   Elem_4      ! Chemical species names
      integer*4     A_4         ! Nucleon number A
      real*4        Init_4      ! Initial abundance for this chemical species
      real*4        M0_85_4     ! Yield from 0.85M_{sun}_ model for this species (1)
      real*4        M1_00_4     ! Yield from 1.00M_{sun}_ model for this species (1)
      real*4        M2_00_4     ! Yield from 2.00M_{sun}_ model for this species (1)
      real*4        M3_00_4     ! ? Yield from 3.00M_{sun}_ model for this species (1)
*                              Not calculated in table4
*Note (1): In fractional mass unit.

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

C  Declarations for 'table6.dat'	! Remnant core masses for all models

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

      real*4        v_Fe_H_     ! ([Sun]) Metallicity (Units: [Fe/H] except for Z=0)
      real*4        Rem0_85     ! (solMass) Remnant mass of 0.85M_{sun}_ model at this Z
      real*4        Rem1_00     ! (solMass) Remnant mass of 1.00M_{sun}_ model at this Z
      real*4        Rem2_00     ! (solMass) Remnant mass of 2.00M_{sun}_ model at this Z
      real*4        Rem3_00     ! (solMass) ? Remnant mass of 3.00M_{sun}_ model at this Z

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

C  Loading file 'table1.dat'	! *Yields for Z=0.0

C  Format for file interpretation

    1 format(A4,2X,I2,1X,E14.7,2X,E14.7,2X,E14.7,2X,E14.7,2X,E14.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,39
        read(1,'(A87)')ar__
        read(ar__,1)Elem,A,Init,M0_85,M1_00,M2_00,M3_00
        if(ar__(74:87) .EQ. '') M3_00 = rNULL__
c    ..............Just test output...........
        write(6,1)Elem,A,Init,M0_85,M1_00,M2_00,M3_00
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! *Yields for [Fe/H]=-6.5

C  Format for file interpretation

    2 format(A4,2X,I2,1X,E14.7,2X,E14.7,2X,E14.7,2X,E14.7,2X,E14.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,39
        read(1,'(A87)')ar__1
        read(ar__1,2)Elem_1,A_1,Init_1,M0_85_1,M1_00_1,M2_00_1,M3_00_1
        if(ar__1(74:87) .EQ. '') M3_00_1 = rNULL__
c    ..............Just test output...........
        write(6,2)Elem_1,A_1,Init_1,M0_85_1,M1_00_1,M2_00_1,M3_00_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! *Yields for [Fe/H]=-5.45

C  Format for file interpretation

    3 format(A4,2X,I2,1X,E14.7,2X,E14.7,2X,E14.7,2X,E14.7,2X,E14.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,39
        read(1,'(A87)')ar__2
        read(ar__2,3)Elem_2,A_2,Init_2,M0_85_2,M1_00_2,M2_00_2,M3_00_2
        if(ar__2(74:87) .EQ. '') M3_00_2 = rNULL__
c    ..............Just test output...........
        write(6,3)Elem_2,A_2,Init_2,M0_85_2,M1_00_2,M2_00_2,M3_00_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! *Yields for [Fe/H]=-4.0

C  Format for file interpretation

    4 format(A4,2X,I2,1X,E14.7,2X,E14.7,2X,E14.7,2X,E14.7,2X,E14.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,39
        read(1,'(A87)')ar__3
        read(ar__3,4)Elem_3,A_3,Init_3,M0_85_3,M1_00_3,M2_00_3,M3_00_3
        if(ar__3(74:87) .EQ. '') M3_00_3 = rNULL__
c    ..............Just test output...........
        write(6,4)Elem_3,A_3,Init_3,M0_85_3,M1_00_3,M2_00_3,M3_00_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! *Yields for [Fe/H]=-3.0

C  Format for file interpretation

    5 format(A4,2X,I2,1X,E14.7,2X,E14.7,2X,E14.7,2X,E14.7,2X,E14.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,39
        read(1,'(A87)')ar__4
        read(ar__4,5)Elem_4,A_4,Init_4,M0_85_4,M1_00_4,M2_00_4,M3_00_4
        if(ar__4(74:87) .EQ. '') M3_00_4 = rNULL__
c    ..............Just test output...........
        write(6,5)Elem_4,A_4,Init_4,M0_85_4,M1_00_4,M2_00_4,M3_00_4
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Remnant core masses for all models

C  Format for file interpretation

    6 format(F5.2,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,5
        read(1,'(A33)')ar__5
        read(ar__5,6)v_Fe_H_,Rem0_85,Rem1_00,Rem2_00,Rem3_00
        if(ar__5(28:33) .EQ. '') Rem3_00 = rNULL__
c    ..............Just test output...........
        write(6,6)v_Fe_H_,Rem0_85,Rem1_00,Rem2_00,Rem3_00
c    .......End.of.Just test output...........
      end do
      close(1)

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