FORTRAN Generation
(/./ftp/cats/J/A_A/307/869)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/307/869 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-Apr-23
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/307/869       Nature of the peculiar supergiant HD 101584  (Bakker+, 1996)
*================================================================================
*A study on the nature of the peculiar supergiant HD 101584
*     Bakker E.J., Lamers H.J.G.L.M., Waters L.B.F.M., Waelkens C., 
*     Trams N.R., van Winckel H.
*    <Astron. Astrophys. 307, 869 (1996)>
*    =1996A&A...307..869B      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table14'	! 19 selected UV FeII absorption lines of
                                 HD 101584 and alpha Lep

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

      real*8        LamLab     (nr__) ! (0.1nm) Laboratory wavelength
      integer*4     Multiplet  (nr__) ! Multiplet number
      real*4        Chi        (nr__) ! (eV) Lower level excitation energy of the
*                                   transition
      real*4        log_gf     (nr__) ! The oscillator strength of the transition
      integer*4     HRV1       (nr__) ! (km/s) Radial heliocentric velocity of the
*                                   absorption feature of HD 101584
*                                   (High-resolution ultraviolet spectrum
*                                   LWP17369) (1)
      integer*4     HRV2       (nr__) ! (km/s) []? Radial heliocentric velocity of the
*                                   absorption feature of HD 101584
*                                   (High-resolution ultraviolet spectrum
*                                   LWR04822) (1)
      integer*4     HRV3       (nr__) ! (km/s) Radial heliocentric velocity of the
*                                   absorption feature of the comparison star
*                                   {alpha} Lep (High-resolution ultraviolet
*                                   spectrum LWR3236) (1)
*Note (1): See Table1

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

C  Declarations for 'table15'	! The optical spectrum of HD 101584

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

      integer*4     LamO       (nr__1) ! (0.1nm) Minimum value observed wavelength
      character*1   Sep1       (nr__1) ! [-] Interval separation sign
      integer*4     Lam1       (nr__1) ! (0.1nm) Maximum value observed wavelength
      character*8   Date       (nr__1) ! ("DD/MM/YY") Date of observation
      character*9   Multiplet_1(nr__1) ! Element and multiplet number
      real*8        LamLab_1   (nr__1) ! (0.1nm) []? Laboratory wavelength
      real*4        Chi1       (nr__1) ! (eV) []? Lower level excitation energy,
*                                        first value
      character*1   Sep2       (nr__1) ! [-] Interval separation sign
      real*4        Chi2       (nr__1) ! (eV) []? Lower level excitation energy,
*                                        second value
      real*4        log_gf_1   (nr__1) ! []? Oscillator strength
      real*8        LamObs     (nr__1) ! (0.1nm) Observed wavelength
      integer*4     HRV_I      (nr__1) ! (km/s) []? Radial heliocentric velocity for
*                                        the identified absorption feature:
*                                        Type I
      character*1   u_HRV_I    (nr__1) ! [:] Uncertainty flag on HRV(I)
      integer*4     HRV_II     (nr__1) ! (km/s) []? Radial heliocentric velocity for
*                                        the identified absorption feature:
*                                        Type II
      character*1   u_HRV_II   (nr__1) ! [:] Uncertainty flag on HRV(II)
      integer*4     HRV_III    (nr__1) ! (km/s) []? Radial heliocentric velocity for
*                                        the identified absorption feature:
*                                        Type III
      character*1   u_HRV_III  (nr__1) ! [:] Uncertainty flag on HRV(III)
      integer*4     HRV_IV     (nr__1) ! (km/s) []? Radial heliocentric velocity for
*                                        the identified absorption feature:
*                                        Type IV
      integer*4     HRV_V      (nr__1) ! (km/s) []? Radial heliocentric velocity for
*                                        the identified emission feature: Type V
      character*1   u_HRV_V    (nr__1) ! [:] Uncertainty flag on HRV(V)
      integer*4     HRV_VI     (nr__1) ! (km/s) []? Radial heliocentric velocity for
