FORTRAN Generation
(/./ftp/cats/J/A_A/525/A59)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/525/A59 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 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/A+A/525/A59    Atomic data for Al ions   (Palmeri+, 2011)
*================================================================================
*Atomic decay data for modeling the Al K lines.
*    Palmeri P., Quinet P., Mendoza C., Bautista M.A., Garcia J., Witthoeft M.C.,
*    Kallman T.R.
*   <Astron. Astrophys. 525, A59 (2011)>
*   =2011A&A...525A..59P
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table14.dat'	! Valence and K-vacancy levels in Al ions

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

      integer*4     N          (nr__) ! [2/13] Number of electrons
      integer*4     i          (nr__) ! [1/50] Level index
      integer*4     v2S_1      (nr__) ! [1/6] Spin multiplicity
      integer*4     L          (nr__) ! [0/3] Orbital angular momentum quantum number
      integer*4     v2J        (nr__) ! [0/7] 2*(Total angular momentum quantum number)
      character*23  Conf       (nr__) ! Configuration assignment
      real*4        E          (nr__) ! (keV) Level energy
      real*4        Ar         (nr__) ! (s-1) Radiative width
      real*4        Aa         (nr__) ! (s-1) Auger width
      real*4        WK         (nr__) ! Fluorescence yield

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

C  Declarations for 'table15.dat'	! K-vacancy transitions in Al ions

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

      integer*4     N_1        (nr__1) ! [2/13] Number of electrons
      integer*4     k          (nr__1) ! [4/50] Upper level index
      integer*4     i_1        (nr__1) ! [1/36] Lower level index
      real*4        WL         (nr__1) ! (0.1nm) Wavelength (in {AA})
      real*4        Ar_1       (nr__1) ! (s-1) Radiative transition probability
      real*4        gf         (nr__1) ! Weighted oscillator strength
      real*4        CF         (nr__1) ! Cancellation factor

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

C  Loading file 'table14.dat'	! Valence and K-vacancy levels in Al ions

C  Format for file interpretation

    1 format(
     +  I2,1X,I3,1X,I1,1X,I1,1X,I2,1X,A23,1X,E10.4,1X,E8.3,1X,E8.3,1X,
     +  E8.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table14.dat')
      write(6,*) '....Loading file: table14.dat'
      do i__=1,336
        read(1,'(A75)')ar__
        read(ar__,1)
     +  N(i__),i(i__),v2S_1(i__),L(i__),v2J(i__),Conf(i__),E(i__),
     +  Ar(i__),Aa(i__),WK(i__)
c    ..............Just test output...........
        write(6,1)
     +  N(i__),i(i__),v2S_1(i__),L(i__),v2J(i__),Conf(i__),E(i__),
     +  Ar(i__),Aa(i__),WK(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table15.dat'	! K-vacancy transitions in Al ions

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table15.dat')
      write(6,*) '....Loading file: table15.dat'
      do i__=1,1064
        read(1,'(A42)')ar__1
        read(ar__1,2)
     +  N_1(i__),k(i__),i_1(i__),WL(i__),Ar_1(i__),gf(i__),CF(i__)
c    ..............Just test output...........
        write(6,2)
     +  N_1(i__),k(i__),i_1(i__),WL(i__),Ar_1(i__),gf(i__),CF(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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