FORTRAN Generation
(/./ftp/cats/J/ApJ/606/L73)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/606/L73 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/ApJ/606/L73       CO emission of 5 Herbig Ae stars         (Blake+, 2004)
*================================================================================
*High-resolution 4.7 micron Keck/NIRSPEC spectroscopy of the CO emission from
*the disks surrounding Herbig Ae stars.
*    Blake G.A., Boogert A.C.A.
*   <Astrophys. J., 606, L73-L76 (2004)>
*   =2004ApJ...606L..73B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Observed CO line parameters for Herbig Ae stars

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

      character*6   CO          ! CO line
      character*9   Star        ! Star name
      character*15  Trans       ! Transition
      character*1   l_FWHM      ! Upper 3{sigma} limit flag on FWHM
      real*4        FWHM        ! (km/s) ? Full-Width at Half-Maximum
      real*4        Flux        ! (10-17W/m2) ? Line flux
      real*4        e_Flux      ! (10-17W/m2) ? The 1{sigma} error in Flux
      character*7   Notes       ! Additional notes (1)
*Note (1): Additional notes as follows:
*      1 = severely affected by telluric lines
*      2 = some telluric residuals
*      3 = incomplete v_dop_ coverage
*      4 = severe blending with H I emission
*      5 = line shape not Gaussian
*      6 = severe blend with CO P(1)
*      7 = blend with ^12^CO line
*      8 = deep central absorption, blanked in fits to line profiles

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

C  Loading file 'table1.dat'	! Observed CO line parameters for Herbig Ae stars

C  Format for file interpretation

    1 format(A6,1X,A9,1X,A15,1X,A1,F5.1,1X,F6.2,F3.1,1X,A7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,223
        read(1,'(A57)')ar__
        read(ar__,1)CO,Star,Trans,l_FWHM,FWHM,Flux,e_Flux,Notes
        if(ar__(35:39) .EQ. '') FWHM = rNULL__
        if(ar__(41:46) .EQ. '') Flux = rNULL__
        if(ar__(47:49) .EQ. '') e_Flux = rNULL__
c    ..............Just test output...........
        write(6,1)CO,Star,Trans,l_FWHM,FWHM,Flux,e_Flux,Notes
c    .......End.of.Just test output...........
      end do
      close(1)

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