FORTRAN Generation
(/./ftp/cats/J/ApJS/171/249)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJS/171/249 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/ApJS/171/249      Ultraviolet Spectral Atlas of VV Cephei       (Bauer+, 2007)
*================================================================================
*An ultraviolet spectral atlas of VV Cephei during total eclipse.
*    Bauer W.H., Bennett P.D., Brown A.
*   <Astrophys. J. Suppl. Ser., 171, 249-259 (2007)>
*   =2007ApJS..171..249B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Emission lines selected from the database

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

      real*8        Wave        ! (0.1nm) Wavelength in Angstroms
      character*6   Ion         ! Ion designation (G1)
      real*4        LowE        ! (eV) Lower energy level
      real*4        UpE         ! (eV) Upper energy level
      real*4        log_gf      ! ([-]) Log of the oscillator strength
      real*4        LStr        ! The "line strength" quantity (2)
      character*1   u_LStr      ! Uncertainty flag on LStr (3)
      character*8   Multi       ! Multiplet number (if available)
      character*8   LowT        ! The lower term designation
      character*9   UpT         ! The upper term designation
*Note (2): The difference between the line's log(gf) and the minimum log(gf)
*     included for that upper level.  If this quantity is negative, the
*     transition was included because its log(gf) was within 1.0 of the
*     minimum log(gf) for that upper level, and could explain a feature that
*     would otherwise not have an identification.
*Note (3): the colon (:) indicates too few lines from that upper level for
*     the strength quantity to be useful when comparing with line strengths
*     from other elements or levels.

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

C  Declarations for 'table5.dat'	! Unblended lines

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

      real*8        Wave_1      ! (0.1nm) Wavelength in Angstroms
      character*1   f_Wave      ! [b] Flag on Wave (2)
      character*6   Ion_1       ! Ion designation (G1)
      real*4        LowE_1      ! (eV) Lower energy level
      real*4        UpE_1       ! (eV) Upper energy level
      real*4        log_gf_1    ! ([-]) Log of the oscillator strength
      character*8   Multi_1     ! Multiplet number (if available)
      real*4        PFlux       ! (10-14W/m2/nm) Peak flux (3)
      character*1   f_PFlux     ! [c] Possible circumstellar absorption (4)
*Note (2): 'b' indicates a line unblended for 100km/s on either side.
*Note (3): In units of 10^-12^erg/cm^2^/s/Angstrom.
*          The continuum has not been subtracted.
*Note (4): 'c' indicates that the peak flux might be affected by
*     circumstellar absorption.

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

C  Loading file 'table3.dat'	! Emission lines selected from the database

C  Format for file interpretation

    1 format(
     +  F8.3,1X,A6,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2,A1,1X,A8,1X,A8,1X,
     +  A9)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,5693
        read(1,'(A67)')ar__
        read(ar__,1)
     +  Wave,Ion,LowE,UpE,log_gf,LStr,u_LStr,Multi,LowT,UpT
c    ..............Just test output...........
        write(6,1)
     +  Wave,Ion,LowE,UpE,log_gf,LStr,u_LStr,Multi,LowT,UpT
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! Unblended lines

C  Format for file interpretation

    2 format(
     +  F8.3,1X,A1,1X,A6,1X,F4.2,1X,F5.2,1X,F5.2,1X,A8,1X,F5.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,469
        read(1,'(A51)')ar__1
        read(ar__1,2)
     +  Wave_1,f_Wave,Ion_1,LowE_1,UpE_1,log_gf_1,Multi_1,PFlux,
     +  f_PFlux
c    ..............Just test output...........
        write(6,2)
     +  Wave_1,f_Wave,Ion_1,LowE_1,UpE_1,log_gf_1,Multi_1,PFlux,
     +  f_PFlux
c    .......End.of.Just test output...........
      end do
      close(1)

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