FORTRAN Generation
(/./ftp/cats/J/ApJ/608/405)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/608/405 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/ApJ/608/405   Explosive yields of massive star (Z=0-Z_{sun}_) (Chieffi+, 2004)
*================================================================================
*Explosive yields of massive stars from Z=0 to Z=Z_{sun}_.
*    Chieffi A., Limongi M.
*   <Astrophys. J., 608, 405-410 (2004)>
*   =2004ApJ...608..405C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'yields.dat'	! Explosive yields (from table1)

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

      real*4        Z          (nr__) ! Metallicity of the model
      real*4        t          (nr__) ! (s) Date after explosion (0 or 2.510^4^s)
      integer*4     A          (nr__) ! Atomic mass of the element (1)
      character*4   El         (nr__) ! Element name or parameter (1)
      real*4        M13El      (nr__) ! (solMass) Mass of element (A, El) if Mini=13solMass
      real*4        M15El      (nr__) ! (solMass) Mass of element (A, El) if Mini=15solMass
      real*4        M20El      (nr__) ! (solMass) Mass of element (A, El) if Mini=20solMass
      real*4        M25El      (nr__) ! (solMass) Mass of element (A, El) if Mini=25solMass
      real*4        M30El      (nr__) ! (solMass) Mass of element (A, El) if Mini=30solMass
      real*4        M35El      (nr__) ! (solMass) Mass of element (A, El) if Mini=35solMass
*Note (1): A=0 on lines containing ejected mass (El="eject")
*     or remnant mass (El="remn"). These columns otherwise
*     contain the atomic mass number and element symbol.

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

C  Loading file 'yields.dat'	! Explosive yields (from table1)

C  Format for file interpretation

    1 format(
     +  E5.1,1X,E6.2,1X,I3,A4,1X,E9.3,1X,E9.3,1X,E9.3,1X,E9.3,1X,E9.3,
     +  1X,E9.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'yields.dat')
      write(6,*) '....Loading file: yields.dat'
      do i__=1,894
        read(1,'(A80)')ar__
        read(ar__,1)
     +  Z(i__),t(i__),A(i__),El(i__),M13El(i__),M15El(i__),M20El(i__),
     +  M25El(i__),M30El(i__),M35El(i__)
c    ..............Just test output...........
        write(6,1)
     +  Z(i__),t(i__),A(i__),El(i__),M13El(i__),M15El(i__),M20El(i__),
     +  M25El(i__),M30El(i__),M35El(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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