FORTRAN Generation
(/./ftp/cats/J/ApJ/479/427)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/479/427 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-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/479/427       Abundance Analyses of RV Tauri Variables (Gonzalez+ 1997)
*================================================================================
*Abundance Analyses of the Field RV Tauri Variables: EP Lyrae, DY Orionis,
*AR Puppis, and R Sagittae
*     Gonzalez G., Lambert D.L., Giridhar S.
*    <Astrophys. J. 479, 427 (1997)>
*    =1997ApJ...479..427G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3'	! Individual abundance results for EP Lyr

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

      character*5   Ion         ! Atomic species
      real*4        log_Eps0    ! Solar abundance for the ion
      real*8        lambda      ! (0.1nm) Wavelength
      real*4        EP          ! (eV) Low energy potential
      real*4        log_gf      ! log of oscillator strength
      real*4        EW1         ! (10-4nm) ? Equivalent width, 1994 June 25-27
      real*4        log_Eps1    ! ? Abundance at lambda, 1994 June 25-27
      real*4        EW2         ! (10-4nm) ? Equivalent width, 1995 June 10&12
      real*4        log_Eps2    ! ? Abundance at lambda, 1995 June 10&12
      integer*4     EW3         ! (10-4nm) ? Equivalent width, 1996 Mar 3
      real*4        log_Eps3    ! ? Abundance at lambda, 1996 Mar 3

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

C  Declarations for 'table6'	! Individual abundance results for R Sge

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

      character*5   Ion_1       ! Atomic species
      real*4        log_Eps0_1  ! Solar abundance for the ion
      real*8        lambda_1    ! (0.1nm) Wavelength
      real*4        EP_1        ! (eV) Low energy potential
      real*4        log_gf_1    ! log of oscillator strength
      integer*4     EW1_1       ! (10-4nm) ? Equivalent width, 1992 May 22
      real*4        log_Eps1_1  ! ? Abundance at lambda, 1992 May 22
      integer*4     EW2_1       ! (10-4nm) ? Equivalent width, 1994 June 24
      real*4        log_Eps2_1  ! ? Abundance at lambda, 1994 June 24
      integer*4     EW3_1       ! (10-4nm) ? Equivalent width, 1994 July 29
      real*4        log_Eps3_1  ! ? Abundance at lambda, 1994 July 29
      integer*4     EW4         ! (10-4nm) ? Equivalent width, 1995 June 12
      real*4        log_Eps4    ! ? Abundance at lambda, 1995 June 12

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

C  Loading file 'table3'	! Individual abundance results for EP Lyr

C  Format for file interpretation

    1 format(
     +  A5,1X,F5.2,1X,F7.2,1X,F5.2,1X,F6.2,2X,F5.1,1X,F4.2,2X,F5.1,1X,
     +  F5.2,2X,I3,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3')
      write(6,*) '....Loading file: table3'
      do i__=1,211
        read(1,'(A68)')ar__
        read(ar__,1)
     +  Ion,log_Eps0,lambda,EP,log_gf,EW1,log_Eps1,EW2,log_Eps2,EW3,
     +  log_Eps3
        if(ar__(35:39) .EQ. '') EW1 = rNULL__
        if(ar__(41:44) .EQ. '') log_Eps1 = rNULL__
        if(ar__(47:51) .EQ. '') EW2 = rNULL__
        if(ar__(53:57) .EQ. '') log_Eps2 = rNULL__
        if(ar__(60:62) .EQ. '') EW3 = iNULL__
        if(ar__(64:68) .EQ. '') log_Eps3 = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Ion,log_Eps0,lambda,EP,log_gf,EW1,log_Eps1,EW2,log_Eps2,EW3,
     +  log_Eps3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6'	! Individual abundance results for R Sge

C  Format for file interpretation

    2 format(
     +  A5,1X,F5.2,1X,F7.2,1X,F5.2,1X,F6.2,2X,I3,1X,F5.2,2X,I3,1X,
     +  F5.2,2X,I3,1X,F5.2,2X,I3,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6')
      write(6,*) '....Loading file: table6'
      do i__=1,112
        read(1,'(A76)')ar__1
        read(ar__1,2)
     +  Ion_1,log_Eps0_1,lambda_1,EP_1,log_gf_1,EW1_1,log_Eps1_1,
     +  EW2_1,log_Eps2_1,EW3_1,log_Eps3_1,EW4,log_Eps4
        if(ar__1(35:37) .EQ. '') EW1_1 = iNULL__
        if(ar__1(39:43) .EQ. '') log_Eps1_1 = rNULL__
        if(ar__1(46:48) .EQ. '') EW2_1 = iNULL__
        if(ar__1(50:54) .EQ. '') log_Eps2_1 = rNULL__
        if(ar__1(57:59) .EQ. '') EW3_1 = iNULL__
        if(ar__1(61:65) .EQ. '') log_Eps3_1 = rNULL__
        if(ar__1(68:70) .EQ. '') EW4 = iNULL__
        if(ar__1(72:76) .EQ. '') log_Eps4 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Ion_1,log_Eps0_1,lambda_1,EP_1,log_gf_1,EW1_1,log_Eps1_1,
     +  EW2_1,log_Eps2_1,EW3_1,log_Eps3_1,EW4,log_Eps4
c    .......End.of.Just test output...........
      end do
      close(1)

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