Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/142/467 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+AS/142/467 Broadening of metallic lines by H collisions (Barklem+ 2000) *================================================================================ *A list of data for the broadening of metallic lines by *neutral hydrogen collisions. * Barklem P.S., Piskunov N., O'Mara B.J. * <Astron. Astrophys. Suppl. Ser. 142, 467 (2000)> * =2000A&AS..142..467B C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! List of broadening data and other data used in computation integer*4 nr__ parameter (nr__=4891) ! Number of records character*116 ar__ ! Full-size record real*4 spec ! Packed element and ionisation stage (1) real*8 lambda ! (0.1nm) Air wavelength (Angstroms) real*4 lowJ ! Lower level J quantum number real*4 uppJ ! Upper level J quantum number real*8 lowE ! (eV) Lower level energy in eV (2) real*8 uppE ! (eV) Upper level energy in eV (2) real*8 lowEcm ! (cm-1) Lower level energy in waves/cm (2) real*8 lowlim ! (cm-1) Lower level series limit in waves/cm (2) real*8 uppEcm ! (cm-1) Upper level energy in waves/cm (2) real*8 upplim ! (cm-1) Upper level series limit in waves/cm (2) integer*4 lowl ! Lower level l quantum number integer*4 uppl ! Upper level l quantum number real*4 sigma ! (2.80x10-21m2) Broadening cross-section in a.u. (3) real*4 alpha ! Velocity parameter alpha real*4 logGam ! ([rad.cm3/s]) Log of the FWHM per perturber at 10000K real*4 Texp ! Temperature dependence exponent * (1-alpha)/2 *Note (1): The element and ionisation stage are packed into one parameter * given by Z + (Z-N)*0.01 where Z is the atomic number of the * element, and N is the total number of electrons. *Note (2): A value of -1.0 indicates that the data was computed directly * and not interpolated from the grids. This occurs for all lines * of singly ionised species and a few important neutral species * lines where the states lie just off the grid. *Note (3): The atomic unit of cross-section is a_0_^2^, Bohr radius squared * (the Bohr radius is the constant * a_0_ = {epsilon}_0_ h^2^/({pi} m e^2^) * from Permittivity, Planck, electron mass and charge constants) C============================================================================= C Loading file 'table1.dat' ! List of broadening data and other data used in * computation C Format for file interpretation 1 format( + F5.2,1X,F10.3,1X,F4.1,1X,F4.1,1X,F7.3,1X,F7.3,1X,F10.3,1X, + F10.3,1X,F10.3,1X,F10.3,1X,I1,1X,I1,1X,F6.0,1X,F5.3,1X,F6.3, + 1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,4891 read(1,'(A116)')ar__ read(ar__,1) + spec,lambda,lowJ,uppJ,lowE,uppE,lowEcm,lowlim,uppEcm,upplim, + lowl,uppl,sigma,alpha,logGam,Texp c ..............Just test output........... write(6,1) + spec,lambda,lowJ,uppJ,lowE,uppE,lowEcm,lowlim,uppEcm,upplim, + lowl,uppl,sigma,alpha,logGam,Texp c .......End.of.Just test output........... end do close(1) C============================================================================= stop end