FORTRAN Generation
(/./ftp/cats/J/MNRAS/390/733)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/390/733 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-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/MNRAS/390/733     FTS reference UV wavelengths of CrIII    (Smillie+, 2008)
*================================================================================
*Reference ultraviolet wavelengths of Cr III measured by Fourier transform
*spectrometry.
*    Smillie D.G., Pickering J.C., Smith P.L.
*   <Mon. Not. R. Astron. Soc., 390, 733-740 (2008)>
*   =2008MNRAS.390..733S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! The classified Cr III transition linelist
                              observed by FTS

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

      real*4        logInt      ! ([-]) Logarithm (to the base ten) of the integrated
*                                     intensity (in arbitrary units)
      real*4        FWHM        ! (cm-1) Line full-width at half maximum
      integer*4     SNR         ! Signal-to-noise ratio
      real*8        lam_air     ! (0.1nm) Air wavelength
      real*8        lam_vac     ! (0.1nm) Vacuum wavelength
      real*8        sigma       ! (cm-1) Line wavenumber
      real*4        Dsigma      ! (cm-1) Wavenumber difference
*                                    (sigma_obs_-sigma_Ritz_) (1)
      real*4        e_sigma     ! (cm-1) rms uncertainty on sigma
      character*25  Trans       ! Transition (Lower - Upper)
      character*3   Note        ! Note (2)
*Note (1): Wavenumber difference between the FTS observed wavCobs)
*     and the Ritz wavenumber from Ekberg (1997, Phys. Scr., 56, 141)
*Note (2): Note provides additional information about the line, as follows:
*     II = blended or doubly identified with a Cr II line
*    III = blended or doubly identified with a Cr III line
*     G = centre-of-gravity (COG) line fit (otherwise least-squares fit to
*         Voigt profile)

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

C  Loading file 'table1.dat'	! The classified Cr III transition linelist
*                              observed by FTS

C  Format for file interpretation

    1 format(
     +  F4.2,1X,F5.3,1X,I3,1X,F9.4,1X,F9.4,1X,F9.3,1X,F6.3,1X,F5.3,2X,
     +  A25,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,140
        read(1,'(A88)')ar__
        read(ar__,1)
     +  logInt,FWHM,SNR,lam_air,lam_vac,sigma,Dsigma,e_sigma,Trans,
     +  Note
c    ..............Just test output...........
        write(6,1)
     +  logInt,FWHM,SNR,lam_air,lam_vac,sigma,Dsigma,e_sigma,Trans,
     +  Note
c    .......End.of.Just test output...........
      end do
      close(1)

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