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 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 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      (nr__) ! Index number
      character*16  Conf       (nr__) ! Configuration
      character*2   LS         (nr__) ! LS state
      real*4        J          (nr__) ! J-value arising from each LS state
      real*8        E          (nr__) ! (cm-1) Energy
      character*59  Comp       (nr__) ! 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     (nr__1) ! Index of lower level
      integer*4     Index1     (nr__1) ! Index of upper level
      real*4        E_1        (nr__1) ! (0.1nm) Transition energy
      real*4        A          (nr__1) ! (s-1) Radiative transition probability
      real*4        f          (nr__1) ! Absorption oscillator strength
      real*4        S          (nr__1) ! Transition strength (length form),
*                                  in atomic units
      real*4        vel_len    (nr__1) ! ? 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   (nr__2) ! Index of lower level
      integer*4     Index1_1   (nr__2) ! Index of upper level
      real*4        E_2        (nr__2) ! (0.1nm) Transition energy
      real*4        A_1        (nr__2) ! (s-1) Radiative transition probability
      real*4        f_1        (nr__2) ! Absorption oscillator strength
      real*4        S_1        (nr__2) ! Transition strength (length form),
*                                  in atomic units
      real*4        vel_len_1  (nr__2) ! ? 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   (nr__3) ! Index of lower level
      integer*4     Index1_2   (nr__3) ! Index of upper level
      real*4        E_3        (nr__3) ! (0.1nm) Transition energy
      real*4        A_2        (nr__3) ! (s-1) Radiative transition probability
      real*4        f_2        (nr__3) ! Absorption oscillator strength
      real*4        S_2        (nr__3) ! Transition strength (length form),
*                                  in atomic units
      real*4        vel_len_2  (nr__3) ! ? 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(i__),Conf(i__),LS(i__),J(i__),E(i__),Comp(i__)
c    ..............Just test output...........
        write(6,1)
     +  Index(i__),Conf(i__),LS(i__),J(i__),E(i__),Comp(i__)
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(i__),Index1(i__),E_1(i__),A(i__),f(i__),S(i__),
     +  vel_len(i__)
        if(ar__1(62:66) .EQ. '') vel_len(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Index2(i__),Index1(i__),E_1(i__),A(i__),f(i__),S(i__),
     +  vel_len(i__)
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(i__),Index1_1(i__),E_2(i__),A_1(i__),f_1(i__),
     +  S_1(i__),vel_len_1(i__)
        if(ar__2(62:66) .EQ. '') vel_len_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  Index2_1(i__),Index1_1(i__),E_2(i__),A_1(i__),f_1(i__),
     +  S_1(i__),vel_len_1(i__)
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(i__),Index1_2(i__),E_3(i__),A_2(i__),f_2(i__),
     +  S_2(i__),vel_len_2(i__)
        if(ar__3(62:66) .EQ. '') vel_len_2(i__) = rNULL__
c    ..............Just test output...........
        write(6,4)
     +  Index2_2(i__),Index1_2(i__),E_3(i__),A_2(i__),f_2(i__),
     +  S_2(i__),vel_len_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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