FORTRAN Generation
(/./ftp/cats/J/A_AS/140/193)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/140/193 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+AS/140/193      Stark broadening of Zn I               (Dimitrijevic+, 1999)
*================================================================================
*Stark broadening of neutral zinc spectral lines
*      Dimitrijevic M.S., Sahal-Brechot S.
*     <Astron. Astrophys. Suppl. Ser. 140, 193 (1999)>
*     =1999A&AS..140..193D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Stark broadening parameters due to e-, p- and
                                 He II-impacts for Zn I for perturber densities
                                 1.E+13cm-3 - 1.E+19cm-3.

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

      real*4        N          (nr__) ! (cm-3) Perturber density
      character*4   El         (nr__) ! [Zn I] Element
      character*6   Tr         (nr__) ! Transition (4)
      real*8        lambda     (nr__) ! (0.1nm) Wavelength
      real*4        C          (nr__) ! (0.1nm/cm3) Parameter C (1)
      real*8        T          (nr__) ! (K) Temperature
      character*1   n_We       (nr__) ! [*] See note (5)
      real*4        We         (nr__) ! (0.1nm) FWHM for electron impacts (2)
      character*1   n_de       (nr__) ! [*] See note (5)
      real*4        de         (nr__) ! (0.1nm) Shift for electron impacts (3)
      character*1   n_Wp       (nr__) ! [*] See note (5)
      real*4        Wp         (nr__) ! (0.1nm) FWHM for proton impacts (2) (6)
      character*1   n_dp       (nr__) ! [*] See note (5)
      real*4        dp         (nr__) ! (0.1nm) Shift for proton impacts (3) (6)
      character*1   n_WHe_     (nr__) ! [*] See note (5)
      real*4        WHe_       (nr__) ! (0.1nm) FWHM for He II-impacts (2)
      character*1   n_dHe_     (nr__) ! [*] See note (5)
      real*4        dHe_       (nr__) ! (0.1nm) Shift for He II-impacts (3)
*Note (1): C/FWHM gives an estimate of the maximum perturber density for
*     which the line may be treated as isolated and tabulated data may be used
*Note (2): FWHM denotes Full Width at Half Maximum
*Note (3): A positive (resp. negative) shift is towards the red (resp. blue)
*Note (4): In the first part of the Table are singlets and in the second triplets
*Note (5): An asterisk in this column indicates that 0.1<NV<0.5, (V =
*     collision volume); beware of the fact that the limit of validity of
*     the impact approximation  is attained for the value that follows
*Note (6): Values for NV>0.5 are not given, because in this case the impact
*     approximation is no longer valid

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

C  Loading file 'table1.dat'	! Stark broadening parameters due to e-, p- and
*                                 He II-impacts for Zn I for perturber densities
*                                 1.E+13cm-3 - 1.E+19cm-3.

C  Format for file interpretation

    1 format(
     +  E7.2,2X,A4,2X,A6,1X,F8.1,2X,E8.2,2X,F8.0,1X,A1,E9.3,1X,A1,
     +  E10.3,2X,A1,E9.3,2X,A1,E10.3,2X,A1,E9.3,2X,A1,E10.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,594
        read(1,'(A123)')ar__
        read(ar__,1)
     +  N(i__),El(i__),Tr(i__),lambda(i__),C(i__),T(i__),n_We(i__),
     +  We(i__),n_de(i__),de(i__),n_Wp(i__),Wp(i__),n_dp(i__),dp(i__),
     +  n_WHe_(i__),WHe_(i__),n_dHe_(i__),dHe_(i__)
c    ..............Just test output...........
        write(6,1)
     +  N(i__),El(i__),Tr(i__),lambda(i__),C(i__),T(i__),n_We(i__),
     +  We(i__),n_de(i__),de(i__),n_Wp(i__),Wp(i__),n_dp(i__),dp(i__),
     +  n_WHe_(i__),WHe_(i__),n_dHe_(i__),dHe_(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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