FORTRAN Generation
(/./ftp/cats/J/A_A/365/409)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/365/409 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-Mar-29
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/365/409       ISO continuum observations of quasars (Oyabu+, 2001)
*================================================================================
*ISO continuum observations of quasars at z=1-4.
*I. Spectral energy distributions of quasars from UV to far-infrared
*     Oyabu S., Kawara K., Tsuzuki Y., Sofue Y., Sato Y., Okuda H.,
*     Taniguchi Y., Shibai H., Gabriel C., Hasegawa T. and Nishihara E.
*    <Astron. Astrophys. 365, 409 (2001)>
*    =2001A&A...365..409O
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! List of ISO flux if quasars

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

      character*12  Name        ! Name of the source
      real*4        LW2         ! (mJy) LW2 (6.7{mu}m) flux
      real*4        e_LW2       ! (mJy) Error of LW2 flux
      real*4        LW3         ! (mJy) ? LW3 (14.3{mu}m) flux
      real*4        e_LW3       ! (mJy) ? Error of LW3 flux
      real*4        LW10        ! (mJy) ? LW10 (12.0{mu}m) flux
      real*4        e_LW10      ! (mJy) ? Error of LW10 flux
      real*4        C90         ! (mJy) ? C90 (90{mu}m) flux
      integer*4     e_C90       ! (mJy) ? Error of C90 flux
      real*4        C160        ! (mJy) C160 (170{mu}m) flux
      integer*4     e_C160      ! (mJy) Error of C160 flux
      real*4        LUVO        ! (10+13solLum) UVO (0.1{mu}m to 1{mu}m) luminosity
      character*1   l_LIR       ! Limit flag on LIR
      integer*4     LIR         ! (10+13solLum) (1.5{mu}m to 100{mu}m) IR luminosity
      real*4        L1_25       ! (10+13solLum) 1.25 micron luminosity

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

C  Declarations for 'table4.dat'	! List of optical and near-infrared magnitudes

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

      character*12  Name_1      ! Name of the source
      real*4        Vmag        ! (mag) ? V magnitude
      real*4        e_Vmag      ! (mag) ? rms uncertainty on Vmag
      real*4        Rmag        ! (mag) ? R magnitude
      real*4        e_Rmag      ! (mag) ? rms uncertainty on Rmag
      real*4        Imag        ! (mag) ? I magnitude
      real*4        e_Imag      ! (mag) ? rms uncertainty on Imag
      real*4        Jmag        ! (mag) ? J magnitude
      real*4        e_Jmag      ! (mag) ? rms uncertainty on Jmag
      real*4        Hmag        ! (mag) ? H magnitude
      real*4        e_Hmag      ! (mag) ? rms uncertainty on Hmag
      real*4        K_mag       ! (mag) ? K' magnitude
      real*4        e_K_mag     ! (mag) ? rms uncertainty on K'mag
      character*8   ObsDate     ! ("YY/MM/DD") Universal time when observed
      character*4   Tel         ! Observed telescope (1)
*Note (1): The following abbreviations are used:
*    Kiso: the 1m Schmidt telescope at the Kiso observatory
*     OAO: the 1.88m telescope at Okayama Astrophysical Observatory
*    CTIO: the 0.9m telescope at CTIO

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

C  Loading file 'table3.dat'	! List of ISO flux if quasars

C  Format for file interpretation

    1 format(
     +  A12,1X,F4.2,1X,F4.2,1X,F4.1,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.1,
     +  1X,I2,1X,F5.1,1X,I3,1X,F5.1,1X,A1,I3,1X,F4.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,8
        read(1,'(A76)')ar__
        read(ar__,1)
     +  Name,LW2,e_LW2,LW3,e_LW3,LW10,e_LW10,C90,e_C90,C160,e_C160,
     +  LUVO,l_LIR,LIR,L1_25
        if(ar__(24:27) .EQ. '') LW3 = rNULL__
        if(ar__(29:32) .EQ. '') e_LW3 = rNULL__
        if(ar__(34:37) .EQ. '') LW10 = rNULL__
        if(ar__(39:42) .EQ. '') e_LW10 = rNULL__
        if(ar__(44:47) .EQ. '') C90 = rNULL__
        if(ar__(49:50) .EQ. '') e_C90 = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name,LW2,e_LW2,LW3,e_LW3,LW10,e_LW10,C90,e_C90,C160,e_C160,
     +  LUVO,l_LIR,LIR,L1_25
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! List of optical and near-infrared magnitudes

C  Format for file interpretation

    2 format(
     +  A12,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,
     +  1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,A8,1X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,7
        read(1,'(A92)')ar__1
        read(ar__1,2)
     +  Name_1,Vmag,e_Vmag,Rmag,e_Rmag,Imag,e_Imag,Jmag,e_Jmag,Hmag,
     +  e_Hmag,K_mag,e_K_mag,ObsDate,Tel
        if(ar__1(14:18) .EQ. '') Vmag = rNULL__
        if(ar__1(20:23) .EQ. '') e_Vmag = rNULL__
        if(ar__1(25:29) .EQ. '') Rmag = rNULL__
        if(ar__1(31:34) .EQ. '') e_Rmag = rNULL__
        if(ar__1(36:40) .EQ. '') Imag = rNULL__
        if(ar__1(42:45) .EQ. '') e_Imag = rNULL__
        if(ar__1(47:51) .EQ. '') Jmag = rNULL__
        if(ar__1(53:56) .EQ. '') e_Jmag = rNULL__
        if(ar__1(58:62) .EQ. '') Hmag = rNULL__
        if(ar__1(64:67) .EQ. '') e_Hmag = rNULL__
        if(ar__1(69:73) .EQ. '') K_mag = rNULL__
        if(ar__1(75:78) .EQ. '') e_K_mag = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name_1,Vmag,e_Vmag,Rmag,e_Rmag,Imag,e_Imag,Jmag,e_Jmag,Hmag,
     +  e_Hmag,K_mag,e_K_mag,ObsDate,Tel
c    .......End.of.Just test output...........
      end do
      close(1)

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