FORTRAN Generation
(/./ftp/cats/J/ApJ/723/658)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/723/658 into FORTRAN code for loading all data files into arrays.

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/723/658      Abundances of the halo PN BoBn 1              (Otsuka+, 2010)
*================================================================================
*The origin and evolution of the halo PN BoBn 1: from a viewpoint of chemical
*abundances based on multiwavelength spectra.
*    Otsuka M., Tajitsu A., Hyung S., Izumiura H.
*   <Astrophys. J., 723, 658-683 (2010)>
*   =2010ApJ...723..658O
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table23.dat'	! Observed and reddening corrected line ratios
                             and identifications of BoBn 1

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

      real*8        lam        (nr__) ! (0.1nm) ? Observed heliocentric wavelength {lambda} ({AA})
      character*8   Ion        (nr__) ! Ion identification
      real*8        lam0       (nr__) ! (0.1nm) Laboratory wavelength in Angstroms
      character*4   Comp       (nr__) ! Component (1, 2 or Tot.)
      real*4        f_lam      (nr__) ! Interstellar extinction coefficient (1)
      real*8        I_lam      (nr__) ! Reddening corrected flux (1)
      real*4        e_I_lam    (nr__) ! Uncertainty in CFlux
      character*5   Obs        (nr__) ! Observation source (HDS, UVES1 or UVES2) (2)
      character*30  Note       (nr__) ! Additional note
*Note (1): Relative to H{beta} where I(H{beta})=100.
*Note (2): Observation as follows:
*    HDS = Subaru/High-Dispersion Spectrograph on 2008 October 6 (PID: S08B-110)
*  UVES1 = VLT/Ultraviolet Visual Echelle Spectrograph on 2002 August
*          (PID: 069.D-0413)
*  UVES2 = VLT/Ultraviolet Visual Echelle Spectrograph on 2007 June
*          (PID: 079.D-0788)

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

C  Loading file 'table23.dat'	! Observed and reddening corrected line ratios
*                             and identifications of BoBn 1

C  Format for file interpretation

    1 format(
     +  F7.2,1X,A8,1X,F7.2,1X,A4,1X,F6.3,1X,F7.3,1X,F6.3,1X,A5,1X,A30)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table23.dat')
      write(6,*) '....Loading file: table23.dat'
      do i__=1,624
        read(1,'(A88)')ar__
        read(ar__,1)
     +  lam(i__),Ion(i__),lam0(i__),Comp(i__),f_lam(i__),I_lam(i__),
     +  e_I_lam(i__),Obs(i__),Note(i__)
        if(ar__(1:7) .EQ. '') lam(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  lam(i__),Ion(i__),lam0(i__),Comp(i__),f_lam(i__),I_lam(i__),
     +  e_I_lam(i__),Obs(i__),Note(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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