Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/350/955 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-28 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/350/955 Atmospheric parameters in metal-poor stars. II (Gratton+, 1999) *================================================================================ *Abundances of light elements in metal-poor stars. *II. Non-LTE abundance corrections * Gratton R.G., Carretta E., Eriksson K., Gustafsson B. * <Astron. Astrophys. 350, 955 (1999)> * =1999A&A...350..955G C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'levels.dat' ! Levels for Fe I, O I, Na I and Mg I atoms integer*4 nr__ parameter (nr__=138) ! Number of records character*42 ar__ ! Full-size record character*4 Ion ! Ion designation integer*4 Level ! Level real*8 E ! (cm-1) Energy integer*4 Weight ! Statistical weight character*7 Ident ! Identification real*4 CrossSec ! (cm+2) ? Threshold Cross Section c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'bound.dat' ! Bound-bound transitions integer*4 nr__1 parameter (nr__1=160) ! Number of records character*43 ar__1 ! Full-size record character*4 Ion_1 ! Ion designation integer*4 UpperL ! Upper level integer*4 LowerL ! Lower level real*8 Lambda ! (nm) Wavelength real*4 Abs ! Absorption oscillator strength real*4 Einst ! (s-1) Einstein factor c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'abundcor.dat' ! Corrections to LTE abundances integer*4 nr__2 parameter (nr__2=520) ! Number of records character*111 ar__2 ! Full-size record character*4 Ion_2 ! Ion designation real*4 v_A_H_ ! ([Sun]) Abundance [A/H] (logarithmic scale) real*8 Lambda_1 ! (0.1nm) Wavelength real*4 EP ! (eV) Excitation Potential real*4 EW ! (0.1pm) Equivalent Width real*4 C4kK1_5 ! ?=-11 Correction for Teff=4000, logg=1.50 (1) real*4 C4kK3 ! ?=-11 Correction for Teff=4000, logg=3.00 (1) real*4 C4kK4_5 ! ?=-11 Correction for Teff=4000, logg=4.50 (1) real*4 C5kK1_5 ! ?=-11 Correction for Teff=5000, logg=1.50 (1) real*4 C5kK3 ! ?=-11 Correction for Teff=5000, logg=3.00 (1) real*4 C5kK4_5 ! ?=-11 Correction for Teff=5000, logg=4.50 (1) real*4 C6kK1_5 ! ?=-11 Correction for Teff=6000, logg=1.50 (1) real*4 C6kK3 ! ?=-11 Correction for Teff=6000, logg=3.00 (1) real*4 C6kK4_5 ! ?=-11 Correction for Teff=6000, logg=4.50 (1) real*4 C7kK1_5 ! ?=-11 Correction for Teff=7000, logg=1.50 (1) real*4 C7kK3 ! ?=-11 Correction for Teff=7000, logg=3.00 (1) real*4 C7kK4_5 ! ?=-11 Correction for Teff=7000, logg=4.50 (1) *Note (1): correction in the sense [A/H](NLTE) - [A/H](LTE). * The value -11 indicates that either the NLTE could not be computed, * or gave non-physical results C============================================================================= C Loading file 'levels.dat' ! Levels for Fe I, O I, Na I and Mg I atoms C Format for file interpretation 1 format(A4,1X,I2,2X,F8.1,3X,I2,2X,A7,3X,E8.2) C Effective file loading open(unit=1,status='old',file= +'levels.dat') write(6,*) '....Loading file: levels.dat' do i__=1,138 read(1,'(A42)')ar__ read(ar__,1)Ion,Level,E,Weight,Ident,CrossSec if(ar__(35:42) .EQ. '') CrossSec = rNULL__ c ..............Just test output........... write(6,1)Ion,Level,E,Weight,Ident,CrossSec c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'bound.dat' ! Bound-bound transitions C Format for file interpretation 2 format(A4,1X,I2,2X,I2,1X,F8.1,4X,E8.2,3X,E8.2) C Effective file loading open(unit=1,status='old',file= +'bound.dat') write(6,*) '....Loading file: bound.dat' do i__=1,160 read(1,'(A43)')ar__1 read(ar__1,2)Ion_1,UpperL,LowerL,Lambda,Abs,Einst c ..............Just test output........... write(6,2)Ion_1,UpperL,LowerL,Lambda,Abs,Einst c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'abundcor.dat' ! Corrections to LTE abundances C Format for file interpretation 3 format( + A4,1X,F4.1,1X,F8.3,1X,F4.2,1X,F6.1,1X,F5.2,1X,F6.2,1X,F6.2,1X, + F6.2,1X,F5.2,1X,F6.2,1X,F6.2,1X,F6.2,1X,F5.2,1X,F6.2,1X,F6.2, + 1X,F6.2) C Effective file loading open(unit=1,status='old',file= +'abundcor.dat') write(6,*) '....Loading file: abundcor.dat' do i__=1,520 read(1,'(A111)')ar__2 read(ar__2,3) + Ion_2,v_A_H_,Lambda_1,EP,EW,C4kK1_5,C4kK3,C4kK4_5,C5kK1_5, + C5kK3,C5kK4_5,C6kK1_5,C6kK3,C6kK4_5,C7kK1_5,C7kK3,C7kK4_5 c ..............Just test output........... write(6,3) + Ion_2,v_A_H_,Lambda_1,EP,EW,C4kK1_5,C4kK3,C4kK4_5,C5kK1_5, + C5kK3,C5kK4_5,C6kK1_5,C6kK3,C6kK4_5,C7kK1_5,C7kK3,C7kK4_5 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end