FORTRAN Generation
(/./ftp/cats/J/A_A/407/899)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/407/899 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/407/899  Core dominance in extragalactic radio sources     (Fan+, 2003)
*================================================================================
*The core dominance parameter of extragalactic radio sources.
*    Fan J.H., Zhang J.S.
*   <Astron. Astrophys. 407, 899 (2003)>
*   =2003A&A...407..899F
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Core-dominance parameters

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

      character*8   Name        ! IAU name of the radio source,
*                                   HHMM+DDd (B1950.0)
      character*4   Type        ! Type of the source (1)
      real*4        z           ! Redshift
      real*4        logPtot     ! ([W/Hz]) Total luminosity at 1.4GHz
      real*4        logPc       ! ([W/Hz]) Core luminosity at 5GHz
      real*4        logR05      ! Core-dominance parameter corresponding
*                                   to {alpha}E=0.5 (2)
      real*4        logR10      ! Core-dominance parameter corresponding
*                                   to {alpha}E=1.0 (2)
*Note (1): Type as follows:
*      G = radio galaxy
*     BL = BL Lac object
*      Q = quasar
*   S0.5 = Seyfert Type 0.5 galaxy
*     S1 = Seyfert Type 1 galaxy
*     S2 = Seyfert Type 2 galaxy
*     S3 = Seyfert Type 3 galaxy
*Note (2): R=Pc/PE=[Pc/(Ptot-Pc)]*(1.4/5)^-{alpha}E^*(1+z)^-{alpha}E^
*     To calculate the core-dominance parameter R at 5GHz, we assume that 
*     the spectral index (S_{nu}_{prop.to}{nu}^-{alpha}^) for the core is
*     is {alpha}C=0.0 and the extended spectral index is {alpha}E=0.5 or 1.0.

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

C  Loading file 'table1.dat'	! Core-dominance parameters

C  Format for file interpretation

    1 format(A8,1X,A4,1X,F5.3,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,542
        read(1,'(A43)')ar__
        read(ar__,1)Name,Type,z,logPtot,logPc,logR05,logR10
c    ..............Just test output...........
        write(6,1)Name,Type,z,logPtot,logPc,logR05,logR10
c    .......End.of.Just test output...........
      end do
      close(1)

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