FORTRAN Generation
(/./ftp/cats/J/A_A/469/1203)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/469/1203 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-Mar-29
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/469/1203      IRON project LXIV                        (Melendez+, 2007)
*================================================================================
*Atomic data from the IRON project.
*LXIV. Radiative transition rates and collision strengths for Ca II.
*    Melendez M., Bautista M.A., Badnell N.R.
*   <Astron. Astrophys. 469, 1203 (2007)>
*   =2007A&A...469.1203M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Configuration expansion for CaII and scaling
                              parameters for each orbital of the configuration
                              1s^2^ 2s^2^ 2p^6^ 3s^2^ sp^6^ nl
                              in the Thomas-Fermi-Dirac potential

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

      character*2   nl          ! nl term
      real*8        Lnl         ! Scaling parameter, {lambda}nl

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

C  Declarations for 'table2.dat'	! Terms energies for CaII

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

      integer*4     Seq         ! Sequential number
      character*6   Term        ! Term
      real*8        PI_w_o      ! (Ry) Computed energy without polarisation interaction
      real*8        PI          ! (Ry) Computed energy with polarisation interaction
      real*8        NIST        ! (Ry) Energy from NIST V3.1.0

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

C  Declarations for 'avalues.dat'	! A-values for CaII

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

      real*4        lambda      ! (0.1nm) Line wavelength
      real*4        A           ! (s-1) A value
      integer*4     i           ! Index of lower level
      integer*4     j           ! Index of upper level
      integer*4     Z           ! [20] Nuclear charge

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

C  Declarations for 'energyle.dat'	! Energy levels for CaII

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

      real*4        E           ! (eV) Energy
      real*4        v2J_1       ! 2J+1 of the level
      integer*4     v2S_1       ! 2S+1 of the level
      integer*4     L           ! L of multiplet
      integer*4     Z_1         ! [20] Nuclear charge
      integer*4     Index       ! Level index
      character*6   Conf        ! Electronic configuration

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

C  Declarations for 'upsilon.dat'	! Upsilon values for electron impact excitation

      integer*4 nr__4
      parameter (nr__4=820)	! Number of records
      character*167 ar__4  	! Full-size record

      integer*4     i_1         ! lower level
      integer*4     j_1         ! upper level
      real*4        U1          ! Upsilon value for T=3.0E+3K
      real*4        U2          ! Upsilon value for T=5.0E+3K
      real*4        U3          ! Upsilon value for T=8.0E+3K
      real*4        U4          ! Upsilon value for T=1.0E+4K
      real*4        U5          ! Upsilon value for T=1.5E+4K
      real*4        U6          ! Upsilon value for T=1.8E+4K
      real*4        U7          ! Upsilon value for T=2.0E+4K
      real*4        U8          ! Upsilon value for T=2.5E+4K
      real*4        U9          ! Upsilon value for T=2.8E+4K
      real*4        U10         ! Upsilon value for T=3.0E+4K
      real*4        U11         ! Upsilon value for T=3.5E+4K
      real*4        U12         ! Upsilon value for T=3.8E+4K

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

C  Loading file 'table1.dat'	! Configuration expansion for CaII and scaling
*                              parameters for each orbital of the configuration
*                              1s^2^ 2s^2^ 2p^6^ 3s^2^ sp^6^ nl
*                              in the Thomas-Fermi-Dirac potential

C  Format for file interpretation

    1 format(1X,A2,2X,F7.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,28
        read(1,'(A12)')ar__
        read(ar__,1)nl,Lnl
c    ..............Just test output...........
        write(6,1)nl,Lnl
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Terms energies for CaII

C  Format for file interpretation

    2 format(I2,1X,A6,1X,F8.6,1X,F8.6,1X,F8.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,23
        read(1,'(A36)')ar__1
        read(ar__1,2)Seq,Term,PI_w_o,PI,NIST
c    ..............Just test output...........
        write(6,2)Seq,Term,PI_w_o,PI,NIST
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'avalues.dat'	! A-values for CaII

C  Format for file interpretation

    3 format(20X,E12.6,8X,E12.5,2X,I2,2X,I2,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'avalues.dat')
      write(6,*) '....Loading file: avalues.dat'
      do i__=1,548
        read(1,'(A69)')ar__2
        read(ar__2,3)lambda,A,i,j,Z
c    ..............Just test output...........
        write(6,3)lambda,A,i,j,Z
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'energyle.dat'	! Energy levels for CaII

C  Format for file interpretation

    4 format(13X,E12.7,2X,F3.0,20X,I1,1X,I1,1X,I2,2X,I2,7X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'energyle.dat')
      write(6,*) '....Loading file: energyle.dat'
      do i__=1,41
        read(1,'(A77)')ar__3
        read(ar__3,4)E,v2J_1,v2S_1,L,Z_1,Index,Conf
c    ..............Just test output...........
        write(6,4)E,v2J_1,v2S_1,L,Z_1,Index,Conf
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'upsilon.dat'	! Upsilon values for electron impact excitation

C  Format for file interpretation

    5 format(
     +  1X,I2,3X,I2,3X,E11.6,2X,E11.6,2X,E11.6,2X,E11.6,2X,E11.6,2X,
     +  E11.6,4X,E11.6,2X,E11.6,2X,E11.6,2X,E11.6,2X,E11.6,2X,E11.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'upsilon.dat')
      write(6,*) '....Loading file: upsilon.dat'
      do i__=1,820
        read(1,'(A167)')ar__4
        read(ar__4,5)i_1,j_1,U1,U2,U3,U4,U5,U6,U7,U8,U9,U10,U11,U12
c    ..............Just test output...........
        write(6,5)i_1,j_1,U1,U2,U3,U4,U5,U6,U7,U8,U9,U10,U11,U12
c    .......End.of.Just test output...........
      end do
      close(1)

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