FORTRAN Generation
(/./ftp/cats/J/A_AS/143/269)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/143/269 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.8, on 2014-Oct-26
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__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/A+AS/143/269        6.7GHz methanol maser emission survey  (Szymczak+, 2000)
*================================================================================
*A survey of the 6.7 GHz methanol maser emission from IRAS sources. I. Data.
*    Szymczak M., Hrynek G., Kus A.J.
*   <Astron. Astrophys. Suppl. Ser. 143, 269 (2000)>
*   =2000A&AS..143..269S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! List of detections

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

      character*10  IRAS       (nr__) ! IRAS name
      integer*4     Vstart     (nr__) ! (km/s) Start LSR velocity of emission
      integer*4     Vend       (nr__) ! (km/s) End LSR velocity of emission
      real*4        Vpeak      (nr__) ! (km/s) LSR velocity of peak emission
      real*4        Speak      (nr__) ! (Jy) Peak flux density
      real*4        Sint       (nr__) ! (Jy.km/s) Integrated flux density
      character*5   Epoch      (nr__) ! ("MM/YY") Epoch of observation  (Month/Year)
      integer*4     Ref        (nr__) ! [1-11] Discovery reference (1)
*Note (1): Discovery reference:
*           1: this paper
*           2: Menten (1991ApJ...380L..75M)
*           3: MacLeod & Gaylard (1992MNRAS.256..519M)
*           4: Gaylard & MacLeod (1993MNRAS.262...43G)
*           5: Schutte et al. (1993MNRAS.261..783S)
*           6: Caswell et al. (1995MNRAS.272...96C)
*           7: van der Walt et al. (1995, Cat. <J/A+AS/110/81>)
*           8: Lyder & Galt (1997AJ....113.1310L)
*           9: Walsh et al. (1997, Cat. <J/MNRAS/291/261>)
*          10: MacLeod et al. (1998AJ....116.2936M)
*          11: Slysh et al. (1999, Cat. <J/A+AS/134/115>)

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

C  Declarations for 'table2.dat'	! List of non-detections

      integer*4 nr__1
      parameter (nr__1=1239)	! Number of records
      character*35 ar__1  	! Full-size record

      character*10  IRAS_1     (nr__1) ! IRAS name
      real*4        v1_sigma_  (nr__1) ! (Jy) 1 {sigma} level at 6.7GHz
      character*8   Epoch_1    (nr__1) ! ("DD/MM/YY") Month of observation
      character*10  Cont       (nr__1) ! Contamination source

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

C  Loading file 'table1.dat'	! List of detections

C  Format for file interpretation

    1 format(A10,1X,I3,1X,I3,1X,F5.1,1X,F6.1,1X,F6.1,1X,A5,1X,I2)

C  Effective file loading

      open(unit=1,file='table1.dat', status='old')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,182
        read(1,'(A47)')ar__
        read(ar__,1)
     +  IRAS(i__),Vstart(i__),Vend(i__),Vpeak(i__),Speak(i__),
     +  Sint(i__),Epoch(i__),Ref(i__)
c    ..............Just test output...........
        write(6,1)
     +  IRAS(i__),Vstart(i__),Vend(i__),Vpeak(i__),Speak(i__),
     +  Sint(i__),Epoch(i__),Ref(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! List of non-detections

C  Format for file interpretation

    2 format(A10,1X,F4.2,1X,A8,1X,A10)

C  Effective file loading

      open(unit=1,file='table2.dat', status='old')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,1239
        read(1,'(A35)')ar__1
        read(ar__1,2)IRAS_1(i__),v1_sigma_(i__),Epoch_1(i__),Cont(i__)
c    ..............Just test output...........
        write(6,2)IRAS_1(i__),v1_sigma_(i__),Epoch_1(i__),Cont(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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