FORTRAN Generation
(/./ftp/cats/J/MNRAS/385/2225)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/385/2225 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-Jun-08
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/385/2225    AzTEC millimetre survey of COSMOS field  (Scott+, 2008)
*================================================================================
*AzTEC millimetre survey of the COSMOS field.
*I. Data reduction and source catalogue.
*    Scott K.S., Austermann J.E., Perera T.A., Wilson G.W., Aretxaga I.,
*    Bock J.J., Hughes D.H., Kang Y., Kim S., Mauskopf P.D., Sanders D.B.,
*    Scoville N., Yun M.S.
*   <Mon. Not. R. Astron. Soc., 385, 2225-2238 (2008)>
*   =2008MNRAS.385.2225S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! AzTEC/COSMOS source candidates

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

      character*19  AzTEC       ! AzTEC source designation, JHHMMSS.ss+DDMMSS.s
      character*3   n_AzTEC     ! [abcde, ] Note on AzTEC (1)
      character*6   SMA         ! SMA identification (AzTECN)
      real*4        S_N         ! Signal-to-noise ratio of the detection in
*                                    the AzTEC map
      real*4        S1_1        ! (mJy) Measured flux density at 1.1mm
      real*4        e_S1_1      ! (mJy) rms uncertainty on S1.1mm
      real*4        S1_1d       ! (mJy) Deboosted flux density at 1.1mm
      real*4        E_S1_1d     ! (mJy) 68% confidence interval (upper limit)
      real*4        e_S1_1d_1   ! (mJy) 68% confidence interval (lower limit)
      real*4        S0_89       ! (mJy) ? 890um flux density (Younger et al.,
*                                     2007ApJ...671.1531Y)
      real*4        e_S0_89     ! (mJy) ? rms uncertainty on S890um
      real*4        P_S1_1_0    ! Probability that the source will deboost to
*                                   a negative flux (i.e. false detection)
*Note (1): Notes as follows:
*      a = Sources have also been detected with Bolocam
*          (J. Aguirre, private communication)
*      b = AzTEC sources with one or more candidate MIPS 24um counterpart
*          (Section 6.3)
*      c = AzTEC sources with one or more candidate radio counterpart
*          (Section 6.2)
*      d = These sources have very non-Gaussian PFDs and ill-defined local
*          maxima due to low S/N. In these cases, the deboosted flux
*          densities have been determined by the expectation value of 
*          the flux given the PFD

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

C  Loading file 'table1.dat'	! AzTEC/COSMOS source candidates

C  Format for file interpretation

    1 format(
     +  6X,A19,A3,1X,A6,1X,F3.1,1X,F4.1,1X,F3.1,1X,F3.1,1X,F3.1,1X,
     +  F3.1,1X,F4.1,1X,F3.1,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,52
        read(1,'(A75)')ar__
        read(ar__,1)
     +  AzTEC,n_AzTEC,SMA,S_N,S1_1,e_S1_1,S1_1d,E_S1_1d,e_S1_1d_1,
     +  S0_89,e_S0_89,P_S1_1_0
        if(ar__(62:65) .EQ. '') S0_89 = rNULL__
        if(ar__(67:69) .EQ. '') e_S0_89 = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  AzTEC,n_AzTEC,SMA,S_N,S1_1,e_S1_1,S1_1d,E_S1_1d,e_S1_1d_1,
     +  S0_89,e_S0_89,P_S1_1_0
c    .......End.of.Just test output...........
      end do
      close(1)

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