FORTRAN Generation
(/./ftp/cats/J/ApJ/841/113)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/841/113 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-18
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/841/113    Roma-BZCAT synchrotron peak & Compton dominance    (Mao+, 2017)
*================================================================================
*An investigation of blazars without redshifts:
*not a missing population at high redshift.
*    Mao P., Urry C.M.
*   <Astrophys. J., 841, 113 (2017)>
*   =2017ApJ...841..113M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! *Synchrotron peak and Compton dominance for
                              samples I and II

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

      character*13  BZCAT       ! BZCAT identifier (1)
      real*4        logPk       ! ([Hz]) [12/18]? Log observed frame synchrotron peak
*                                  frequency (2)
      character*20  n_logPk     ! Note on logPk (3)
      real*4        logPkr      ! ([Hz]) [12/18]? Log rest frame synchrotron peak
*                                  frequency (2)
      character*31  n_logPkr    ! Note on logPkr (3)
      real*4        logPkC      ! ([Hz]) [19/25]? Log observed frame Compton peak
*                                  frequency (2)
      character*17  n_logPkC    ! Note on logPkC (4)
      real*4        logPkCr     ! ([Hz]) [18/25]? Log rest frame Compton peak
*                                  frequency (2)
      character*17  n_logPkCr   ! Note on logPkCr (4)
      real*4        AC          ! [-1.5/2.1]? Compton Dominance in observed
*                                  frame (f_peak,C_/f_peak,s_)
      real*4        ACr         ! [-1.1/2.6]? Compton Dominance corrected
*                                  to rest frame (L_peak,C_/L_peak,s_;
*                                  only for Sample I)
*Note (1): A total of 652 objects (362 Sample I FSRQ, 62 Sample I BL Lac, 228
*          Sample II BL Lac) had enough data fitted with a physical peak in
*          fluxes, and 339 objects from Sample I (294 FSRQ, 45 BL Lac) had good
*          fits in luminosities.
*          Please note that BZBJ1701+3954 identifier is ambiguous and can be
*          two different sources; note added by CDS.
*Note (2): {nu}L_{nu}_, only for Sample I.
*Note (3): Peaks are considered unphysical if the fitted peak frequency falls
*          outside the 12 - 18 range.
*Note (4): Peaks are considered unphysical if the fitted peak frequency falls
*          outside the 19 - 26 range.

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

C  Loading file 'table3.dat'	! *Synchrotron peak and Compton dominance for
*                              samples I and II

C  Format for file interpretation

    1 format(
     +  A13,1X,F5.2,1X,A20,1X,F5.2,1X,A31,1X,F5.2,1X,A17,1X,F5.2,1X,
     +  A17,1X,F5.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,2943
        read(1,'(A138)')ar__
        read(ar__,1)
     +  BZCAT,logPk,n_logPk,logPkr,n_logPkr,logPkC,n_logPkC,logPkCr,
     +  n_logPkCr,AC,ACr
        if(ar__(15:19) .EQ. '') logPk = rNULL__
        if(ar__(42:46) .EQ. '') logPkr = rNULL__
        if(ar__(80:84) .EQ. '') logPkC = rNULL__
        if(ar__(104:108) .EQ. '') logPkCr = rNULL__
        if(ar__(128:132) .EQ. '') AC = rNULL__
        if(ar__(134:138) .EQ. '') ACr = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  BZCAT,logPk,n_logPk,logPkr,n_logPkr,logPkC,n_logPkC,logPkCr,
     +  n_logPkCr,AC,ACr
c    .......End.of.Just test output...........
      end do
      close(1)

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