FORTRAN Generation
(/./ftp/cats/J/MNRAS/458/3411)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/458/3411 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-18
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/458/3411    Galactic SNR ^44^Ti survey         (Tsygankov+, 2016)
*================================================================================
*Galactic survey of ^44^Ti sources with the IBIS telescope onboard INTEGRAL.
*    Tsygankov S.S., Krivonos R.A., Lutovinov A.A., Revnivtsev M.G.,
*    Churazov E.M., Sunyaev R.A., Grebenev S.A.
*   <Mon. Not. R. Astron. Soc., 458, 3411-3419 (2016)>
*   =2016MNRAS.458.3411T    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! The complete catalogue of Galactic SNRs (Green,
                                 2014, VII/272) with measured fluxes or 3 sigma
                                 upper limits in the 64.6-82.2keV band

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

C  Position composed of: GLON GLAT
      integer*4     Seq         ! Sequential number (1)
      character*11  SNR         ! SNR name (GLLL.l+BB.b)
      real*8        GLON        ! (deg) [] Galactic longitude
      real*8        GLAT        ! (deg) Galactic latitude
      character*1   l_Flux      ! 3 sigma limit flag on Flux (2)
      real*4        Flux        ! (10-15W/m2) ? Flux in 64.6-82.2keV band
      real*4        e_Flux      ! (10-15W/m2) ? rms uncertainty on Flux
      real*4        Signi       ! (10-15W/m2) ? Significance for detected sources
      character*77  Notes       ! Notes (3)
*Note (1): Catalogue is sorted by source name, which is in turn, based on
*  Galactic coordinates.
*Note (2): If significance of the detection of such source is above 3 sigma
*  level, an upper limit (3 sigma) in the 78.4keV line is shown assuming a
*  simple power-law continuum model.
*Note (3): The spatial confusion with a known hard X-ray source (shown in
*  parenthesis) is indicated. SNRs dominated by the continuum flux are marked
*  as well.

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

C  Loading file 'table2.dat'	! The complete catalogue of Galactic SNRs (Green,
*                                 2014, VII/272) with measured fluxes or 3 sigma
*                                 upper limits in the 64.6-82.2keV band

C  Format for file interpretation

    1 format(
     +  I3,5X,A11,1X,F8.3,1X,F7.3,1X,A1,F5.2,1X,F4.2,1X,F5.2,1X,A77)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,294
        read(1,'(A132)')ar__
        read(ar__,1)Seq,SNR,GLON,GLAT,l_Flux,Flux,e_Flux,Signi,Notes
        if(ar__(39:43) .EQ. '') Flux = rNULL__
        if(ar__(45:48) .EQ. '') e_Flux = rNULL__
        if(ar__(50:54) .EQ. '') Signi = rNULL__
c    ..............Just test output...........
        write(6,1)Seq,SNR,GLON,GLAT,l_Flux,Flux,e_Flux,Signi,Notes
c    .......End.of.Just test output...........
      end do
      close(1)

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