FORTRAN Generation
(/./ftp/cats/J/A_A/434/385)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/434/385 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.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__
      parameter  (rNULL__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/A+A/434/385     X-ray/radio data of high energy peaked BL Lacs (Giommi+, 2005)
*================================================================================
*The Sedentary Survey of Extreme High Energy Peaked BL Lacs.
*II. The Catalog and Spectral Properties.
*    Giommi P., Piranomonte S., Perri M., Padovani P.
*   <Astron. Astrophys. 434, 385 (2005)>
*   =2005A&A...434..385G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Complete sample of HBL BL Lacs in the Sedentary
                             Survey: objects coordinates and main properties

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

      character*16  SHBL        ! Source name (1)
      character*16  v1RXS       ! RASS name of the source
      real*4        FX          ! (mW/m2) X-ray flux (0.1-2.4keV)
      real*4        F20cm       ! (mJy) Radio flux at 20cm (1.4GHz) from the NVSS
*                                   survey (Cat. <VIII/65>)
      real*4        Vmag        ! (mag) Optical apparent V magnitude, from APM and
*                                  COSMOS, see Giommi et al., 1999MNRAS.310..465G
      real*4        z           ! ? Redshift, when available
      character*4   Ref         ! Reference for the optical identification
*                                   detailed in refs.dat file
*Note (1): Source name built with the catalog identification code SHBL
*    (where S stands for ``Sedentary'' survey and HBL for High energy
*    peaked BL Lacs, Padovani & Giommi, 1995, Cat. <J/MNRAS/277/1477>) and
*    the arc-sec precision optical coordinates of the source taken from the
*    APM (Irwing et al., 1994, Spectrum, 2, 14) and COSMOS (Yentis et al.,
*    1992, in Digitised Optical Sky Surveys, ed. H. MacGillivray & E.
*    Thomson (Dordrecht: Kluwer Academic Publishers), 67) on-line services

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

C  Declarations for 'table2.dat'	! List of candidate low luminosity HBLs

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

      character*16  SHBL_1      ! SHBL name of the source
      character*16  v1RXS_1     ! RASS name of the source
      character*17  OName       ! Other names of the source
      real*4        z_1         ! ? redshift, when available
      character*2   n_z         ! [NA ] NA: not analysed
      real*4        Vmag_1      ! (mag) ? Visual apparent magnitude
      real*4        LX          ! (10-7W) ? X-ray luminosity in the ROSAT band (0.1-2.4keV)
      character*10  Class       ! Source classification from NED

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

C  Declarations for 'table3.dat'	! List of the 19 emission line AGNs in the HBL zone

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

      character*16  v1RXS_2     ! RASS name
      real*4        FX_1        ! (mW/m2) X-ray flux in 0.1-2.4keV band
      real*4        F20cm_1     ! (mJy) Radio flux at 20cm (1.4GHz), from the NVSS
*                                   survey (Cat. <VIII/65>)
      real*4        Vmag_2      ! (mag) Optical apparent V magnitude (from APM and
*                                   COSMOS)
      real*4        z_2         ! Redshift of the source
      real*4        L20cm       ! (10-7W/Hz) 20cm (1.4GHz) radio luminosity
      real*4        alpha_ro    ! Spectral index (radio/optical)
      character*1   Ref_1       ! Reference for the optical identification,
*                                   detailed in refs.dat file

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

C  Declarations for 'refs.dat'	! References for optical identification

      integer*4 nr__3
      parameter (nr__3=29)	! Number of records
      character*175 ar__3  	! Full-size record

      character*1   Ref_2       ! Reference code
      character*19  BibCode     ! BibCode
      character*44  Aut         ! Author's name
      character*108 Com         ! Comments

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

C  Loading file 'table1.dat'	! Complete sample of HBL BL Lacs in the Sedentary
*                             Survey: objects coordinates and main properties

C  Format for file interpretation

    1 format(5X,A16,6X,A16,1X,E8.3,1X,F5.1,1X,F4.1,1X,F5.3,1X,A4)

C  Effective file loading

      open(unit=1,file='table1.dat', status='old')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,150
        read(1,'(A74)')ar__
        read(ar__,1)SHBL,v1RXS,FX,F20cm,Vmag,z,Ref
        if(ar__(65:69) .EQ. '') z = rNULL__
c    ..............Just test output...........
        write(6,1)SHBL,v1RXS,FX,F20cm,Vmag,z,Ref
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! List of candidate low luminosity HBLs

C  Format for file interpretation

    2 format(5X,A16,6X,A16,1X,A17,2X,F5.3,A2,1X,F4.1,1X,E7.2,1X,A10)

C  Effective file loading

      open(unit=1,file='table2.dat', status='old')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,5
        read(1,'(A94)')ar__1
        read(ar__1,2)SHBL_1,v1RXS_1,OName,z_1,n_z,Vmag_1,LX,Class
        if(ar__1(64:68) .EQ. '') z_1 = rNULL__
        if(ar__1(72:75) .EQ. '') Vmag_1 = rNULL__
        if(ar__1(77:83) .EQ. '') LX = rNULL__
c    ..............Just test output...........
        write(6,2)SHBL_1,v1RXS_1,OName,z_1,n_z,Vmag_1,LX,Class
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! List of the 19 emission line AGNs in the HBL zone

C  Format for file interpretation

    3 format(
     +  5X,A16,1X,E8.3,1X,F4.1,1X,F4.1,1X,F5.3,1X,E8.3,1X,F4.2,1X,A1)

C  Effective file loading

      open(unit=1,file='table3.dat', status='old')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,19
        read(1,'(A62)')ar__2
        read(ar__2,3)
     +  v1RXS_2,FX_1,F20cm_1,Vmag_2,z_2,L20cm,alpha_ro,Ref_1
c    ..............Just test output...........
        write(6,3)
     +  v1RXS_2,FX_1,F20cm_1,Vmag_2,z_2,L20cm,alpha_ro,Ref_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'refs.dat'	! References for optical identification

C  Format for file interpretation

    4 format(A1,1X,A19,1X,A44,1X,A108)

C  Effective file loading

      open(unit=1,file='refs.dat', status='old')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,29
        read(1,'(A175)')ar__3
        read(ar__3,4)Ref_2,BibCode,Aut,Com
c    ..............Just test output...........
        write(6,4)Ref_2,BibCode,Aut,Com
c    .......End.of.Just test output...........
      end do
      close(1)

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