Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/106/1059 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 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/AJ/106/1059 Lithium in the Pleiades (Soderblom+, 1993) *================================================================================ *The evolution of the lithium abundances of solar-type stars. III. The Pleiades * Soderblom D.R., Jones B.F., Balachandran S., Stauffer J.R., * Duncan D.K., Fedele S.B., Hudon J.D. * <Astron. J. 106, 1059 (1993)> * =1993AJ....106.1059S (SIMBAD/NED Reference) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1' ! Observations of Lithium in Pleiades F, G, and K dwarfs integer*4 nr__ parameter (nr__=131) ! Number of records character*79 ar__ ! Full-size record character*4 fgk ! fgk number from Soderblom et al. * (1993ApJS...85..315S) (hereafter SSHJ) character*4 name ! Hertzsprung (H II) designation. * A "P" prefix denotes a Pels star. character*6 Sp ! Spectral type real*4 v_B_V_0 ! (mag) Dereddened (B-V) character*1 u__B_V_0 ! Uncertainty flag on (B-V)0 integer*4 Teff ! (K) Effective temperature character*1 l_vsini ! Limit flag on vsini real*4 vsini ! (km/s) ? Rotational velocity character*1 u_vsini ! uncertainty flag on vsini character*1 n_vsini ! [S ] 'S' indicating a double-lined * spectroscopic binary whose vsini values are * given in table2 of SSHJ (SB2). real*4 log_RHalpha ! []? Ratio of the Halpha flux to the stellar * bolometric flux, log R(Halpha) from SSHJ real*4 log_R8542 ! []? Ratio of the 8542 A Ca II line flux to the * stellar bolometric flux, logR(8542) from SSHJ integer*4 W7699 ! (0.1pm) []? Equivalent width of K I 7699A line integer*4 W6717 ! (0.1pm) []? Equivalent width of Ca I 6717 A line character*1 n_W6717 ! Note on W6717. See note (1) character*1 l_W6708 ! Limit flag on W6708 integer*4 W6708 ! (0.1pm) Equivalent width of Li I 6708 A line, * corrected for Fe I 6707.441. character*1 u_W6708 ! Uncertainty flag on W6708 character*1 n_W6708 ! Note on W6708. See note (1) character*6 q ! Source and quality code (2) character*1 l_log_N_Li_ ! Limiting character for lithium abundance real*4 log_N_Li_ ! Abundance of lithium (scale logN(H)=12) character*1 u_log_N_Li_ ! Uncertainty flag on log(N(Li)) *Note (1): A '*' indicates that equivalent width of the line has been * compensated for spectrum dilution by the following factors: * H II 102, 1.33; H II 173, 1.40; H II 248 and 2147, 1.20; * H II 298, 571, 1100, and 2406, 1.10; H II 320, 1.15; H II 1101, 1.25. *Note (2): Source and quality code: * Bo = Boesgaard et al. 1988b, =1988ApJ...327..389B * Bu = Butler et al. 1987, =1987ApJ...319L..19B * P = Pilachowski et al. 1987, =1987PASP...99.1288P * Codes a to d denote Lick data and are in descending order of quality, * with approximate uncertainties of 12, 18, 25, and 40 mA, respectively c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2' ! *Lithium abundances for the 6708 A feature integer*4 nr__1 parameter (nr__1=61) ! Number of records character*85 ar__1 ! Full-size record real*4 log_W6708 ! ([0.1pm]) Equivalent width of Li 6708 line real*4 logN_Li_1 ! Li abundance for Teff = 4000 K real*4 logN_Li_2 ! Li abundance for Teff = 4250 K real*4 logN_Li_3 ! Li abundance for Teff = 4500 K real*4 logN_Li_4 ! []? Li abundance for Teff = 4750 K real*4 logN_Li_5 ! []? Li abundance for Teff = 5000 K real*4 logN_Li_6 ! []? Li abundance for Teff = 5250 K real*4 logN_Li_7 ! []? Li abundance for Teff = 5500 K real*4 logN_Li_8 ! []? Li abundance for Teff = 5750 K real*4 logN_Li_9 ! []? Li abundance for Teff = 6000 K real*4 logN_Li_10 ! []? Li abundance for Teff = 6250 K real*4 logN_Li_11 ! []? Li abundance for Teff = 6500 K c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3' ! *Lithium abundances for the 6104 A feature integer*4 nr__2 parameter (nr__2=51) ! Number of records character*85 ar__2 ! Full-size record real*4 log_W6708_1 ! ([0.1pm]) Equivalent width of Li 6708 line real*4 logN_Li_1_1 ! Li abundance for Teff = 4000 K real*4 logN_Li_2_1 ! Li abundance for Teff = 4250 K real*4 logN_Li_3_1 ! Li abundance for Teff = 4500 K real*4 logN_Li_4_1 ! []? Li abundance for Teff = 4750 K real*4 logN_Li_5_1 ! []? Li abundance for Teff = 5000 K real*4 logN_Li_6_1 ! []? Li abundance for Teff = 5250 K real*4 logN_Li_7_1 ! []? Li abundance for Teff = 5500 K real*4 logN_Li_8_1 ! []? Li abundance for Teff = 5750 K real*4 logN_Li_9_1 ! []? Li abundance for Teff = 6000 K real*4 logN_Li_10_1 ! []? Li abundance for Teff = 6250 K real*4 logN_Li_11_1 ! []? Li abundance for Teff = 6500 K C============================================================================= C Loading file 'table1' ! Observations of Lithium in Pleiades F, G, * and K dwarfs C Format for file interpretation 1 format( + A4,1X,A4,1X,A6,F5.3,A1,1X,I4,1X,A1,F5.1,A1,A1,1X,F5.2,1X,F5.2, + 2X,I3,2X,I3,A1,A1,I3,A1,A1,1X,A6,A1,1X,F4.2,A1) C Effective file loading open(unit=1,status='old',file= +'table1') write(6,*) '....Loading file: table1' do i__=1,131 read(1,'(A79)')ar__ read(ar__,1) + fgk,name,Sp,v_B_V_0,u__B_V_0,Teff,l_vsini,vsini,u_vsini, + n_vsini,log_RHalpha,log_R8542,W7699,W6717,n_W6717,l_W6708, + W6708,u_W6708,n_W6708,q,l_log_N_Li_,log_N_Li_,u_log_N_Li_ if(ar__(30:34) .EQ. '') vsini = rNULL__ if(ar__(38:42) .EQ. '') log_RHalpha = rNULL__ if(ar__(44:48) .EQ. '') log_R8542 = rNULL__ if(ar__(51:53) .EQ. '') W7699 = iNULL__ if(ar__(56:58) .EQ. '') W6717 = iNULL__ c ..............Just test output........... write(6,1) + fgk,name,Sp,v_B_V_0,u__B_V_0,Teff,l_vsini,vsini,u_vsini, + n_vsini,log_RHalpha,log_R8542,W7699,W6717,n_W6717,l_W6708, + W6708,u_W6708,n_W6708,q,l_log_N_Li_,log_N_Li_,u_log_N_Li_ c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2' ! *Lithium abundances for the 6708 A feature C Format for file interpretation 2 format( + 3X,F4.2,2X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X, + F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table2') write(6,*) '....Loading file: table2' do i__=1,61 read(1,'(A85)')ar__1 read(ar__1,2) + log_W6708,logN_Li_1,logN_Li_2,logN_Li_3,logN_Li_4,logN_Li_5, + logN_Li_6,logN_Li_7,logN_Li_8,logN_Li_9,logN_Li_10,logN_Li_11 if(ar__1(31:36) .EQ. '') logN_Li_4 = rNULL__ if(ar__1(38:43) .EQ. '') logN_Li_5 = rNULL__ if(ar__1(45:50) .EQ. '') logN_Li_6 = rNULL__ if(ar__1(52:57) .EQ. '') logN_Li_7 = rNULL__ if(ar__1(59:64) .EQ. '') logN_Li_8 = rNULL__ if(ar__1(66:71) .EQ. '') logN_Li_9 = rNULL__ if(ar__1(73:78) .EQ. '') logN_Li_10 = rNULL__ if(ar__1(80:85) .EQ. '') logN_Li_11 = rNULL__ c ..............Just test output........... write(6,2) + log_W6708,logN_Li_1,logN_Li_2,logN_Li_3,logN_Li_4,logN_Li_5, + logN_Li_6,logN_Li_7,logN_Li_8,logN_Li_9,logN_Li_10,logN_Li_11 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3' ! *Lithium abundances for the 6104 A feature C Format for file interpretation 3 format( + 3X,F4.2,2X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X, + F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table3') write(6,*) '....Loading file: table3' do i__=1,51 read(1,'(A85)')ar__2 read(ar__2,3) + log_W6708_1,logN_Li_1_1,logN_Li_2_1,logN_Li_3_1,logN_Li_4_1, + logN_Li_5_1,logN_Li_6_1,logN_Li_7_1,logN_Li_8_1,logN_Li_9_1, + logN_Li_10_1,logN_Li_11_1 if(ar__2(31:36) .EQ. '') logN_Li_4_1 = rNULL__ if(ar__2(38:43) .EQ. '') logN_Li_5_1 = rNULL__ if(ar__2(45:50) .EQ. '') logN_Li_6_1 = rNULL__ if(ar__2(52:57) .EQ. '') logN_Li_7_1 = rNULL__ if(ar__2(59:64) .EQ. '') logN_Li_8_1 = rNULL__ if(ar__2(66:71) .EQ. '') logN_Li_9_1 = rNULL__ if(ar__2(73:78) .EQ. '') logN_Li_10_1 = rNULL__ if(ar__2(80:85) .EQ. '') logN_Li_11_1 = rNULL__ c ..............Just test output........... write(6,3) + log_W6708_1,logN_Li_1_1,logN_Li_2_1,logN_Li_3_1,logN_Li_4_1, + logN_Li_5_1,logN_Li_6_1,logN_Li_7_1,logN_Li_8_1,logN_Li_9_1, + logN_Li_10_1,logN_Li_11_1 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end