FORTRAN Generation
(/./ftp/cats/J/ApJ/849/5)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/849/5 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/849/5 L-edge single and multiple photoionization of Fe+ (Schippers+, 2017)
*================================================================================
*Near L-edge single and multiple photoionization of singly charged iron ions.
*    Schippers S., Martins M., Beerwerth R., Bari S., Holste K., Schubert K.,
*    Viefhaus J., Savin D.W., Fritzsche S., Muller A.
*   <Astrophys. J., 849, 5 (2017)>
*   =2017ApJ...849....5S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Measured cross sections

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

      real*8        E           ! (eV) [680.9/921.1] Photon energy
      real*8        sig1        ! (Mbarn) [0.008/2.6] Cross section for 1-fold
*                               photoionization of Fe+ ions
      real*8        e_sig1      ! (Mbarn) [0.003/0.02] Statistical experimental uncertainty
*                               in sig1 (1)
      real*8        sig2        ! (Mbarn) [0.1/3.3] Cross section for 2-fold
*                               photoionization of Fe+ ions
      real*8        e_sig2      ! (Mbarn) [0.001/0.02] Statistical experimental uncertainty
*                               in sig2 (1)
      real*8        sig3        ! (Mbarn) [0.03/4.7] Cross section for 3-fold
*                               photoionization of Fe+ ions
      real*8        e_sig3      ! (Mbarn) [0.001/0.02] Statistical experimental uncertainty
*                               in sig3 (1)
      real*8        sig4        ! (Mbarn) [0/0.6]? Cross section for 4-fold
*                               photoionization of Fe+ ions
      real*4        e_sig4      ! (Mbarn) [0/0.008]? Statistical experimental uncertainty
*                               in sig4 (1)
      real*4        sig5        ! (Mbarn) [0/0.1]? Cross section for 5-fold
*                               photoionization of Fe+ ions
      real*4        e_sig5      ! (Mbarn) [0/0.003]? Statistical experimental uncertainty
*                               in sig5 (1)
      real*4        sig6        ! (Mbarn) [-3.3e-05/0.006] Cross section for 6-fold
*                               photoionization of Fe+ ions
      real*4        e_sig6      ! (Mbarn) [1.4e-05/0.0004] Statistical experimental
*                               uncertainty in sig6 (1)
      real*8        sigT        ! (Mbarn) [0/11]? Total cross section for m-fold
*                               photoionization of Fe+ ions
      real*8        e_sigT      ! (Mbarn) [0/0.03]? Statistical experimental uncertainty
*                               in sigT (1)
      real*8        q           ! [0/4.3]? Mean product charge-state, Eq. 2, Fig. 8b
      real*8        e_q         ! [0/0.03]? Statistical experimental uncertainty
*                               in q
*Note (1): The systematic uncertainties of the energy and cross-section scales
*          are +/-0.2eV and +/-15% (at 90% confidence level), respectively.

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

C  Loading file 'table2.dat'	! Measured cross sections

C  Format for file interpretation

    1 format(
     +  F7.3,1X,F7.5,1X,F7.5,1X,F7.5,1X,F7.5,1X,F7.5,1X,F7.5,1X,F7.5,
     +  1X,E11.5,1X,E11.5,1X,E11.5,1X,E12.5,1X,E11.5,1X,F8.5,1X,F7.5,
     +  1X,F7.5,1X,F7.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,1200
        read(1,'(A157)')ar__
        read(ar__,1)
     +  E,sig1,e_sig1,sig2,e_sig2,sig3,e_sig3,sig4,e_sig4,sig5,e_sig5,
     +  sig6,e_sig6,sigT,e_sigT,q,e_q
        if(ar__(57:63) .EQ. '') sig4 = rNULL__
        if(ar__(65:75) .EQ. '') e_sig4 = rNULL__
        if(ar__(77:87) .EQ. '') sig5 = rNULL__
        if(ar__(89:99) .EQ. '') e_sig5 = rNULL__
        if(ar__(126:133) .EQ. '') sigT = rNULL__
        if(ar__(135:141) .EQ. '') e_sigT = rNULL__
        if(ar__(143:149) .EQ. '') q = rNULL__
        if(ar__(151:157) .EQ. '') e_q = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  E,sig1,e_sig1,sig2,e_sig2,sig3,e_sig3,sig4,e_sig4,sig5,e_sig5,
     +  sig6,e_sig6,sigT,e_sigT,q,e_q
c    .......End.of.Just test output...........
      end do
      close(1)

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