Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/600/A85 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/600/A85 He-like ions (Z=20-42) effective collision strengths (Si+, 2017) *================================================================================ *Electron impact excitation for He-like ions with Z = 20 - 42. * Si R., Li S., Wang K., Guo X.L., Chen Z.B., Yan J., Chen C.Y., Brage T., * Zou Y.M. * <Astron. Astrophys. 600, A85 (2017)> * =2017A&A...600A..85S (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Effective collision strengths integer*4 nr__ parameter (nr__=26835) ! Number of records character*152 ar__ ! Full-size record integer*4 Z ! Atomic number integer*4 i ! Lower level index character*9 Leveli ! Lower level identification, * n ^S^L_J_ == 1snl ^S^L_J_ integer*4 j ! Upper level index character*9 Levelj ! Upper level identification, * n ^S^L_J_ == 1snl ^S^L_J_ real*4 DeltaE ! (eV) Transition energy difference real*4 Aji ! (s-1) ? Sum of E1, M1, E2, and M2 transition rates * for transition i-j real*4 ECS1k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*10^3^K real*4 ECS2k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*2*10^3^K real*4 ECS5k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*5*10^3^K real*4 ECS10k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*10^4^K real*4 ECS20k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*2*10^4^K real*4 ECS50k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*5*10^4^K real*4 ECS100k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*10^5^K real*4 ECS200k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*2*10^5^K real*4 ECS500k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*5*10^5^K real*4 ECS1000k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*10^6^K real*4 ECS2000k ! Effective collision strengths for transition i-j * at electron temperature of (Z-1)^2^*2*10^6^K C============================================================================= C Loading file 'table1.dat' ! Effective collision strengths C Format for file interpretation 1 format( + I2,2X,I2,2X,A9,2X,I2,2X,A9,2X,E10.4,1X,E8.2,1X,E8.2,1X,E8.2, + 1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2,1X, + E8.2,1X,E8.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,26835 read(1,'(A152)')ar__ read(ar__,1) + Z,i,Leveli,j,Levelj,DeltaE,Aji,ECS1k,ECS2k,ECS5k,ECS10k, + ECS20k,ECS50k,ECS100k,ECS200k,ECS500k,ECS1000k,ECS2000k if(ar__(46:53) .EQ. '') Aji = rNULL__ c ..............Just test output........... write(6,1) + Z,i,Leveli,j,Levelj,DeltaE,Aji,ECS1k,ECS2k,ECS5k,ECS10k, + ECS20k,ECS50k,ECS100k,ECS200k,ECS500k,ECS1000k,ECS2000k c .......End.of.Just test output........... end do close(1) C============================================================================= stop end