FORTRAN Generation
(/./ftp/cats/J/ApJ/773/67)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/773/67 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-12
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/773/67     Compact radio sources near the Galactic center     (Roy, 2013)
*================================================================================
*Density of warm ionized gas near the Galactic center: low radio frequency
*observations.
*    Roy S.
*   <Astrophys. J., 773, 67 (2013)>
*   =2013ApJ...773...67R
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Flux density and source sizes near the 
                             Galactic center (GC)

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

C  Position composed of: GLON GLAT
      real*8        GLON       (nr__) ! (deg) Galactic longitude
      real*4        GLAT       (nr__) ! (deg) Galactic latitude
      integer*4     S154       (nr__) ! (mJy) [106/1895]? 0.154GHz flux density
      integer*4     S255       (nr__) ! (mJy) [94/2170]? 0.255GHz flux density
      integer*4     S1400      (nr__) ! (mJy) [51/1623] 1.4GHz flux density
      real*4        alpha      (nr__) ! [-3/1.4]? Spectral index (1)
      integer*4     Sexp       (nr__) ! [67/10585]? Expected flux density at 154MHz (2)
      real*4        Sexp_S     (nr__) ! [0.09/2.9]? Ratio of expected to measured flux
*                                  densities at 0.154GHz
      real*4        t154       (nr__) ! (arcsec) [0/59.1]? Angular size {theta} at 0.154GHz
      real*4        t255       (nr__) ! (arcsec) [0/44.6]? Angular size {theta} at 0.255GHz
      real*4        t1400      (nr__) ! (arcsec) [0/13]? Angular size {theta} at 1.4GHz
      integer*4     Size       (nr__) ! (arcsec) [0/31]? Scattering size at a fiducial
*                                  wavelength of 1m (3)
*Note (1): All the sources detected at 0.154 or 0.255GHz were found to have
*          counterparts at 0.33GHz survey (Nord et al. 2004, J/AJ/128/1646;
*          <GCPS GLLL.lll+B.bbb> in Simbad). We compute spectral indices for all
*          the 0.33GHz sources based on the detection of counterparts in the
*          Galactic plane survey of radio sources at 1.4GHz (GPSR; White et al.
*          2005, J/AJ/130/586, <[WBH2005] GLLL.lll+B.bbb> in Simbad), or in the
*          survey of compact sources toward the GC (Lazio & Cordes 2008,
*          J/ApJS/174/481; <2LC LLL.lll+B.bbb> in Simbad).
*          Spectral indices ({alpha}) for these sources have been computed
*          following the convention of flux density (S){propto}{nu}^{alpha}^
*          between 1.4 and 0.33GHz. See section 3.
*Note (2): Expected flux density from extrapolation of spectral index between
*          0.33 and 1.4GHz and flux density at 0.33GHz.
*Note (3): Typical error on the size is ~2.4".

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

C  Loading file 'table1.dat'	! Flux density and source sizes near the 
*                             Galactic center (GC)

C  Format for file interpretation

    1 format(
     +  F7.3,1X,F6.3,1X,I4,1X,I4,1X,I4,1X,F4.1,1X,I5,1X,F4.2,1X,F5.2,
     +  1X,F4.1,1X,F4.1,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,62
        read(1,'(A64)')ar__
        read(ar__,1)
     +  GLON(i__),GLAT(i__),S154(i__),S255(i__),S1400(i__),alpha(i__),
     +  Sexp(i__),Sexp_S(i__),t154(i__),t255(i__),t1400(i__),Size(i__)
        if(ar__(16:19) .EQ. '') S154(i__) = iNULL__
        if(ar__(21:24) .EQ. '') S255(i__) = iNULL__
        if(ar__(31:34) .EQ. '') alpha(i__) = rNULL__
        if(ar__(36:40) .EQ. '') Sexp(i__) = iNULL__
        if(ar__(42:45) .EQ. '') Sexp_S(i__) = rNULL__
        if(ar__(47:51) .EQ. '') t154(i__) = rNULL__
        if(ar__(53:56) .EQ. '') t255(i__) = rNULL__
        if(ar__(58:61) .EQ. '') t1400(i__) = rNULL__
        if(ar__(63:64) .EQ. '') Size(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  GLON(i__),GLAT(i__),S154(i__),S255(i__),S1400(i__),alpha(i__),
     +  Sexp(i__),Sexp_S(i__),t154(i__),t255(i__),t1400(i__),Size(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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