FORTRAN Generation
(/./ftp/cats/J/ApJ/720/555)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/720/555 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-16
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/ApJ/720/555        COLA. III. AGN in compact IR galaxies        (Parra+, 2010)
*================================================================================
*COLA.
*III. Radio detection of active galactic nucleus in compact moderate luminosity
*infrared galaxies.
*    Parra R., Conway J.E., Aalto S., Appleton P.N., Norris R.P.,
*    Pihlstrom Y.M., Kewley L.J.
*   <Astrophys. J., 720, 555-568 (2010)>
*   =2010ApJ...720..555P
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! COLA North sample

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg       ! (deg) Right Ascension J2000
      real*8        DEdeg       ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*11  IRAS        ! IRAS name (G1)
      character*6   OName       ! Other name
      integer*4     RAh         ! (h) VLA Hour of Right Ascension (J2000)
      integer*4     RAm         ! (min) VLA Minute of Right Ascension (J2000)
      real*4        RAs         ! (s) VLA Second of Right Ascension (J2000)
      character*1   DE_         ! VLA Sign of declination (J2000)
      integer*4     DEd         ! (deg) VLA Degree of Declination (J2000)
      integer*4     DEm         ! (arcmin) VLA Arcminute of Declination (J2000)
      real*4        DEs         ! (arcsec) VLA Arcsecond of Declination (J2000)
      character*1   IR          ! [I] I: indicates an IRAS position;
*                                   not detected by VLA
      integer*4     VHel        ! (km/s) NED Heliocentric velocity
      real*4        DL          ! (Mpc) Luminosity distance (1)
      real*4        logLIR      ! ([Lsun]) Log of IR luminosity
      real*4        logL1_4     ! ([W/Hz]) Log of 1.4GHz luminosity (2)
      real*4        logLFIR     ! ([W/Hz]) Log of far IR spectral luminosity
      real*4        q1_4        ! ([-]) Log ratio of far IR to 1.4GHz luminosities (3)
*Note (1): The luminosity distance D_L_ for each source was calculated in NED
*     assuming the three attractor model of Mould et al. (2000ApJ...529..786M)
*     and the cosmological parameters derived from 5 year WMAP data
*     (Hinshaw et al.  2009ApJS..180..225H), i.e., {Omega}_m_=0.276,
*     {Omega}_{nu}_=0.726, and H_0_=70.5km/s.
*Note (2): Calculated from the NVSS catalog (Condon et al. 1998, Cat. VIII/65).
*Note (3): Infrared total flux densities were taken from the IRAS Point Source
*     Catalog (Beichman et al., Cat. II/125). In order to calculate
*     source infrared to radio (1.4GHz) ratios (q1.4) as defined by Helou et
*     al. (1985ApJ...298L...7H) we calculated for each source an equivalent
*     FIR flux density from
*         S_FIR_=1.26x10^-14^(2.58f_60_+f_100_)/3.75x10^12^W/m^2^/Hz, where
*     f_60_ and f_100_ are the cataloged 60 and 100um IRAS flux densities.

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

C  Declarations for 'table3.dat'	! Radio and optical observations and results

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

      character*11  IRAS_1      ! IRAS name (G1)
      character*5   Array       ! VLA array used
      character*3   Morph       ! VLA morphology class of 4.8GHz image (4)
      real*8        S4_8t       ! (mJy) ? Recovered 4.8GHz flux density
      real*4        q4_8        ! ([-]) ? Log ratio of S4.8t to FIR flux densities
      real*4        S4_8c       ! (mJy) ? Total gaussian fitted 4.8GHz flux density (5)
      real*4        amaj        ! (arcsec) ? Fitted gaussian major axis (6)
      real*4        bmin        ! (arcsec) ? Fitted gaussian minor axis (6)
      real*4        logTb       ! ([K]) ? Log Peak 4.8GHz brightness temperature (7)
      character*3   Epoch       ! VLBI epoch(s) observed
      character*1   V           ! [*] *: VLBI detection
      character*2   Cl          ! Optical class (G2)
*Note (4): VLA morphology class (as defined by Neff & Hutchings,
*          1992AJ....103.1746N) as follows:
*    C = Compact;
*    E = Extended;
*   CE = Compact plus Extended;
*  CER = Compact plus extended with ring;
*    U = Undetected.
*Note (5): Fitted to brightest feature in VLA image (after removing VLBI
*     component, hence zero indicates that brightest feature was dominated
*     by the VLBI component).
*Note (6): To peak VLA feature (FWHM), Note for IRAS15327+2340 (Arp 220) these
*     are for the western nucleus as taken from the literature (see Section 4.5).
*Note (7): Of gaussian component (see Section 4.5).

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

C  Declarations for 'table4.dat'	! VLBI results

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

      character*11  IRAS_2      ! IRAS name (G1)
      character*7   OName_1     ! Other name
      character*1   l_Eb_Wb     ! Limit flag on Eb-Wb (1)
      real*4        Eb_Wb       ! (mJy) ? VLBI 4.8GHz flux obtained from the peak in the
*                                Delay-Rate map (Effelsberg telescope)
      real*4        e_Eb_Wb     ! (mJy) ? 1{sigma} uncertainty on Eb-Wb
      character*1   l_Eb_Jb1    ! Limit flag on Eb-Jb1 (1)
      real*4        Eb_Jb1      ! (mJy) ? VLBI 4.8GHz flux obtained from the peak in the
