FORTRAN Generation
(/./ftp/cats/J/MNRAS/405/2260)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/405/2260 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-Apr-20
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/405/2260    GOODS-S field AzTEC/ASTE Deep 1.1mm imaging   (Scott+, 2010)
*================================================================================
*Deep 1.1mm-wavelength imaging of the GOODS-S field by AzTEC/ASTE.
*I. Source catalogue and number counts.
*    Scott K.S., Yun M.S., Wilson G.W., Austermann J.E., Aguilar E.,
*    Aretxaga I., Ezawa H., Ferrusca D., Hatsukade B., Hughes D.H., Iono D.,
*    Giavalisco M., Kawabe R., Kohno K., Mauskopf P.D., Oshima T., Perera T.A.,
*    Rand J., Tamura Y., Tosaki T., Velazquez M., Williams C.C., Zeballos M.
*   <Mon. Not. R. Astron. Soc., 405, 2260-2278 (2010)>
*   =2010MNRAS.405.2260S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! AzTEC/GOODS-S source candidates

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

      character*5   ID          ! AzTEC source identification (1)
      character*1   n_ID        ! [*] * for source candidates having probable 870um
*                                  counterparts detected with S/N>= 3.7 in the
*                                  LABOCA map (from LABOCA camera)
      character*19  AzTEC       ! AzTEC designation (JHHMMSS.ss+DDMMSS.s)
      real*4        S_N         ! ? Signal-to-noise ratio of the detection in
*                                the AzTEC
      real*4        S1_1        ! (mJy) Measured flux density at 1.1mm
      real*4        e_S1_1      ! (mJy) rms uncertainty on S1.1
      real*4        S1_1d       ! (mJy) Deboosted flux density at 1.1mm
      real*4        E_S1_1d     ! (mJy) Error on S1.1d (upper limit, 68% confidence level)
      real*4        e_S1_1d_1   ! (mJy) Error on S1.1d (lower limit, 68% confidence level)
*Note (1): The first 41 sources (AzTEC/GS1-AzTEC/GS40) are detected with
*     S/N>=3.5 within the uniform coverage region of the AzTEC/GOODS-S map,
*     where two are expected to be false positives. The seven additional
*     S/N>=4.5 sources (AzTEC/GS41-AzTEC/GS47) are located outside the
*     uniform coverage region.

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

C  Loading file 'table1.dat'	! AzTEC/GOODS-S source candidates

C  Format for file interpretation

    1 format(
     +  6X,A5,A1,7X,A19,1X,F4.1,1X,F3.1,1X,F3.1,1X,F3.1,1X,F3.1,1X,
     +  F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,49
        read(1,'(A63)')ar__
        read(ar__,1)
     +  ID,n_ID,AzTEC,S_N,S1_1,e_S1_1,S1_1d,E_S1_1d,e_S1_1d_1
        if(ar__(40:43) .EQ. '') S_N = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  ID,n_ID,AzTEC,S_N,S1_1,e_S1_1,S1_1d,E_S1_1d,e_S1_1d_1
c    .......End.of.Just test output...........
      end do
      close(1)

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