FORTRAN Generation
(/./ftp/cats/J/A_AS/96/389)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/96/389 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-28
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+AS/96/389       Warm IRAS sources. II.                   (de Grijp+, 1992)
*================================================================================
*Warm IRAS sources.
*II. Optical spectroscopy of objects from the point source catalog.
*    de Grijp M.H.K., Keel W.C., Miley G.K., Goudfrooij P., Lub J.
*   <Astron. Astrophys. Suppl. Ser. 96, 389 (1992)>
*   =1992A&AS...96..389D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Observed data of the IR-defined sample

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

      integer*4     Seq         ! [1/563]+ Sequential number (from Paper I,
*                                          Cat. J/A+AS/70/95)
      character*10  IRAS        ! IRAS (truncated) name, with multiplicity
*                                 (see remarks in the "History" section below)
      character*6   Type        ! Morphological type (HII, Seyf1, Seyf2)
      real*4        z           ! ? Heliocentric redshift (accuracy 0.0003)
      character*1   u_z         ! [::?] Uncertainty flag on z
      character*1   l_S12       ! Limit flag on S12
      real*4        S12         ! (Jy) IRAS flux density at 12{mu}m (2)
      character*1   l_S25       ! Limit flag on S25
      real*4        S25         ! (Jy) IRAS flux density at 25{mu}m (2)
      real*4        S60         ! (Jy) IRAS flux density at 60{mu}m (2)
      character*1   l_S100      ! Limit flag at 100{mu}m
      real*4        S100        ! (Jy) IRAS flux density at 100{mu}m (2)
      real*4        Vmag        ! (mag) ? V magnitude, corrected fril face-on and
*                                   galactic foreground absorption
      real*4        O_60        ! ([---]) ? Ratio of optical to infrared flux (log scale)
      character*1   l_Hb        ! Limit flag on Hb
      real*8        Hb          ! (aW/m2) ? H{beta}4861{AA} flux (in 10^-15^erg/cm^2^/s)
      character*1   l__OIII_    ! Limit flag on [OIII]/Hb
      real*4        v_OIII_     ! ? [OIII]5007{AA}/H{beta}4861{AA} ratio
      character*1   l_Ha_b      ! Limit flag on Ha/Hb
      real*4        Ha_b        ! ? H{alpha}6563{AA}/H{beta}4861{AA} ratio
      character*1   l__NII_     ! Limit flag on [NII]/Hb
      real*4        v_NII_      ! ? [NII]6582{AA}/H{beta}4861{AA} ratio
      character*7   Dat         ! Date code in dates.dat file (1)
*Note (1): Date(s) on which an object was observed, coded as entry to column
*     1 of dates.dat file
*Note (2): co-added IRAS fluxes (more accurate than the flux densities given
*     in the IRAS-PSC catalog [II/125]). When a source was not detected in
*     some wavelength band, a 3-{sigma} upper limit is given.

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

C  Declarations for 'dates.dat'	! Observation dates

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

      integer*4     Dat_1       ! Date code number
      character*3   Obs         ! Observatory
      character*10  Range       ! Wavelength range
      character*12  Date        ! Observation date

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

C  Loading file 'table2.dat'	! Observed data of the IR-defined sample

C  Format for file interpretation

    1 format(
     +  I3,5X,A10,1X,A6,1X,F6.4,A1,A1,F5.2,1X,A1,F6.2,1X,F6.2,1X,A1,
     +  F6.2,1X,F4.1,1X,F6.3,1X,A1,F7.2,1X,A1,F5.2,1X,A1,F5.2,1X,A1,
     +  F5.2,1X,A7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,563
        read(1,'(A112)')ar__
        read(ar__,1)
     +  Seq,IRAS,Type,z,u_z,l_S12,S12,l_S25,S25,S60,l_S100,S100,Vmag,
     +  O_60,l_Hb,Hb,l__OIII_,v_OIII_,l_Ha_b,Ha_b,l__NII_,v_NII_,Dat
        if(ar__(27:32) .EQ. '') z = rNULL__
        if(ar__(64:67) .EQ. '') Vmag = rNULL__
        if(ar__(69:74) .EQ. '') O_60 = rNULL__
        if(ar__(77:83) .EQ. '') Hb = rNULL__
        if(ar__(86:90) .EQ. '') v_OIII_ = rNULL__
        if(ar__(93:97) .EQ. '') Ha_b = rNULL__
        if(ar__(100:104) .EQ. '') v_NII_ = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Seq,IRAS,Type,z,u_z,l_S12,S12,l_S25,S25,S60,l_S100,S100,Vmag,
     +  O_60,l_Hb,Hb,l__OIII_,v_OIII_,l_Ha_b,Ha_b,l__NII_,v_NII_,Dat
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'dates.dat'	! Observation dates

C  Format for file interpretation

    2 format(I2,1X,A3,1X,A10,1X,A12)

C  Effective file loading

      open(unit=1,status='old',file=
     +'dates.dat')
      write(6,*) '....Loading file: dates.dat'
      do i__=1,30
        read(1,'(A30)')ar__1
        read(ar__1,2)Dat_1,Obs,Range,Date
c    ..............Just test output...........
        write(6,2)Dat_1,Obs,Range,Date
c    .......End.of.Just test output...........
      end do
      close(1)

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