FORTRAN Generation
(/./ftp/cats/J/ApJ/617/1091)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/617/1091 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-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/ApJ/617/1091        La and Eu abundances in 85 stars        (Simmerer+, 2004)
*================================================================================
*The rise of the s-process in the Galaxy.
*    Simmerer J., Sneden C., Cowan J.J., Collier J., Woolf V.M., Lawler J.E.
*   <Astrophys. J., 617, 1091-1114 (2004)>
*   =2004ApJ...617.1091S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! La abundances

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

      character*10  Name       (nr__) ! Star name
      real*4        A3988      (nr__) ! ([---]) ? Log of the 3988{AA} La line abundance (G1)
      real*4        A3995      (nr__) ! ([---]) ? Log of the 3995{AA} La line abundance (G1)
      real*4        A4086      (nr__) ! ([---]) ? Log of the 4086{AA} La line abundance (G1)
      real*4        A4123      (nr__) ! ([---]) ? Log of the 4123{AA} La line abundance (G1)
      real*4        A4333      (nr__) ! ([---]) ? Log of the 4333{AA} La line abundance (G1)
      real*4        A4662      (nr__) ! ([---]) ? Log of the 4662{AA} La line abundance (G1)
      real*4        A5122      (nr__) ! ([---]) ? Log of the 5122{AA} La line abundance (G1)
      real*4        A5303      (nr__) ! ([---]) ? Log of the 5303{AA} La line abundance (G1)
      real*4        A5797      (nr__) ! ([---]) ? Log of the 5797{AA} La line abundance (G1)
      real*4        A6930      (nr__) ! ([---]) ? Log of the 6930{AA} La line abundance (G1)
      real*4        Avg_La     (nr__) ! ([---]) Log of the average La abundance (G1)
      real*4        e_Avg_La   (nr__) ! ([---]) The 1{sigma} error in Avg(La)

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

C  Declarations for 'table4.dat'	! Eu abundances

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

      character*10  Name_1     (nr__1) ! Star name
      real*4        A3918      (nr__1) ! ([---]) ? Log of the 3918{AA} Eu line abundance (G1)
      real*4        A3907      (nr__1) ! ([---]) ? Log of the 3907{AA} Eu line abundance (G1)
      real*4        A4129      (nr__1) ! ([---]) ? Log of the 4129{AA} Eu line abundance (G1)
      real*4        A4205      (nr__1) ! ([---]) ? Log of the 4205{AA} Eu line abundance (G1)
      real*4        A6437      (nr__1) ! ([---]) ? Log of the 6437{AA} Eu line abundance (G1)
      real*4        A6645      (nr__1) ! ([---]) ? Log of the 6645{AA} Eu line abundance (G1)
      real*4        A7217      (nr__1) ! ([---]) ? Log of the 7217{AA} Eu line abundance (G1)
      real*4        Avg_Eu     (nr__1) ! ([---]) ? Log of the average Eu abundance (G1)
      real*4        e_Avg_Eu   (nr__1) ! ([---]) ? The 1{sigma} error in Avg(Eu)

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

C  Loading file 'table3.dat'	! La abundances

C  Format for file interpretation

    1 format(
     +  A10,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,
     +  1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,85
        read(1,'(A81)')ar__
        read(ar__,1)
     +  Name(i__),A3988(i__),A3995(i__),A4086(i__),A4123(i__),
     +  A4333(i__),A4662(i__),A5122(i__),A5303(i__),A5797(i__),
     +  A6930(i__),Avg_La(i__),e_Avg_La(i__)
        if(ar__(12:16) .EQ. '') A3988(i__) = rNULL__
        if(ar__(18:22) .EQ. '') A3995(i__) = rNULL__
        if(ar__(24:28) .EQ. '') A4086(i__) = rNULL__
        if(ar__(30:34) .EQ. '') A4123(i__) = rNULL__
        if(ar__(36:40) .EQ. '') A4333(i__) = rNULL__
        if(ar__(42:46) .EQ. '') A4662(i__) = rNULL__
        if(ar__(48:52) .EQ. '') A5122(i__) = rNULL__
        if(ar__(54:58) .EQ. '') A5303(i__) = rNULL__
        if(ar__(60:64) .EQ. '') A5797(i__) = rNULL__
        if(ar__(66:70) .EQ. '') A6930(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),A3988(i__),A3995(i__),A4086(i__),A4123(i__),
     +  A4333(i__),A4662(i__),A5122(i__),A5303(i__),A5797(i__),
     +  A6930(i__),Avg_La(i__),e_Avg_La(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Eu abundances

C  Format for file interpretation

    2 format(
     +  A10,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,
     +  1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,85
        read(1,'(A63)')ar__1
        read(ar__1,2)
     +  Name_1(i__),A3918(i__),A3907(i__),A4129(i__),A4205(i__),
     +  A6437(i__),A6645(i__),A7217(i__),Avg_Eu(i__),e_Avg_Eu(i__)
        if(ar__1(12:16) .EQ. '') A3918(i__) = rNULL__
        if(ar__1(18:22) .EQ. '') A3907(i__) = rNULL__
        if(ar__1(24:28) .EQ. '') A4129(i__) = rNULL__
        if(ar__1(30:34) .EQ. '') A4205(i__) = rNULL__
        if(ar__1(36:40) .EQ. '') A6437(i__) = rNULL__
        if(ar__1(42:46) .EQ. '') A6645(i__) = rNULL__
        if(ar__1(48:52) .EQ. '') A7217(i__) = rNULL__
        if(ar__1(54:58) .EQ. '') Avg_Eu(i__) = rNULL__
        if(ar__1(60:63) .EQ. '') e_Avg_Eu(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),A3918(i__),A3907(i__),A4129(i__),A4205(i__),
     +  A6437(i__),A6645(i__),A7217(i__),Avg_Eu(i__),e_Avg_Eu(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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