FORTRAN Generation
(/./ftp/cats/J/AJ/116/941)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/116/941 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-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/AJ/116/941        10 Lac UV spectral atlas                 (Brandt+, 1998)
*================================================================================
*An ultraviolet spectral atlas of 10 Lacertae obtained with the Goddard high
*resolution spectrograph on the Hubble Space Telescope.
*       Brandt J.C., Heap S.R., Beaver E.A., Boggess A., Carpenter K.G.,
*       Ebbets D.C., Hutchings J.B., Jura M., Leckrone D.S., Linsky J.L.,
*       Maran S.P., Savage B.D., Smith A.M., Trafton L.M., Walter F.M.,
*       Weymann R.J., Snow M., Ake T.B., Hogen R.H.
*      <Astron. J. 116, 941 (1998)>
*      =1998AJ....116..941B      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Interstellar absorption lines detected in the
                                  spectrum of 10 Lacertae

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

      real*8        LambLab    (nr__) ! (0.1nm) Laboratory wavelength
      real*8        LamObs     (nr__) ! (0.1nm) ? Observed Wavelength
      character*6   Species    (nr__) ! Species (1)
      real*4        HV         (nr__) ! (km/s) ? Heliocentric velocity
      character*3   Note       (nr__) ! Notes (2)
*Note (1): A single asterisk denotes an excited state,
*          a double asterisk denotes a highly excited state
*Note (2): 1: Line appears to be present, identified species is probably the
*              dominant contributor to the observed absorption, blends are
*              definite or likely.
*          2: Blend with C I {lambda}1188.883.
*          3: Line is definitely present, sharp and well resolved from
*              neighboring lines; core is not saturated, no known or serious
*              blends, wavelength and velocity appear consistent with other lines
*          4: Line is definitely present, core is saturated, wings are broader
*              than unsaturated lines, wavelength and velocity appear consistent
*              with other lines.
*          5: Saturated over 5{AA}.
*          6: Deep, nearly saturated.
*          7: Weak but real absorption feature is present at the expected
*              wavelength.
*          8: Absorption is present in a complex stellar profile; photospheric
*              or narrow absorption component contributions are possible.
*          9: Badly blended.

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

C  Declarations for 'table4.dat'	! Table of identified lines

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

      real*8        LamLab     (nr__1) ! (0.1nm) Laboratory wavelength
      real*8        LamObs_1   (nr__1) ! (0.1nm) Observed wavelength
      character*35  Com        (nr__1) ! Comments

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

C  Loading file 'table3.dat'	! Interstellar absorption lines detected in the
*                                  spectrum of 10 Lacertae

C  Format for file interpretation

    1 format(F9.4,1X,F8.3,1X,A6,1X,F5.1,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,42
        read(1,'(A35)')ar__
        read(ar__,1)
     +  LambLab(i__),LamObs(i__),Species(i__),HV(i__),Note(i__)
        if(ar__(11:18) .EQ. '') LamObs(i__) = rNULL__
        if(ar__(27:31) .EQ. '') HV(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  LambLab(i__),LamObs(i__),Species(i__),HV(i__),Note(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Table of identified lines

C  Format for file interpretation

    2 format(F7.2,1X,F8.3,1X,A35)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,728
        read(1,'(A52)')ar__1
        read(ar__1,2)LamLab(i__),LamObs_1(i__),Com(i__)
c    ..............Just test output...........
        write(6,2)LamLab(i__),LamObs_1(i__),Com(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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