FORTRAN Generation
(/./ftp/cats/J/A_A/530/A147)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/530/A147 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-19
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/530/A147      Megamaser detection in Seyfert galaxies     (Ramolla+, 2011)
*================================================================================
*Megamaser detection and nuclear obscuration in Seyfert galaxies.
*    Ramolla M., Haas M., Bennert V.N., Chini R.
*   <Astron. Astrophys. 530, A147 (2011)>
*   =2011A&A...530A.147R
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! *Master sample

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

C  J2000 position composed of: RAdeg DEdeg
      character*1   n_Name      ! [s] s for sample sources (G1)
      character*14  Name        ! Name
      real*8        RAdeg       ! (deg) J2000 right ascension in degrees
      real*8        DEdeg       ! (deg) J2000 declination in degrees
      character*10  OName       ! Other name

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

C  Declarations for 'table3.dat'	! Measured fluxes and literature values for
                              sample and off-sample sources

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

      character*1   n_Name_1    ! [sa] a for Additional off-sample data (G1)
      character*14  Name_1      ! Source name
      character*5   Ref         ! [abc, ] Catalog references for Name (1)
      real*4        logLM       ! ([Lsun]) ? H_2_O isotropic maser luminosities obtained
*                                   from Bennert et al., 2009ApJ...695..276B
*                                   (- for maser undetected source)
      character*1   n_logLM     ! [?*] Flag on maser luminosity (2)
      real*4        Type        ! Seyfert type
      character*1   l_F_OIV_    ! Limit flag on F[OIV]
      integer*4     F_OIV_      ! (aW/m2) ?=- [OIV] flux measurement from Ramolla
*                                     (2009, Thesis, Ruhr-Universitat, Bochum)
      integer*4     e_F_OIV_    ! (aW/m2) ? rms uncertainty on F[OIV]
      integer*4     F_OIII_     ! (aW/m2) ? [OIII] literature flux
      integer*4     r_F_OIII_   ! ? Reference for F[OIII], in refs.dat file
      integer*4     Fx          ! (10aW/m2) ?=- 2-10keV literature flux (in 10-14erg/cm2/s)
      integer*4     r_Fx        ! ? Reference for F2-10keV, in refs.dat file
      character*1   l_F7um      ! Limit flag on F7um
      integer*4     F7um        ! (10aW/m2) ?=- 7um flux measurement from Ramolla
*                                     (2009, Thesis, Ruhr-Universitat, Bochum)
      integer*4     e_F7um      ! (10aW/m2) ? rms uncertainty on F7um
*Note (1): Catalog references for Names as follows:
*      a = CfA sample (Huchra & Burg, 1992ApJ...393...90H)
*      b = 12um sample (Spinoglio & Malkan, 1989ApJ...342...83S)
*      c = IRAS F25/F60 sample (de Grijp et al., 1992A&AS...96..389D)
*Note (2): Flag on maser luminosity as follows:
*      ? = sources unobserved for masers
*      * = MRK938 and NGC1320 are listed as Maser in Zhang et al.
*          (2010ApJ...708.1528Z) but have no luminosity information available

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

C  Declarations for 'refs.dat'	! References

      integer*4 nr__2
      parameter (nr__2=71)	! Number of records
      character*46 ar__2  	! Full-size record

      integer*4     Ref_1       ! Reference number
      character*19  BibCode     ! BibCode
      character*23  Aut         ! Author's name

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

C  Loading file 'table1.dat'	! *Master sample

C  Format for file interpretation

    1 format(A1,1X,A14,1X,F10.6,1X,F10.6,1X,A10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,163
        read(1,'(A49)')ar__
        read(ar__,1)n_Name,Name,RAdeg,DEdeg,OName
c    ..............Just test output...........
        write(6,1)n_Name,Name,RAdeg,DEdeg,OName
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Measured fluxes and literature values for
*                              sample and off-sample sources

C  Format for file interpretation

    2 format(
     +  A1,1X,A14,1X,A5,1X,F4.1,A1,1X,F3.1,1X,A1,I5,1X,I4,1X,I5,1X,I2,
     +  1X,I5,1X,I2,1X,A1,I5,1X,I5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,163
        read(1,'(A75)')ar__1
        read(ar__1,2)
     +  n_Name_1,Name_1,Ref,logLM,n_logLM,Type,l_F_OIV_,F_OIV_,
     +  e_F_OIV_,F_OIII_,r_F_OIII_,Fx,r_Fx,l_F7um,F7um,e_F7um
        if(ar__1(24:27) .EQ. '') logLM = rNULL__
        if (F_OIV_ .EQ. 45) F_OIV_ =  iNULL__
        if(ar__1(41:44) .EQ. '') e_F_OIV_ = iNULL__
        if(ar__1(46:50) .EQ. '') F_OIII_ = iNULL__
        if(ar__1(52:53) .EQ. '') r_F_OIII_ = iNULL__
        if (Fx .EQ. 45) Fx =  iNULL__
        if(ar__1(61:62) .EQ. '') r_Fx = iNULL__
        if (F7um .EQ. 45) F7um =  iNULL__
        if(ar__1(71:75) .EQ. '') e_F7um = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  n_Name_1,Name_1,Ref,logLM,n_logLM,Type,l_F_OIV_,F_OIV_,
     +  e_F_OIV_,F_OIII_,r_F_OIII_,Fx,r_Fx,l_F7um,F7um,e_F7um
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'refs.dat'	! References

C  Format for file interpretation

    3 format(I2,1X,A19,1X,A23)

C  Effective file loading

      open(unit=1,status='old',file=
     +'refs.dat')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,71
        read(1,'(A46)')ar__2
        read(ar__2,3)Ref_1,BibCode,Aut
c    ..............Just test output...........
        write(6,3)Ref_1,BibCode,Aut
c    .......End.of.Just test output...........
      end do
      close(1)

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