Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/501/519 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-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/A+A/501/519 Extremely metal-poor turnoff stars abundances (Bonifacio+, 2009) *================================================================================ *First stars. XII. *Abundances in extremely metal-poor turnoff stars and comparison with the giants. * Bonifacio P., Spite M., Cayrel R., Hill V., Spite F., Francois P., Plez B., * Ludwig H.-G., Caffau E., Molaro P., Depagne E., Andersen J., Barbuy B., * Beers T.C., Nordstroem B., Primas F. * <Astron. Astrophys. 501, 519 (2009)> * =2009A&A...501..519B (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table7.dat' ! Radial velocities of programme giant stars integer*4 nr__ parameter (nr__=61) ! Number of records character*59 ar__ ! Full-size record integer*4 Seq ! [1,35] sequential number of the star character*11 Name ! Star name character*10 Date ! ("Y-M-D") ? Observation date (1) real*8 MJD ! (d) ? Modified Julian date (JD-2400000.5) of * observation (1) real*8 RV ! (km/s) Barycentric radial velocity *Note (1): For star #23 see Depagne et al. (2002A&A...390..187D), * for star #35 see Hill et al. (2002A&A...387..560H) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Adopted model atmosphere parameters for unevolved stars integer*4 nr__1 parameter (nr__1=19) ! Number of records character*39 ar__1 ! Full-size record integer*4 Seq_1 ! [1/19] Sequential number of unevolved stars character*12 Name_1 ! Star name integer*4 Teff ! (K) Effective temperature real*4 logg ! ([cm/s2]) Surface gravity real*4 Vt ! (km/s) Microturbulent velocity real*4 v_Fe_H_ ! ([-]) Metallicity character*3 Rem ! Remarks c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'ew.dat' ! Equivalent widths for unevolved stars integer*4 nr__2 parameter (nr__2=1919) ! Number of records character*46 ar__2 ! Full-size record integer*4 Seq_2 ! [1,19] Sequential number character*4 Ion ! Ion identification real*8 lambda ! (nm) Wavelength of the line real*4 chi ! (eV) Excitation potential real*4 loggf ! Logarithm of the oscillator strength real*4 EW ! (pm) ? Equivalent width character*1 n_EW ! [s] abundance from spectrum synthesis (1) character*1 l_AB ! Limit flag on AB real*4 AB ! ? Abundance log(N/H)+12 character*1 n_AB ! [*] not used for mean (2) *Note (1): 's' (synt) means that the abundance has been obtained by spectrum * synthesis and no EW is provided. *Note (2): an asterisk (*) means the line has not been used to compute the * mean abundance for this star. C============================================================================= C Loading file 'table7.dat' ! Radial velocities of programme giant stars C Format for file interpretation 1 format(I2,3X,A11,4X,A10,5X,F13.7,4X,F7.2) C Effective file loading open(unit=1,status='old',file= +'table7.dat') write(6,*) '....Loading file: table7.dat' do i__=1,61 read(1,'(A59)')ar__ read(ar__,1)Seq,Name,Date,MJD,RV if(ar__(36:48) .EQ. '') MJD = rNULL__ c ..............Just test output........... write(6,1)Seq,Name,Date,MJD,RV c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table1.dat' ! Adopted model atmosphere parameters for * unevolved stars C Format for file interpretation 2 format(I2,1X,A12,1X,I4,1X,F4.2,1X,F3.1,1X,F5.2,1X,A3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,19 read(1,'(A39)')ar__1 read(ar__1,2)Seq_1,Name_1,Teff,logg,Vt,v_Fe_H_,Rem c ..............Just test output........... write(6,2)Seq_1,Name_1,Teff,logg,Vt,v_Fe_H_,Rem c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'ew.dat' ! Equivalent widths for unevolved stars C Format for file interpretation 3 format(I2,1X,A4,2X,F8.4,1X,F5.2,2X,F6.3,1X,F5.2,A1,A1,F6.3,A1) C Effective file loading open(unit=1,status='old',file= +'ew.dat') write(6,*) '....Loading file: ew.dat' do i__=1,1919 read(1,'(A46)')ar__2 read(ar__2,3)Seq_2,Ion,lambda,chi,loggf,EW,n_EW,l_AB,AB,n_AB if(ar__2(33:37) .EQ. '') EW = rNULL__ if(ar__2(40:45) .EQ. '') AB = rNULL__ c ..............Just test output........... write(6,3)Seq_2,Ion,lambda,chi,loggf,EW,n_EW,l_AB,AB,n_AB c .......End.of.Just test output........... end do close(1) C============================================================================= stop end