*                                        the identified emission feature: Type VI
      character*1   u_HRV_VI   (nr__1) ! [:] Uncertainty flag on HRV(VI)
      integer*4     EW         (nr__1) ! (0.1pm) []? Observed equivalent width
      integer*4     Depth      (nr__1) ! (%) []? Depth of the central absorption
*                                        relative to the continuum
      character*12  Remark     (nr__1) ! Remark

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

C  Loading file 'table14'	! 19 selected UV FeII absorption lines of
*                                 HD 101584 and alpha Lep

C  Format for file interpretation

    1 format(1X,F8.3,3X,I3,3X,F4.2,3X,F5.2,3X,I2,7X,I2,7X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table14')
      write(6,*) '....Loading file: table14'
      do i__=1,19
        read(1,'(A53)')ar__
        read(ar__,1)
     +  LamLab(i__),Multiplet(i__),Chi(i__),log_gf(i__),HRV1(i__),
     +  HRV2(i__),HRV3(i__)
        if(ar__(43:44) .EQ. '') HRV2(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  LamLab(i__),Multiplet(i__),Chi(i__),log_gf(i__),HRV1(i__),
     +  HRV2(i__),HRV3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table15'	! The optical spectrum of HD 101584

C  Format for file interpretation

    2 format(
     +  2X,I4,A1,I4,2X,A8,3X,A9,1X,F8.3,1X,F5.2,A1,F5.2,1X,F5.2,1X,
     +  F7.2,3X,I2,A1,2X,I3,A1,2X,I3,A1,I3,3X,I3,A1,2X,I4,A1,I5,1X,I4,
     +  1X,A12)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table15')
      write(6,*) '....Loading file: table15'
      do i__=1,251
        read(1,'(A126)')ar__1
        read(ar__1,2)
     +  LamO(i__),Sep1(i__),Lam1(i__),Date(i__),Multiplet_1(i__),
     +  LamLab_1(i__),Chi1(i__),Sep2(i__),Chi2(i__),log_gf_1(i__),
     +  LamObs(i__),HRV_I(i__),u_HRV_I(i__),HRV_II(i__),u_HRV_II(i__),
     +  HRV_III(i__),u_HRV_III(i__),HRV_IV(i__),HRV_V(i__),
     +  u_HRV_V(i__),HRV_VI(i__),u_HRV_VI(i__),EW(i__),Depth(i__),
     +  Remark(i__)
        if(ar__1(35:42) .EQ. '') LamLab_1(i__) = rNULL__
        if(ar__1(44:48) .EQ. '') Chi1(i__) = rNULL__
        if(ar__1(50:54) .EQ. '') Chi2(i__) = rNULL__
        if(ar__1(56:60) .EQ. '') log_gf_1(i__) = rNULL__
        if(ar__1(72:73) .EQ. '') HRV_I(i__) = iNULL__
        if(ar__1(77:79) .EQ. '') HRV_II(i__) = iNULL__
        if(ar__1(83:85) .EQ. '') HRV_III(i__) = iNULL__
        if(ar__1(87:89) .EQ. '') HRV_IV(i__) = iNULL__
        if(ar__1(93:95) .EQ. '') HRV_V(i__) = iNULL__
        if(ar__1(99:102) .EQ. '') HRV_VI(i__) = iNULL__
        if(ar__1(104:108) .EQ. '') EW(i__) = iNULL__
        if(ar__1(110:113) .EQ. '') Depth(i__) = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  LamO(i__),Sep1(i__),Lam1(i__),Date(i__),Multiplet_1(i__),
     +  LamLab_1(i__),Chi1(i__),Sep2(i__),Chi2(i__),log_gf_1(i__),
     +  LamObs(i__),HRV_I(i__),u_HRV_I(i__),HRV_II(i__),u_HRV_II(i__),
     +  HRV_III(i__),u_HRV_III(i__),HRV_IV(i__),HRV_V(i__),
     +  u_HRV_V(i__),HRV_VI(i__),u_HRV_VI(i__),EW(i__),Depth(i__),
     +  Remark(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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