*                                Delay-Rate map (Jodrell Bank, Lovell telescope)
      real*4        e_Eb_Jb1    ! (mJy) ? 1{sigma} uncertainty on Eb-Jb1
      character*1   l_Eb_Ar     ! Limit flag on Eb-Ar (1)
      real*8        Eb_Ar       ! (mJy) ? VLBI 4.8GHz flux obtained from the peak in the
*                                Delay-Rate map (Arecibo)
      real*4        e_Eb_Ar     ! (mJy) ? 1{sigma} uncertainty on Eb-Ar
      character*1   f_Eb_Ar     ! [n] Flag on Arp 220 (2)
      character*1   l_ASize     ! Limit flag on ASize
      real*4        ASize       ! (mas) ? Angular size (3)
      character*1   l_LSize     ! Limit flag on LSize
      real*4        LSize       ! (pc) ? Corresponding fitted Gaussian FWHM linear size
      character*1   Cl_1        ! Optical class (G2)
*Note (1): Upper limits for the non-detections are indicated at 5{sigma}.
*Note (2):
*    n = For IRAS15327+2340 (Arp 220) on the longer baselines the two rows give
*        results for the west and east nuclei, respectively.
*Note (3): FWHM of a circular Gaussian source fitting the flux ratio between the
*          Eb-Wb and Eb-Ar baselines (see Section 4.3). Sources with flux upper
*          limits on the Eb-Ar have consequently size lower limits.

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

C  Loading file 'table1.dat'	! COLA North sample

C  Format for file interpretation

    1 format(
     +  A11,1X,A6,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F5.2,1X,A1,1X,
     +  I4,1X,F5.1,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,110
        read(1,'(A79)')ar__
        read(ar__,1)
     +  IRAS,OName,RAh,RAm,RAs,DE_,DEd,DEm,DEs,IR,VHel,DL,logLIR,
     +  logL1_4,logLFIR,q1_4
        RAdeg = rNULL__
        DEdeg = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh .GT. -180) RAdeg=RAh*15.
        if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
        if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
        if(DEd .GE. 0) DEdeg=DEd
        if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
        if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
        if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c    ..............Just test output...........
        write(6,1)
     +  IRAS,OName,RAh,RAm,RAs,DE_,DEd,DEm,DEs,IR,VHel,DL,logLIR,
     +  logL1_4,logLFIR,q1_4
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Radio and optical observations and results

C  Format for file interpretation

    2 format(
     +  A11,1X,A5,1X,A3,1X,F8.2,1X,F5.2,1X,F5.2,1X,F4.2,1X,F4.2,1X,
     +  F4.2,1X,A3,A1,1X,A2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,110
        read(1,'(A65)')ar__1
        read(ar__1,2)
     +  IRAS_1,Array,Morph,S4_8t,q4_8,S4_8c,amaj,bmin,logTb,Epoch,V,Cl
        if(ar__1(23:30) .EQ. '') S4_8t = rNULL__
        if(ar__1(32:36) .EQ. '') q4_8 = rNULL__
        if(ar__1(38:42) .EQ. '') S4_8c = rNULL__
        if(ar__1(44:47) .EQ. '') amaj = rNULL__
        if(ar__1(49:52) .EQ. '') bmin = rNULL__
        if(ar__1(54:57) .EQ. '') logTb = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  IRAS_1,Array,Morph,S4_8t,q4_8,S4_8c,amaj,bmin,logTb,Epoch,V,Cl
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! VLBI results

C  Format for file interpretation

    3 format(
     +  A11,1X,A7,1X,A1,F4.2,1X,F4.2,1X,A1,F4.2,1X,F4.2,1X,A1,F8.2,1X,
     +  F4.2,A1,1X,A1,F4.2,1X,A1,F4.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,21
        read(1,'(A71)')ar__2
        read(ar__2,3)
     +  IRAS_2,OName_1,l_Eb_Wb,Eb_Wb,e_Eb_Wb,l_Eb_Jb1,Eb_Jb1,e_Eb_Jb1,
     +  l_Eb_Ar,Eb_Ar,e_Eb_Ar,f_Eb_Ar,l_ASize,ASize,l_LSize,LSize,Cl_1
        if(ar__2(22:25) .EQ. '') Eb_Wb = rNULL__
        if(ar__2(27:30) .EQ. '') e_Eb_Wb = rNULL__
        if(ar__2(33:36) .EQ. '') Eb_Jb1 = rNULL__
        if(ar__2(38:41) .EQ. '') e_Eb_Jb1 = rNULL__
        if(ar__2(44:51) .EQ. '') Eb_Ar = rNULL__
        if(ar__2(53:56) .EQ. '') e_Eb_Ar = rNULL__
        if(ar__2(60:63) .EQ. '') ASize = rNULL__
        if(ar__2(66:69) .EQ. '') LSize = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  IRAS_2,OName_1,l_Eb_Wb,Eb_Wb,e_Eb_Wb,l_Eb_Jb1,Eb_Jb1,e_Eb_Jb1,
     +  l_Eb_Ar,Eb_Ar,e_Eb_Ar,f_Eb_Ar,l_ASize,ASize,l_LSize,LSize,Cl_1
c    .......End.of.Just test output...........
      end do
      close(1)

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