FORTRAN Generation
(/./ftp/cats/J/A_A/417/375)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/417/375 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-Aug-16
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/417/375       Cd III Stark broadening parameters      (Milovanovic+, 2004)
*================================================================================
*Importance of collisions with charged particles for stellar UV line shapes:
*Cd III.
*    Milovanovic N., Dimitrijevic M.S., Popovic L.C., Simic Z.
*    <Astron. Astrophys. 417, 375 (2004)>
*    =2004A&A...417..375M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! *Stark full widths and shifts for Cd III lines
                              calculated within the modified semi-empirical
                              approach

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

      real*8        lambda      ! (nm) Wavelength
      character*27  Trans       ! Transition
      integer*4     T           ! (K) Temperature
      real*4        FWHM        ! (nm) FWHM for electron impacts (1)
      real*4        d           ! (nm) Shift for electron impacts (2)
*Note (1): FWHM denotes Full Width at Half Maximum
*Note (2): A positive (resp. negative) shift is towards the red (resp. blue)

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

C  Declarations for 'table2.dat'	! Stark widths in rad/s per electron for T=10000K
                              and constants logA0 and A1 as described in paper

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

      real*8        lambda_1    ! (nm) Wavelength
      character*27  Trans_1     ! Transition
      real*8        logw        ! ([rad/s]) Stark width per electron (1)
      real*8        logA0       ! Constant A0 (2)
      real*8        A1          ! Constant A1 (2)
*Note (1): logw denotes logarithm of Stark width per electron for T=10000K
*Note (2): w/N = A0*T^A1^, with the electron density N=10^13^m^-3^ and T=10000K

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

C  Loading file 'table1.dat'	! *Stark full widths and shifts for Cd III lines
*                              calculated within the modified semi-empirical
*                              approach

C  Format for file interpretation

    1 format(F7.3,1X,A27,1X,I5,1X,E8.3,1X,E9.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,588
        read(1,'(A62)')ar__
        read(ar__,1)lambda,Trans,T,FWHM,d
c    ..............Just test output...........
        write(6,1)lambda,Trans,T,FWHM,d
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Stark widths in rad/s per electron for T=10000K
*                              and constants logA0 and A1 as described in paper

C  Format for file interpretation

    2 format(F7.3,1X,A27,1X,F8.5,1X,F8.5,1X,F8.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,84
        read(1,'(A62)')ar__1
        read(ar__1,2)lambda_1,Trans_1,logw,logA0,A1
c    ..............Just test output...........
        write(6,2)lambda_1,Trans_1,logw,logA0,A1
c    .......End.of.Just test output...........
      end do
      close(1)

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