FORTRAN Generation
(/./ftp/cats/J/A_A/334/987)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/334/987 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 2026-Oct-05
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/334/987       6 blue objects spectral data (Venn+ 1998)
*================================================================================
*New identifications for blue objects towards the Galactic center:
*post-AGB stars, Be/disk stars, and others
*       Venn K.A., Smartt S.J., Lennon D.J., Dufton P.L.
*      <Astron. Astrophys. 334, 987 (1998)>
*      =1998A&A...334..987V      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'appena.dat'	! *Spectral line data for two post-AGB A-type stars

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

      character*5   Ion        (nr__) ! Ion
      real*8        lambda     (nr__) ! (0.1nm) Wavelength
      integer*4     RMT        (nr__) ! Multiplet number
      real*4        chi        (nr__) ! (eV) Excitation potential
      real*4        loggf      (nr__) ! log of oscillator strength
      integer*4     EWLS3591   (nr__) ! (0.1nm) ? Equivalent width for the star LS 3591
      character*1   u_EWLS3591 (nr__) ! Uncertainty flag on EWLS3591
      integer*4     EWLS3593   (nr__) ! (0.1nm) ? Equivalent width for the star LS 3593
      character*3   r_loggf    (nr__) ! Reference for the oscillator strength (1)
*Note (1): References for the atomic data.
*   fmw = Fuhr, Martin & Wiese 1988, Cat. <VI/72>,
*           J. Phys. Chem. Ref. Data 17, Suppl.4.
*    nk = Kurucz 1990, Trans IAV B, 20, 168 (magnetic tape)
*    ob = O'Brien et al. 1991, J. Opt. Soc. Am. B, 8, 1185
*    op = Opacity Project (O I, Hibbert et al. 1991, J. Phys B, 24, 3943)
*   zhu = Zhu et al. 1989, Phys Rev A., 40, 3721
*    wm = Wiese & Martin 1980, NSRDS-NBS 68
*   wsm = Wiese, Smith, & Martin 1969, NSRDS-NBS 22
*    sl = Sigut & Landstreet, 1990MNRAS.247..611S

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

C  Declarations for 'appenb.dat'	! *Spectral line data for four B-type stars towards
                                 the Galactic Center

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

      character*6   Ion_1      (nr__1) ! Ion (1)
      real*8        lambda_1   (nr__1) ! (0.1nm) Wavelength
      real*8        lambda2    (nr__1) ! (0.1nm) ? Second wavelength (2)
      integer*4     EWLS4950   (nr__1) ! (0.1nm) ? Equivalent width for the star LS 4950
      integer*4     EWLS4039   (nr__1) ! (0.1nm) ? Equivalent width for the star LS 4039
      integer*4     EWLS4825   (nr__1) ! (0.1nm) ? Equivalent width for the star LS 4825
      integer*4     EWLS5112   (nr__1) ! (0.1nm) ? Equivalent width for the star LS 5112
*Note (1): All atomic data has been taken from the compilation by S. Jeffrey 1991
*           Newsletter on the Analysis of Astronomical Spectra, No. 16, p. 17.
*Note (2): Where two lines are listed together, they represent an unresolved
*           blend (only blends of the same species are included).

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

C  Loading file 'appena.dat'	! *Spectral line data for two post-AGB A-type stars

C  Format for file interpretation

    1 format(A5,1X,F7.2,1X,I3,1X,F5.2,1X,F5.2,1X,I3,A1,1X,I3,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'appena.dat')
      write(6,*) '....Loading file: appena.dat'
      do i__=1,86
        read(1,'(A42)')ar__
        read(ar__,1)
     +  Ion(i__),lambda(i__),RMT(i__),chi(i__),loggf(i__),
     +  EWLS3591(i__),u_EWLS3591(i__),EWLS3593(i__),r_loggf(i__)
        if(ar__(31:33) .EQ. '') EWLS3591(i__) = iNULL__
        if(ar__(36:38) .EQ. '') EWLS3593(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Ion(i__),lambda(i__),RMT(i__),chi(i__),loggf(i__),
     +  EWLS3591(i__),u_EWLS3591(i__),EWLS3593(i__),r_loggf(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'appenb.dat'	! *Spectral line data for four B-type stars towards
*                                 the Galactic Center

C  Format for file interpretation

    2 format(A6,1X,F7.2,1X,F7.2,1X,I3,1X,I3,1X,I3,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'appenb.dat')
      write(6,*) '....Loading file: appenb.dat'
      do i__=1,56
        read(1,'(A38)')ar__1
        read(ar__1,2)
     +  Ion_1(i__),lambda_1(i__),lambda2(i__),EWLS4950(i__),
     +  EWLS4039(i__),EWLS4825(i__),EWLS5112(i__)
        if(ar__1(16:22) .EQ. '') lambda2(i__) = rNULL__
        if(ar__1(24:26) .EQ. '') EWLS4950(i__) = iNULL__
        if(ar__1(28:30) .EQ. '') EWLS4039(i__) = iNULL__
        if(ar__1(32:34) .EQ. '') EWLS4825(i__) = iNULL__
        if(ar__1(36:38) .EQ. '') EWLS5112(i__) = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  Ion_1(i__),lambda_1(i__),lambda2(i__),EWLS4950(i__),
     +  EWLS4039(i__),EWLS4825(i__),EWLS5112(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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