Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/610/A38 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/610/A38 Li enrichment histories of the thick/thin disc (Fu+, 2018) *================================================================================ *The Gaia-ESO Survey: *Lithium enrichment histories of the Galactic thick and thin disc. * Fu X., Romano D., Bragaglia A., Mucciarelli A., Lind K., Delgado Mena E., * Sousa S.G., Randich S., Bressan A., Sbordone L., Martell S., Korn A.J., * Abia C., Smiljanic R., Jofre P., Pancino E., Tautvaisiene G., Tang B., * Lanzafame A.C., Magrini L., Carraro G., Bensby T., Damiani F., Alfaro E.J., * Flaccomio E., Morbidelli L., Zaggia S., Lardo C., Monaco L., Frasca A., * Donati P., Drazdauskas A., Chorniy Y., Bayo A., Kordopatis G. * <Astron. Astrophys. 610, A38 (2018)> * =2018A&A...610A..38F (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Stellar parameters, the selected chemical abundances, and their corresponding uncertainties of stars in our final sample integer*4 nr__ parameter (nr__=1399) ! Number of records character*130 ar__ ! Full-size record character*16 CName ! Name derived from the object's equatorial * coordinate (HHMMSSss+DDMMSSs) character*26 Star ! Object name real*4 ALiLTE ! ([Sun]) LTE Li abundance from GES iDR4 real*4 e_ALiLTE ! ([Sun]) ? Uncertainty of LTE Li abundance real*4 ALiNLTE ! ([Sun]) NLTE Li abundance character*8 CatLi ! Li abundance category (1) real*4 v_alpha_Fe_ ! ([Sun]) Mean value of [alpha/Fe] from MCMC real*4 e__alpha_Fe_ ! ([Sun]) 1sigma uncertainty of [alpha/Fe] from MCMC real*4 v_Fe_H_ ! ([Sun]) Iron abundance from GES iDR4 catalogue real*4 e__Fe_H_ ! ([Sun]) Uncertainty of [Fe/H] real*4 logg ! ([Sun]) Surface gravity from GES iDR4 real*4 e_logg ! ([Sun]) Uncertainty of log(g) integer*4 Teff ! (K) Effective temperature from GES iDR4 integer*4 e_Teff ! (K) Uncertainty of Teff real*4 v_Ba_Fe_ ! ([Sun]) Mean value of [Ba/Fe] from MCMC real*4 e__Ba_Fe_ ! ([Sun]) 1sigma uncertainty of [Ba/Fe] from MCMC real*4 v_Y_Fe_ ! ([Sun]) Mean value of [Y/Fe] from MCMC real*4 e__Y_Fe_ ! ([Sun]) 1sigma uncertainty of [Y/Fe] from MCMC *Note (1): Li abundance category flag as follows: * meas. = checked Li measurement * La.upper = labeled upper limits C============================================================================= C Loading file 'table1.dat' ! Stellar parameters, the selected chemical * abundances, and their corresponding * uncertainties of stars in our final sample C Format for file interpretation 1 format( + A16,1X,A26,1X,F4.2,1X,F4.2,1X,F4.2,1X,A8,1X,F5.2,1X,F4.2,1X, + F5.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,I4,1X,I3,1X,F5.2,1X,F4.2,1X, + F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,1399 read(1,'(A130)')ar__ read(ar__,1) + CName,Star,ALiLTE,e_ALiLTE,ALiNLTE,CatLi,v_alpha_Fe_, + e__alpha_Fe_,v_Fe_H_,e__Fe_H_,logg,e_logg,Teff,e_Teff, + v_Ba_Fe_,e__Ba_Fe_,v_Y_Fe_,e__Y_Fe_ if(ar__(50:53) .EQ. '') e_ALiLTE = rNULL__ c ..............Just test output........... write(6,1) + CName,Star,ALiLTE,e_ALiLTE,ALiNLTE,CatLi,v_alpha_Fe_, + e__alpha_Fe_,v_Fe_H_,e__Fe_H_,logg,e_logg,Teff,e_Teff, + v_Ba_Fe_,e__Ba_Fe_,v_Y_Fe_,e__Y_Fe_ c .......End.of.Just test output........... end do close(1) C============================================================================= stop end