Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/137/157 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 2026-Aug-12
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/137/157 O III recombination coefficients (Kisielius+, 1999)
*================================================================================
*Recombination coefficients for the 5g-4f transitions of O III
*at nebular temperatures and densities
* Kisielius R., Storey P.J.
* <Astron. Astrophys. Suppl. Ser. 137, 157 (1999)>
* =1999A&AS..137..157K (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Indices n_1_ and energy levels of the 4f and 5g
states in O^2+^ ions
integer*4 nr__
parameter (nr__=24) ! Number of records
character*64 ar__ ! Full-size record
integer*4 n1 (nr__) ! Level index
character*2 Term (nr__) ! Term of parent level
character*3 J0 (nr__) ! J of parent level
character*2 nl (nr__) ! outer electron in spectroscopic notation
integer*4 S (nr__) ! 2S+1 of level
character*1 L (nr__) ! L of level
integer*4 J (nr__) ! J of level
character*8 LK (nr__) ! Experimental level assignment
integer*4 Jb (nr__) ! J of level
real*8 Exp (nr__) ! (cm-1) Experimental level energy (1)
real*8 SS (nr__) ! (cm-1) Theoretical level energy from SUPERSTRUCTURE
* calculation
real*8 RM (nr__) ! (cm-1) Theoretical level energy from R-matrix
* calculation
*Note (1): Experimental energy data are from Pettersson (Pettersson, Physica
* Scripta, 1982, 26, 296) while theoretical values are from
* SUPERSTRUCTURE (SS) and an R-matrix (RM) calculation. We also give
* our theoretical (SS) and previous experimental (Moore, 1970,
* "Atomic Energy Levels", NBS) level assignments.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Wavelengths in air, electric dipole transition
probabilities A(n_1_,n_2_) and branching ratios
b(n_1_,n_2_) for the 5g-4f transitions in O^2+^
ions
integer*4 nr__1
parameter (nr__1=83) ! Number of records
character*41 ar__1 ! Full-size record
integer*4 n1_1 (nr__1) ! Index of upper level (1)
integer*4 n2 (nr__1) ! Index of lower level (1)
real*8 Lambda (nr__1) ! (0.1nm) Wavelengths (air)
real*4 A_n1_n2 (nr__1) ! (s-1) Dipole transition probability between upper
* and lower levels
real*4 b_n1_n2 (nr__1) ! Transition branching ratio
*Note (1): The indices n1 and n2 correspond to the energy level indices
* in table 1.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Fitting coefficients for the direct
recombination coefficients a_dir_ to the
5g levels of O^2+^
integer*4 nr__2
parameter (nr__2=12) ! Number of records
character*67 ar__2 ! Full-size record
integer*4 n1_2 (nr__2) ! Index of upper level
real*8 a1 (nr__2) ! Fitting coefficient a_1_
real*8 b1 (nr__2) ! Fitting coefficient b_1_
real*8 c1 (nr__2) ! Fitting coefficient c_1_
real*8 d1 (nr__2) ! Fitting coefficient d_1_
real*8 a2 (nr__2) ! Fitting coefficient a_2_
real*8 b2 (nr__2) ! Fitting coefficient b_2_
real*8 c2 (nr__2) ! Fitting coefficient c_2_
real*8 d2 (nr__2) ! Fitting coefficient d_2_
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Fractions of the cascade contributions from
each series to the recombination coefficients
of the 5g levels of O^2+^
integer*4 nr__3
parameter (nr__3=12) ! Number of records
character*20 ar__3 ! Full-size record
integer*4 n1_3 (nr__3) ! Index of upper level (1)
real*8 g1c (nr__3) ! Fraction of cascade contribution from the
* first series
real*8 g2c (nr__3) ! Fraction of cascade contribution from the
* second series
*Note (1): Indices n1 correspond to the energy level indices from table 1.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Calculated and fitted effective recombination
coefficients for the 5g levels of O^2+^ at the
electron temperatures T=10000K and T=20000K
and the electron density N=10^3^cm^-3^.
integer*4 nr__4
parameter (nr__4=12) ! Number of records
character*47 ar__4 ! Full-size record
integer*4 n1_4 (nr__4) ! Index of upper level (1)
real*4 acal1 (nr__4) ! (10-12cm3/s) T=10000K calculated recombination coefficient
real*4 afit1 (nr__4) ! (10-12cm3/s) T=10000K fitted recombination coefficient
real*4 acal2 (nr__4) ! (10-12cm3/s) T=20000K calculated recombination coefficient
real*4 afit2 (nr__4) ! (10-12cm3/s) T=20000K fitted recombination coefficient
*Note (1): Indices n1 correspond to the energy level indices from table 1.
C=============================================================================
C Loading file 'table1.dat' ! Indices n_1_ and energy levels of the 4f and 5g
* states in O^2+^ ions
C Format for file interpretation
1 format(
+ I2,2X,A2,1X,A3,2X,A2,2X,I1,1X,A1,1X,I1,3X,A8,1X,I1,F10.1,
+ F10.1,F10.1)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,24
read(1,'(A64)')ar__
read(ar__,1)
+ n1(i__),Term(i__),J0(i__),nl(i__),S(i__),L(i__),J(i__),
+ LK(i__),Jb(i__),Exp(i__),SS(i__),RM(i__)
c ..............Just test output...........
write(6,1)
+ n1(i__),Term(i__),J0(i__),nl(i__),S(i__),L(i__),J(i__),
+ LK(i__),Jb(i__),Exp(i__),SS(i__),RM(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Wavelengths in air, electric dipole transition
* probabilities A(n_1_,n_2_) and branching ratios
* b(n_1_,n_2_) for the 5g-4f transitions in O^2+^
* ions
C Format for file interpretation
2 format(I3,1X,I3,2X,F9.3,2X,E9.2,2X,E10.3)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,83
read(1,'(A41)')ar__1
read(ar__1,2)
+ n1_1(i__),n2(i__),Lambda(i__),A_n1_n2(i__),b_n1_n2(i__)
c ..............Just test output...........
write(6,2)
+ n1_1(i__),n2(i__),Lambda(i__),A_n1_n2(i__),b_n1_n2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Fitting coefficients for the direct
* recombination coefficients a_dir_ to the
* 5g levels of O^2+^
C Format for file interpretation
3 format(I2,1X,F8.4,F8.4,F8.4,F8.4,F8.4,F8.4,F8.4,F8.4)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,12
read(1,'(A67)')ar__2
read(ar__2,3)
+ n1_2(i__),a1(i__),b1(i__),c1(i__),d1(i__),a2(i__),b2(i__),
+ c2(i__),d2(i__)
c ..............Just test output...........
write(6,3)
+ n1_2(i__),a1(i__),b1(i__),c1(i__),d1(i__),a2(i__),b2(i__),
+ c2(i__),d2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Fractions of the cascade contributions from
* each series to the recombination coefficients
* of the 5g levels of O^2+^
C Format for file interpretation
4 format(I2,F9.5,F9.5)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,12
read(1,'(A20)')ar__3
read(ar__3,4)n1_3(i__),g1c(i__),g2c(i__)
c ..............Just test output...........
write(6,4)n1_3(i__),g1c(i__),g2c(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Calculated and fitted effective recombination
* coefficients for the 5g levels of O^2+^ at the
* electron temperatures T=10000K and T=20000K
* and the electron density N=10^3^cm^-3^.
C Format for file interpretation
5 format(1X,I2,2X,E9.3,2X,E9.3,2X,E9.3,2X,E9.3)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,12
read(1,'(A47)')ar__4
read(ar__4,5)
+ n1_4(i__),acal1(i__),afit1(i__),acal2(i__),afit2(i__)
c ..............Just test output...........
write(6,5)
+ n1_4(i__),acal1(i__),afit1(i__),acal2(i__),afit2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end