FORTRAN Generation
(/./ftp/cats/J/ApJ/844/7)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/844/7 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-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/ApJ/844/7     X-ray line ratios for diverse ion collisions     (Mullen+, 2017)
*================================================================================
*Line ratios for solar wind charge exchange with comets.
*    Mullen P.D., Cumbee R.S., Lyons D., Gu L., Kaastra J., Shelton R.L.,
*    Stancil P.C.
*   <Astrophys. J., 844, 7 (2017)>
*   =2017ApJ...844....7M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Charge exchange induced X-ray emission of H and
                                He-like C-Si

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

      real*8        PhE         ! (eV) [298.9/2646.5] Photon energy
      character*6   Ion         ! Ion designation
      character*3   Target      ! Target (CO, CO2, H2O, N2, O or OH)
      character*9   Line        ! Emission line
      real*4        I200        ! [0/7.2] Normalized intensity at 200km/s collision
*                              velocity (1)
      real*8        I400        ! [0/11.8] Normalized intensity at 400km/s collision
*                              velocity (1)
      real*4        I600        ! [0/9.5] Normalized intensity at 600km/s collision
*                              velocity (1)
      real*4        I800        ! [0/6.9] Normalized intensity at 800km/s collision
*                              velocity (1)
      real*4        I1000       ! [0/5.7] Normalized intensity at 1000km/s collision
*                              velocity (1)
*Note (1): Line Ratios for X-ray emission resulting from C-Si bare and H-like
*          ions charge exchange (CX) collisions with N2, H2O, CO, CO2, OH, and O.
*          Note that all lines are normalized to the Lyalpha line and Kalpha
*          resonant line for bare ion and non-bare ion collisions, respectively.
*          Line ratios for bare ion collisions were obtained by applying the low
*          energy distribution (Equation 3.2) to multi-channel Landau-Zener
*          (MCLZ) n-resolved cross sections. For non-bare ion collisions,
*          MCLZ nlS-resolved cross sections were used to obtain these ratios.
*          See text for details.

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

C  Loading file 'table1.dat'	! Charge exchange induced X-ray emission of H and
*                                He-like C-Si

C  Format for file interpretation

    1 format(
     +  F7.2,1X,A6,1X,A3,1X,A9,1X,F6.4,1X,F7.4,1X,F6.4,1X,F6.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,674
        read(1,'(A64)')ar__
        read(ar__,1)PhE,Ion,Target,Line,I200,I400,I600,I800,I1000
c    ..............Just test output...........
        write(6,1)PhE,Ion,Target,Line,I200,I400,I600,I800,I1000
c    .......End.of.Just test output...........
      end do
      close(1)

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