Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/528/A92 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-Mar-29 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/528/A92 HERES VI. Galactic chemical evolution of Si and C (Zhang+, 2011) *================================================================================ *The Hamburg/ESO R-process Enhanced Star survey (HERES). *VI. The Galactic chemical evolution of silicon. * Zhang L., Karlsson T., Christlieb N., Korn A.J., Barklem P.S., Zhao G. * <Astron. Astrophys., 528, A92 (2011)> * =2011A&A...528A..92Z C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Abundance results of carbon and silicon integer*4 nr__ parameter (nr__=253) ! Number of records character*118 ar__ ! Full-size record character*12 Star ! Star name real*4 v_Fe_H_ ! ([Sun]) Metallicity real*4 eps_C ! ([-]) Carbon abundance (1) real*4 v_C_H_ ! ([Sun]) Abundance ratio [C/H] real*4 e__C_H_ ! ([Sun]) rms uncertainty on [C/H] real*4 v_C_Fe_ ! ([Sun]) Abundance ratio [C/Fe] real*4 e__C_Fe_ ! ([Sun]) rms uncertainty on [C/Fe] character*1 l_eps_Si1 ! Limit flag on epsSi1 real*4 eps_Si1 ! ([-]) Si 3905{AA} NLTE abundance (1) character*1 l_eps_Si2 ! Limit flag on epsSi2 real*4 eps_Si2 ! ([-]) Si 4103{AA} NLTE abundance (1) character*1 l__Si_H_1 ! Limit flag on [Si/H]1 real*4 v_Si_H_1 ! ([Sun]) NLTE abundance ratio [Si/H] for Si3905 real*4 e__Si_H_1 ! ([Sun]) rms uncertainty on [Si/H]1 character*1 l__Si_H_2 ! Limit flag on [Si/H]2 real*4 v_Si_H_2 ! ([Sun]) NLTE abundance ratio [Si/H] for Si4103 real*4 e__Si_H_2 ! ([Sun]) rms uncertainty on [Si/H]2 character*1 l__Si_Fe_1 ! Limit flag on [Si/Fe]1 real*4 v_Si_Fe_1 ! ([Sun]) NLTE abundance ratio [Si/Fe] for Si3905 real*4 e__Si_Fe_1 ! ([Sun]) rms uncertainty on [Si/Fe]1 character*1 l__Si_Fe_2 ! Limit flag on [Si/Fe]2 real*4 v_Si_Fe_2 ! ([Sun]) NLTE abundance ratio [Si/Fe] for Si4103 real*4 e__Si_Fe_2 ! ([Sun]) rms uncertainty on [Si/Fe]2 character*1 l__Si_Fe_ ! Limit flag on [Si/Fe] real*4 v_Si_Fe_ ! ([Sun]) Abundance ratio [Si/Fe] real*4 e__Si_Fe_ ! ([Sun]) rms uncertainty on [Si/Fe] *Note (1): abundances {epsilon}(E) = 12+log(N(E)/N(H)) for the element E. C============================================================================= C Loading file 'table3.dat' ! Abundance results of carbon and silicon C Format for file interpretation 1 format( + A12,2X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,A1, + F4.2,1X,A1,F4.2,1X,A1,F5.2,1X,F4.2,1X,A1,F5.2,1X,F4.2,1X,A1, + F5.2,1X,F4.2,1X,A1,F5.2,1X,F4.2,1X,A1,F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,253 read(1,'(A118)')ar__ read(ar__,1) + Star,v_Fe_H_,eps_C,v_C_H_,e__C_H_,v_C_Fe_,e__C_Fe_,l_eps_Si1, + eps_Si1,l_eps_Si2,eps_Si2,l__Si_H_1,v_Si_H_1,e__Si_H_1, + l__Si_H_2,v_Si_H_2,e__Si_H_2,l__Si_Fe_1,v_Si_Fe_1,e__Si_Fe_1, + l__Si_Fe_2,v_Si_Fe_2,e__Si_Fe_2,l__Si_Fe_,v_Si_Fe_,e__Si_Fe_ c ..............Just test output........... write(6,1) + Star,v_Fe_H_,eps_C,v_C_H_,e__C_H_,v_C_Fe_,e__C_Fe_,l_eps_Si1, + eps_Si1,l_eps_Si2,eps_Si2,l__Si_H_1,v_Si_H_1,e__Si_H_1, + l__Si_H_2,v_Si_H_2,e__Si_H_2,l__Si_Fe_1,v_Si_Fe_1,e__Si_Fe_1, + l__Si_Fe_2,v_Si_Fe_2,e__Si_Fe_2,l__Si_Fe_,v_Si_Fe_,e__Si_Fe_ c .......End.of.Just test output........... end do close(1) C============================================================================= stop end