Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/307/869 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 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 ! (0.1nm) Laboratory wavelength
integer*4 Multiplet ! Multiplet number
real*4 Chi ! (eV) Lower level excitation energy of the
* transition
real*4 log_gf ! The oscillator strength of the transition
integer*4 HRV1 ! (km/s) Radial heliocentric velocity of the
* absorption feature of HD 101584
* (High-resolution ultraviolet spectrum
* LWP17369) (1)
integer*4 HRV2 ! (km/s) []? Radial heliocentric velocity of the
* absorption feature of HD 101584
* (High-resolution ultraviolet spectrum
* LWR04822) (1)
integer*4 HRV3 ! (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 ! (0.1nm) Minimum value observed wavelength
character*1 Sep1 ! [-] Interval separation sign
integer*4 Lam1 ! (0.1nm) Maximum value observed wavelength
character*8 Date ! ("DD/MM/YY") Date of observation
character*9 Multiplet_1 ! Element and multiplet number
real*8 LamLab_1 ! (0.1nm) []? Laboratory wavelength
real*4 Chi1 ! (eV) []? Lower level excitation energy,
* first value
character*1 Sep2 ! [-] Interval separation sign
real*4 Chi2 ! (eV) []? Lower level excitation energy,
* second value
real*4 log_gf_1 ! []? Oscillator strength
real*8 LamObs ! (0.1nm) Observed wavelength
integer*4 HRV_I ! (km/s) []? Radial heliocentric velocity for
* the identified absorption feature:
* Type I
character*1 u_HRV_I ! [:] Uncertainty flag on HRV(I)
integer*4 HRV_II ! (km/s) []? Radial heliocentric velocity for
* the identified absorption feature:
* Type II
character*1 u_HRV_II ! [:] Uncertainty flag on HRV(II)
integer*4 HRV_III ! (km/s) []? Radial heliocentric velocity for
* the identified absorption feature:
* Type III
character*1 u_HRV_III ! [:] Uncertainty flag on HRV(III)
integer*4 HRV_IV ! (km/s) []? Radial heliocentric velocity for
* the identified absorption feature:
* Type IV
integer*4 HRV_V ! (km/s) []? Radial heliocentric velocity for
* the identified emission feature: Type V
character*1 u_HRV_V ! [:] Uncertainty flag on HRV(V)
integer*4 HRV_VI ! (km/s) []? Radial heliocentric velocity for
* the identified emission feature: Type VI
character*1 u_HRV_VI ! [:] Uncertainty flag on HRV(VI)
integer*4 EW ! (0.1pm) []? Observed equivalent width
integer*4 Depth ! (%) []? Depth of the central absorption
* relative to the continuum
character*12 Remark ! 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,Multiplet,Chi,log_gf,HRV1,HRV2,HRV3
if(ar__(43:44) .EQ. '') HRV2 = iNULL__
c ..............Just test output...........
write(6,1)LamLab,Multiplet,Chi,log_gf,HRV1,HRV2,HRV3
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,Sep1,Lam1,Date,Multiplet_1,LamLab_1,Chi1,Sep2,Chi2,
+ log_gf_1,LamObs,HRV_I,u_HRV_I,HRV_II,u_HRV_II,HRV_III,
+ u_HRV_III,HRV_IV,HRV_V,u_HRV_V,HRV_VI,u_HRV_VI,EW,Depth,Remark
if(ar__1(35:42) .EQ. '') LamLab_1 = rNULL__
if(ar__1(44:48) .EQ. '') Chi1 = rNULL__
if(ar__1(50:54) .EQ. '') Chi2 = rNULL__
if(ar__1(56:60) .EQ. '') log_gf_1 = rNULL__
if(ar__1(72:73) .EQ. '') HRV_I = iNULL__
if(ar__1(77:79) .EQ. '') HRV_II = iNULL__
if(ar__1(83:85) .EQ. '') HRV_III = iNULL__
if(ar__1(87:89) .EQ. '') HRV_IV = iNULL__
if(ar__1(93:95) .EQ. '') HRV_V = iNULL__
if(ar__1(99:102) .EQ. '') HRV_VI = iNULL__
if(ar__1(104:108) .EQ. '') EW = iNULL__
if(ar__1(110:113) .EQ. '') Depth = iNULL__
c ..............Just test output...........
write(6,2)
+ LamO,Sep1,Lam1,Date,Multiplet_1,LamLab_1,Chi1,Sep2,Chi2,
+ log_gf_1,LamObs,HRV_I,u_HRV_I,HRV_II,u_HRV_II,HRV_III,
+ u_HRV_III,HRV_IV,HRV_V,u_HRV_V,HRV_VI,u_HRV_VI,EW,Depth,Remark
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end