FORTRAN Generation
(/./ftp/cats/J/A_A/566/A105)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/566/A105 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 2026-Oct-14
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/566/A105    SiIX K-shell energy levels and transitions      (Wei+, 2014)
*================================================================================
*K-shell energy levels and radiative rates for transitions in Si XI.
*    Wei H.G., Shi J.R., Wang F.L., Zhong J.Y., Liang G.Y., Zhao G.
*   <Astron. Astrophys. 566, A105 (2014)>
*   =2014A&A...566A.105W
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! K-shell level energies in SiIX

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

      integer*4     Index       ! [1/50] Index
      character*24  Conf        ! Configurations
      integer*4     J           ! [0/3] Total angular momentum (Parity)
      character*1   P           ! [oe] Parity (odd or even)
      real*8        E           ! (eV) [0/1879] Level energy from present FAC6 model
*                                   calculations with the FAC code

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

C  Declarations for 'table4.dat'	! Wavelengths, radiative rates and oscillator
                             strengths for transitions in SiIX

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

      integer*4     u           ! [21/50] Upper level
      integer*4     l           ! [1/20] Lower level
      real*4        lambda      ! (0.1nm) [6.6/7.4] Transition wavelength {lambda} ({AA})
      real*4        A           ! (s-1) Radiative rate
      real*4        f_lu        ! Oscillator strengths between levels

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

C  Loading file 'table3.dat'	! K-shell level energies in SiIX

C  Format for file interpretation

    1 format(4X,I2,2X,A24,5X,I1,1X,A1,5X,F9.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,50
        read(1,'(A54)')ar__
        read(ar__,1)Index,Conf,J,P,E
c    ..............Just test output...........
        write(6,1)Index,Conf,J,P,E
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Wavelengths, radiative rates and oscillator
*                             strengths for transitions in SiIX

C  Format for file interpretation

    2 format(4X,I2,4X,I2,5X,F6.4,5X,E8.3,5X,E8.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,146
        read(1,'(A49)')ar__1
        read(ar__1,2)u,l,lambda,A,f_lu
c    ..............Just test output...........
        write(6,2)u,l,lambda,A,f_lu
c    .......End.of.Just test output...........
      end do
      close(1)

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