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 loading all data files into arrays.

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-14
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     (nr__) ! Source identifier (JHHMMSS+DDMMSS) (1)
      character*1   m_Source   (nr__) ! [a-i] Gaussian component (2)
      real*8        RAdeg      (nr__) ! (deg) Centroid right ascension (J2000)
      real*4        e_RAdeg    (nr__) ! (arcsec) [0/2] rms uncertainty on RA (1{sigma})
      real*8        DEdeg      (nr__) ! (deg) Centroid declination (J2000)
      real*4        e_DEdeg    (nr__) ! (arcsec) [0/2] rms uncertainty on DEC (1{sigma})
      real*4        Si         (nr__) ! (mJy) [0.1/2013] 325MHz integrated flux density
      real*4        e_Si       (nr__) ! (mJy) rms uncertainty on Si (1{sigma})
      real*4        Sp         (nr__) ! (mJy) [0.8/873] 325MHz peak flux density in mJy/beam
      real*4        e_Sp       (nr__) ! (mJy) rms uncertainty on Sp (1{sigma}) in mJy/beam
      real*4        a          (nr__) ! (arcsec) Deconvolved major-axis
      real*4        e_a        (nr__) ! (arcsec) rms uncertainty on a (1{sigma})
      real*4        b          (nr__) ! (arcsec) Deconvolved minor-axis
      real*4        e_b        (nr__) ! (arcsec) rms uncertainty on b (1{sigma})
      real*4        phi        (nr__) ! (deg) [0/180] position angle {phi}
      real*4        e_phi      (nr__) ! (deg) rms uncertainty on phi (1{sigma})
      real*4        rms        (nr__) ! (mJy) Local RMS image noise near source in mJy/beam
      integer*4     Ng         (nr__) ! [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(i__),m_Source(i__),RAdeg(i__),e_RAdeg(i__),DEdeg(i__),
     +  e_DEdeg(i__),Si(i__),e_Si(i__),Sp(i__),e_Sp(i__),a(i__),
     +  e_a(i__),b(i__),e_b(i__),phi(i__),e_phi(i__),rms(i__),Ng(i__)
        if(ar__(103:103) .EQ. '') Ng(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Source(i__),m_Source(i__),RAdeg(i__),e_RAdeg(i__),DEdeg(i__),
     +  e_DEdeg(i__),Si(i__),e_Si(i__),Sp(i__),e_Sp(i__),a(i__),
     +  e_a(i__),b(i__),e_b(i__),phi(i__),e_phi(i__),rms(i__),Ng(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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