FORTRAN Generation
(/./ftp/cats/J/MNRAS/450/1477)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/450/1477 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 2026-Oct-11
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/450/1477    VLA 352MHz image of the Bootes field. I.  (Coppejans+, 2015)
*================================================================================
*Megahertz peaked-spectrum sources in the Bootes field.
*I. A route towards finding high-redshift AGN.
*    Coppejans R., Cseh D., Williams W.L., van Velzen S., Falcke H
*   <Mon. Not. R. Astron. Soc. 450, 1477 (2015)>
*   =2015MNRAS.450.1477C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! List of sources and Gaussian component in the
                              VLA 325MHz image

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

C  J2000 position composed of: RAdeg DEdeg
      character*14  Source      ! Source identifier (JHHMMSS+DDMMSS) (1)
      character*1   m_Source    ! [a-i] Gaussian component (2)
      real*8        RAdeg       ! (deg) Centroid right ascension (J2000)
      real*4        e_RAdeg     ! (arcsec) [0/2] rms uncertainty on RA (1{sigma})
      real*8        DEdeg       ! (deg) Centroid declination (J2000)
      real*4        e_DEdeg     ! (arcsec) [0/2] rms uncertainty on DEC (1{sigma})
      real*4        Si          ! (mJy) [0.1/2013] 325MHz integrated flux density
      real*4        e_Si        ! (mJy) rms uncertainty on Si (1{sigma})
      real*4        Sp          ! (mJy) [0.8/873] 325MHz peak flux density in mJy/beam
      real*4        e_Sp        ! (mJy) rms uncertainty on Sp (1{sigma}) in mJy/beam
      real*4        a           ! (arcsec) Deconvolved major-axis
      real*4        e_a         ! (arcsec) rms uncertainty on a (1{sigma})
      real*4        b           ! (arcsec) Deconvolved minor-axis
      real*4        e_b         ! (arcsec) rms uncertainty on b (1{sigma})
      real*4        phi         ! (deg) [0/180] position angle {phi}
      real*4        e_phi       ! (deg) rms uncertainty on phi (1{sigma})
      real*4        rms         ! (mJy) Local RMS image noise near source in mJy/beam
      integer*4     Ng          ! [1/9]? Number of gaussians out of which
*                                         the source is composed (2)
*Note (1): Note that in the catalogue the source names were mistakenly derived
*   by rounding the RA and DEC values to the nearest second instead of
*   truncating them as recommended by the IAU.
*Note (2): The Gaussian components (if any) of the sources are given after the
*  sources. The components have the source name followed by an alphabetic symbol
*  (a,b,c,...) where "a" indicates the first Gaussian component,
*  "b" indicates the second ...

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

C  Loading file 'table1.dat'	! List of sources and Gaussian component in the
*                              VLA 325MHz image

C  Format for file interpretation

    1 format(
     +  A14,A1,1X,F9.5,1X,F3.1,1X,F8.5,1X,F3.1,1X,F6.1,1X,F5.1,1X,
     +  F5.1,1X,F5.1,1X,F4.1,1X,F3.1,1X,F4.1,1X,F3.1,1X,F5.1,1X,F5.1,
     +  1X,F3.1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,1706
        read(1,'(A103)')ar__
        read(ar__,1)
     +  Source,m_Source,RAdeg,e_RAdeg,DEdeg,e_DEdeg,Si,e_Si,Sp,e_Sp,a,
     +  e_a,b,e_b,phi,e_phi,rms,Ng
        if(ar__(103:103) .EQ. '') Ng = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Source,m_Source,RAdeg,e_RAdeg,DEdeg,e_DEdeg,Si,e_Si,Sp,e_Sp,a,
     +  e_a,b,e_b,phi,e_phi,rms,Ng
c    .......End.of.Just test output...........
      end do
      close(1)

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