FORTRAN Generation
(/./ftp/cats/J/A_A/281/355)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/281/355 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.5, on 2013-May-23
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__
ter  (rNULL__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/A+A/281/355    X-ray AGN content of Molonglo 408MHz survey   (Brinkmann+ 1994)
*================================================================================
*The X-ray AGN content of the Molonglo 408 MHz survey: bulk properties of
*previously optically identified sources.
*     BRINKMANN W., SIEBERT J., BOLLER T.
*    <Astron. Astrophys. 281, 355 (1994)>
*    =1994A&A...281..355B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2'	! MRC-ROSAT sources with identifications

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

      character*13  MRC        (nr__) ! MRC identification
      real*8        F_408      (nr__) ! (Jy) 408 MHz flux
      character*3   Morph      (nr__) ! [ AECMN]   Morphology flag (1)
      character*2   Ref        (nr__) ! [ PSMCRT] Cross-reference flag (2)
      character*8   Type       (nr__) ! Type of optical counterpart with some further
*                                  specifications about its nature
      real*4        Mv         (nr__) ! (mag) []? Optical magnitude
      character*1   l_Z        (nr__) ! limit flag on redshift
      real*4        Z          (nr__) ! []? Redshift
      character*14  Name       (nr__) ! Common name of the source
      character*13  Rosat      (nr__) ! Rosat designation
      real*4        D          (nr__) ! (arcsec) Offset between X-ray and MRC radio position
      real*4        Fx         (nr__) ! (mW/m2) X-ray flux
      real*4        e_Fx       (nr__) ! (mW/m2) Error for the X-ray flux
*Note (1): Morphology flags:
*        A: Small scale structure present
*        E: Extended source (> 10 arcmin)
*        C: Complex extended source
*        M: Multiple sources (within 8 arcmin)
*        N: Weak neighbouring sources
*Note (2): Cross-references flags:
*        J: Source imaged at 843 MHz by Jones (1992ApJS...80..137J)
*        P: Source lies within 2 arcmin of a Parkes source
*        S: Source in Schilizzi & McAdam (1975MmRAS..79....1S)
*        M: Source in Clarke et al. (1976AuJPS..40....1C)
*        C: Source in Cameron (1971MNRAS.152..439C)
*        R: Source in Robertson (1973AuJPh..26..403R)
*        T: A note exists in MRC original text (1981MNRAS.194..693L)

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

C  Loading file 'table2'	! MRC-ROSAT sources with identifications

C  Format for file interpretation

    1 format(
     +  A13,F7.2,1X,A3,2X,A2,3X,A8,F5.2,A1,F6.4,1X,A14,1X,A13,1X,F6.2,
     +  2X,E8.2,1X,E8.2)

C  Effective file loading

      open(unit=1,file='table2', status='old')
      write(6,*) '....Loading file: table2'
      do i__=1,336
        read(1,'(A120)')ar__
        read(ar__,1)
     +  MRC(i__),F_408(i__),Morph(i__),Ref(i__),Type(i__),Mv(i__),
     +  l_Z(i__),Z(i__),Name(i__),Rosat(i__),D(i__),Fx(i__),e_Fx(i__)
        if(ar__(40:44) .EQ. '') Mv(i__) = rNULL__
        if(ar__(46:51) .EQ. '') Z(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  MRC(i__),F_408(i__),Morph(i__),Ref(i__),Type(i__),Mv(i__),
     +  l_Z(i__),Z(i__),Name(i__),Rosat(i__),D(i__),Fx(i__),e_Fx(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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