FORTRAN Generation
(/./ftp/cats/J/A_A/433/745)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/433/745 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-11
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/433/745   FeXX energy levels + transition probabilities (Jonauskas+, 2005)
*================================================================================
*Energy levels and transition probabilities for nitrogen-like Fe XX.
*    Jonauskas V., Bogdanovich P., Keenan F.P., Foord M. E., Heeter R.F.,
*    Rose S.J., Ferland G.J., Kisielius R., van Hoof P.A.M., Norrington P.H.
*   <Astron. Astrophys. 433, 745 (2005)>
*   =2005A&A...433..745J
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Multiconfiguration Dirac-Fock (MCDF) calculated
                              energy levels relative to the ground energy of
                              Fe XX with spectroscopic identifications

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

      integer*4     Index       ! Index number
      character*16  Conf        ! Configuration
      character*2   LS          ! LS state
      real*4        J           ! J-value arising from each LS state
      real*8        E           ! (cm-1) Energy
      character*59  Comp        ! Composition (1)
*Note (1): Leading percentage compositions of levels which contributions
*     exceed 10% are presented in that column.

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

C  Declarations for 'table8.dat'	! E1-type transitions

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

      integer*4     Index2      ! Index of lower level
      integer*4     Index1      ! Index of upper level
      real*4        E_1         ! (0.1nm) Transition energy
      real*4        A           ! (s-1) Radiative transition probability
      real*4        f           ! Absorption oscillator strength
      real*4        S           ! Transition strength (length form),
*                                  in atomic units
      real*4        vel_len     ! ? Ratio between velocity and length forms of
*                                    transition operator (not in table10.dat)

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

C  Declarations for 'table9.dat'	! E2-type transitions

      integer*4 nr__2
      parameter (nr__2=25925)	! Number of records
      character*66 ar__2  	! Full-size record

      integer*4     Index2_1    ! Index of lower level
      integer*4     Index1_1    ! Index of upper level
      real*4        E_2         ! (0.1nm) Transition energy
      real*4        A_1         ! (s-1) Radiative transition probability
      real*4        f_1         ! Absorption oscillator strength
      real*4        S_1         ! Transition strength (length form),
*                                  in atomic units
      real*4        vel_len_1   ! ? Ratio between velocity and length forms of
*                                    transition operator (not in table10.dat)

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

C  Declarations for 'table10.dat'	! M1-type transitions

      integer*4 nr__3
      parameter (nr__3=6534)	! Number of records
      character*66 ar__3  	! Full-size record

      integer*4     Index2_2    ! Index of lower level
      integer*4     Index1_2    ! Index of upper level
      real*4        E_3         ! (0.1nm) Transition energy
      real*4        A_2         ! (s-1) Radiative transition probability
      real*4        f_2         ! Absorption oscillator strength
      real*4        S_2         ! Transition strength (length form),
*                                  in atomic units
      real*4        vel_len_2   ! ? Ratio between velocity and length forms of
*                                    transition operator (not in table10.dat)

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

C  Loading file 'table1.dat'	! Multiconfiguration Dirac-Fock (MCDF) calculated
*                              energy levels relative to the ground energy of
*                              Fe XX with spectroscopic identifications

C  Format for file interpretation

    1 format(I3,1X,A16,1X,A2,1X,F3.1,1X,F11.0,1X,A59)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,700
        read(1,'(A99)')ar__
        read(ar__,1)Index,Conf,LS,J,E,Comp
c    ..............Just test output...........
        write(6,1)Index,Conf,LS,J,E,Comp
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8.dat'	! E1-type transitions

C  Format for file interpretation

    2 format(2X,I3,2X,I3,4X,E8.3,4X,E8.3,4X,E8.3,4X,E8.3,3X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,12811
        read(1,'(A66)')ar__1
        read(ar__1,2)Index2,Index1,E_1,A,f,S,vel_len
        if(ar__1(62:66) .EQ. '') vel_len = rNULL__
c    ..............Just test output...........
        write(6,2)Index2,Index1,E_1,A,f,S,vel_len
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table9.dat'	! E2-type transitions

C  Format for file interpretation

    3 format(2X,I3,2X,I3,4X,E8.3,4X,E8.3,4X,E8.3,4X,E8.3,3X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,25925
        read(1,'(A66)')ar__2
        read(ar__2,3)Index2_1,Index1_1,E_2,A_1,f_1,S_1,vel_len_1
        if(ar__2(62:66) .EQ. '') vel_len_1 = rNULL__
c    ..............Just test output...........
        write(6,3)Index2_1,Index1_1,E_2,A_1,f_1,S_1,vel_len_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table10.dat'	! M1-type transitions

C  Format for file interpretation

    4 format(2X,I3,2X,I3,4X,E8.3,4X,E8.3,4X,E8.3,4X,E8.3,3X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10.dat')
      write(6,*) '....Loading file: table10.dat'
      do i__=1,6534
        read(1,'(A66)')ar__3
        read(ar__3,4)Index2_2,Index1_2,E_3,A_2,f_2,S_2,vel_len_2
        if(ar__3(62:66) .EQ. '') vel_len_2 = rNULL__
c    ..............Just test output...........
        write(6,4)Index2_2,Index1_2,E_3,A_2,f_2,S_2,vel_len_2
c    .......End.of.Just test output...........
      end do
      close(1)

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