FORTRAN Generation
(/./ftp/cats/J/A_A/501/801)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/501/801 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-Mar-29
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/A+A/501/801     CBI sample at 4.85GHz and 10.45GHz    (Angelakis+, 2009)
*================================================================================
*Multi-frequency measurements of the NVSS foreground sources in the Cosmic
*Background Imager fields. I. Data release.
*    Angelakis E., Kraus A., Readhead A.C.S., Zensus J.A., Bustos R.,
*    Krichbaum T.P., Witzel A., Pearson T.J.
*   <Astron. Astrophys. 501, 801 (2009)>
*   =2009A&A...501..801A
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table8.dat'	! The Effelsberg measured flux densities along with
                             the NVSS ones and the computed spectral indices

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

      character*11  Name        ! Source Name which consist of the J2000
*                                 NVSS coordinates (HHMMSS+DDMM)
      character*2   f_Name      ! [*+ ] De-confusion correction was applied:
*                                      (*) at 4.85GHz, (+) at 10.45GHz
      real*4        S1_4        ! (mJy) The NVSS 1.4GHz flux density
      real*4        e_S1_4      ! (mJy) The error in the NVSS flux density
      character*1   l_S4_85     ! Limit flag on S4.85
      real*4        S4_85       ! (mJy) 4.85GHz flux density measured at Effelsberg (2)
      real*4        e_S4_85     ! (mJy) ? rms uncertainty on S4.85
      character*1   l_S10_45    ! Limit flag on S10.45
      real*4        S10_45      ! (mJy) 10.45GHz flux density measured at Effelsberg (2)
      real*4        e_S10_45    ! (mJy) ? rms uncertainty on S10.45GHz
      real*4        alf_1       ! ? Spectral index between 1.4 and 4.85GHz (3)
      real*4        e_alf_1     ! ? rms uncertainty on alf.1
      real*4        alf_2       ! ? Spectral index between 4.85 and 10.45GHz (3)
      real*4        e_alf_2     ! ? rms uncertainty on alf.2
      real*4        alpha       ! ? Three-point least square fit spectral
*                                  index assuming S{prop.to}nu^{alpha}^ (4)
      real*4        e_alpha     ! ? rms uncertainty on alpha
*Note (2): The detection threshold is 5{sigma} so when there is no detection,
*     an upper limit of 5{sigma} is given after the symbol "<".
*Note (3): Empty field when there is no detection.
*Note (4): available when source is detected at both 4.85 and 10.45GHz.

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

C  Loading file 'table8.dat'	! The Effelsberg measured flux densities along with
*                             the NVSS ones and the computed spectral indices

C  Format for file interpretation

    1 format(
     +  A11,A2,1X,F6.1,1X,F4.1,1X,A1,F6.1,1X,F4.1,1X,A1,F6.1,1X,F4.1,
     +  1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,3434
        read(1,'(A84)')ar__
        read(ar__,1)
     +  Name,f_Name,S1_4,e_S1_4,l_S4_85,S4_85,e_S4_85,l_S10_45,S10_45,
     +  e_S10_45,alf_1,e_alf_1,alf_2,e_alf_2,alpha,e_alpha
        if(ar__(35:38) .EQ. '') e_S4_85 = rNULL__
        if(ar__(48:51) .EQ. '') e_S10_45 = rNULL__
        if(ar__(53:57) .EQ. '') alf_1 = rNULL__
        if(ar__(59:62) .EQ. '') e_alf_1 = rNULL__
        if(ar__(64:68) .EQ. '') alf_2 = rNULL__
        if(ar__(70:73) .EQ. '') e_alf_2 = rNULL__
        if(ar__(75:79) .EQ. '') alpha = rNULL__
        if(ar__(81:84) .EQ. '') e_alpha = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name,f_Name,S1_4,e_S1_4,l_S4_85,S4_85,e_S4_85,l_S10_45,S10_45,
     +  e_S10_45,alf_1,e_alf_1,alf_2,e_alf_2,alpha,e_alpha
c    .......End.of.Just test output...........
      end do
      close(1)

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