Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/527/A148 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-20 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/527/A148 NGC6397 red giants chemical composition (Lind+, 2011) *================================================================================ *Tracing the evolution of NGC6397 through the chemical composition of its stellar *populations. * Lind K., Charbonnel C., Decressin T., Primas F., Grundahl F., Asplund M. * <Astron. Astrophys. 527, A148 (2011)> * =2011A&A...527A.148L C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Equivalent widths and LTE line-by-line abundances for 19 elements of 21 red giants integer*4 nr__ parameter (nr__=1478) ! Number of records character*47 ar__ ! Full-size record integer*4 ID ! Identification number of target, * <[LPC2009] NNNNNNN> in Simbad character*3 Ion ! Element and ionisation stage of the line real*4 lambda ! (nm) Approximate central wavelength of line (2) real*4 EW ! (pm) Equivalent width of line real*4 e_EW ! (pm) rms uncertainty on EW real*4 eps ! ([---]) LTE elemental abundance of Ion (G1) real*4 e_eps ! ([---]) rms uncertainty on eps *Note (2): See Appendix A in the main paper for a complete line list. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Equivalent widths and non-LTE abundances of Na integer*4 nr__1 parameter (nr__1=133) ! Number of records character*97 ar__1 ! Full-size record integer*4 ID_1 ! Identification number of target, * <[LPC2009] NNNNNNN> in Simbad integer*4 Teff ! (K) Effective temperature real*4 logg ! ([cm/s2]) Surface gravity real*4 Vturb ! (km/s) Microturbulence velocity real*4 W5682 ! (pm) ? Equivalent width of NaI 568.2nm line real*4 e_W5682 ! (pm) ? Error on W5682 real*4 W5688 ! (pm) ? Equivalent width of NaI 568.8nm line real*4 e_W5688 ! (pm) ? Error on W5688 real*4 W8183 ! (pm) ? Equivalent width of NaI 818.3nm line real*4 e_W8183 ! (pm) ? Error on W8183 character*1 l_W8194 ! [<] Limit flag on W8194 (indicates upper limit) real*4 W8194 ! (pm) ? Equivalent width of NaI 819.4nm line real*4 e_W8194 ! (pm) ? Error on W8194 character*1 l_e_Na ! [<] Limit flag on e(Na) (indicates upper limit) real*4 e_Na ! ([---]) ? Non-LTE sodium abundance (G1) real*4 e_e_Na ! ([---]) ? Error on e(Na) (G1) C============================================================================= C Loading file 'table1.dat' ! Equivalent widths and LTE line-by-line * abundances for 19 elements of 21 red giants C Format for file interpretation 1 format(I5,3X,A3,3X,F5.1,2X,F5.2,2X,F5.2,2X,F5.2,3X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,1478 read(1,'(A47)')ar__ read(ar__,1)ID,Ion,lambda,EW,e_EW,eps,e_eps c ..............Just test output........... write(6,1)ID,Ion,lambda,EW,e_EW,eps,e_eps c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Equivalent widths and non-LTE abundances of Na C Format for file interpretation 2 format( + I5,4X,I4,3X,F4.2,3X,F4.2,2X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2,2X, + F5.2,2X,F5.2,1X,A1,F5.2,2X,F5.2,1X,A1,1X,F4.2,3X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,133 read(1,'(A97)')ar__1 read(ar__1,2) + ID_1,Teff,logg,Vturb,W5682,e_W5682,W5688,e_W5688,W8183, + e_W8183,l_W8194,W8194,e_W8194,l_e_Na,e_Na,e_e_Na if(ar__1(30:34) .EQ. '') W5682 = rNULL__ if(ar__1(37:41) .EQ. '') e_W5682 = rNULL__ if(ar__1(44:48) .EQ. '') W5688 = rNULL__ if(ar__1(51:55) .EQ. '') e_W5688 = rNULL__ if(ar__1(58:62) .EQ. '') W8183 = rNULL__ if(ar__1(65:69) .EQ. '') e_W8183 = rNULL__ if(ar__1(72:76) .EQ. '') W8194 = rNULL__ if(ar__1(79:83) .EQ. '') e_W8194 = rNULL__ if(ar__1(87:90) .EQ. '') e_Na = rNULL__ if(ar__1(94:97) .EQ. '') e_e_Na = rNULL__ c ..............Just test output........... write(6,2) + ID_1,Teff,logg,Vturb,W5682,e_W5682,W5688,e_W5688,W8183, + e_W8183,l_W8194,W8194,e_W8194,l_e_Na,e_Na,e_e_Na c .......End.of.Just test output........... end do close(1) C============================================================================= stop end