Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/397/257 into FORTRAN code for loading all data files into arrays.
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/397/257 Chemical compositions of four barium stars (Liang+, 2003) *================================================================================ *Chemical compositions of four barium stars. * Liang Y.C., Zhao G., Chen Y.Q., Qiu H.M., Zhang B. * <Astron. Astrophys. 397, 257 (2003)> * =2003A&A...397..257L C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Atomic data and EWs of lines in four stars integer*4 nr__ parameter (nr__=134) ! Number of records character*70 ar__ ! Full-size record real*8 lambda (nr__) ! (0.1nm) Wavelengths of line character*5 Ion (nr__) ! Atomic element of line real*4 chi (nr__) ! (eV) Excitation potential of line real*4 loggf (nr__) ! Oscillator strengths of line character*2 r_loggf (nr__) ! The reference sources of n-capture elements (1) integer*4 EWs_1 (nr__) ! (0.1pm) ? Equivalent widths of lines in star HD 26886 integer*4 EWs_2 (nr__) ! (0.1pm) ? Equivalent widths of lines in star HD 27271 integer*4 EWs_3 (nr__) ! (0.1pm) ? Equivalent widths of lines in star HD 50082 integer*4 EWs_4 (nr__) ! (0.1pm) ? Equivalent widths of lines in star HD 98839 *Note (1): References: * h : Hannaford et al., 1982ApJ...261..736H * b : Biemont et al., 1981ApJ...248..867B * wm: Weise & Martin, 1980, NSDRS-NBS 68 * lb: Luck & Bond, 1991ApJS...77..515L * b2: Biemont et al., 1982A&A...107..166B c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Abundance uncertainties integer*4 nr__1 parameter (nr__1=73) ! Number of records character*55 ar__1 ! Full-size record character*8 Star (nr__1) ! Star name character*5 Ion_1 (nr__1) ! Atomic element in the star real*4 sigma_EW_sqrt_N_(nr__1) ! Abundance errors caused by EWs values real*4 Delta_Teff (nr__1) ! Abundance errors caused by increasing * 100K in effective temperature real*4 Delta_logg (nr__1) ! Abundance errors caused by increasing * in surface gravity (1) real*4 Delta_xit (nr__1) ! Abundance errors caused by increasing * 0.3km/s in microturbulent velocity real*4 sigma_tot (nr__1) ! Total abundance errors caused by the * combined uncertainties in gf-values, * EWs and stellar atmospheric parameters *Note (1): The increasing in surface gravity is of * 0.3 for HD 26886, * 0.2 for HD 27271 and HD 50082, * 0.1 for HD 98839. C============================================================================= C Loading file 'table3.dat' ! Atomic data and EWs of lines in four stars C Format for file interpretation 1 format(F8.3,3X,A5,2X,F4.2,3X,F5.2,1X,A2,2X,I3,4X,I3,4X,I3,4X,I3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,134 read(1,'(A70)')ar__ read(ar__,1) + lambda(i__),Ion(i__),chi(i__),loggf(i__),r_loggf(i__), + EWs_1(i__),EWs_2(i__),EWs_3(i__),EWs_4(i__) if(ar__(36:38) .EQ. '') EWs_1(i__) = iNULL__ if(ar__(43:45) .EQ. '') EWs_2(i__) = iNULL__ if(ar__(50:52) .EQ. '') EWs_3(i__) = iNULL__ if(ar__(57:59) .EQ. '') EWs_4(i__) = iNULL__ c ..............Just test output........... write(6,1) + lambda(i__),Ion(i__),chi(i__),loggf(i__),r_loggf(i__), + EWs_1(i__),EWs_2(i__),EWs_3(i__),EWs_4(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! Abundance uncertainties C Format for file interpretation 2 format(A8,1X,A5,4X,F4.2,2X,F5.2,2X,F5.2,2X,F5.2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,73 read(1,'(A55)')ar__1 read(ar__1,2) + Star(i__),Ion_1(i__),sigma_EW_sqrt_N_(i__),Delta_Teff(i__), + Delta_logg(i__),Delta_xit(i__),sigma_tot(i__) c ..............Just test output........... write(6,2) + Star(i__),Ion_1(i__),sigma_EW_sqrt_N_(i__),Delta_Teff(i__), + Delta_logg(i__),Delta_xit(i__),sigma_tot(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end