Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/122/163 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.5, on 2013-May-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__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/A+AS/122/163 Ba I & Ba II Stark broadening (Dimitrijevic+ 1997)
*================================================================================
*Stark broadening of Ba I and Ba II spectral lines
* Dimitrijevic M.S., Sahal-Brechot S.
* <Astron. Astrophys. Suppl. Ser. 122, 163 (1997)>
* =1997A&AS..122..163D (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1' ! Stark broadening parameters due to e-, p- and
He II-impacts for Ba I
integer*4 nr__
parameter (nr__=216) ! Number of records
character*123 ar__ ! Full-size record
real*4 N (nr__) ! (cm-3) Perturber density
character*6 El (nr__) ! Element
character*6 Tr (nr__) ! Transition
real*8 lambda (nr__) ! (0.1nm) Wavelength
real*4 C (nr__) ! (0.1nm/cm3) Parameter C (1)
real*8 T (nr__) ! (K) Temperature
character*1 n_We (nr__) ! [*] (4)
real*4 We (nr__) ! (0.1nm) FWHM for electron impacts (2)
character*1 n_de (nr__) ! [*] (4)
real*4 de (nr__) ! (0.1nm) shift for electron impacts (3)
character*1 n_Wp (nr__) ! [*] (4)
real*4 Wp (nr__) ! (0.1nm) FWHM for proton impacts (2) (5)
character*1 n_dp (nr__) ! [*] (4)
real*4 dp (nr__) ! (0.1nm) shift for proton impacts (3) (5)
character*1 n_WHe_ (nr__) ! [*] (4)
real*4 WHe_ (nr__) ! (0.1nm) FWHM for He II-impacts (2)
character*1 n_dHe_ (nr__) ! [*] (4)
real*4 dHe_ (nr__) ! (0.1nm) shift for He II-impacts (3)
*Note (1): C/FWHM gives an estimate of the maximum perturber density for which
* the line may be treated as isolated and tabulated data may be used
*Note (2): FWHM denotes Full Width at Half Maximum
*Note (3): A positive (resp. negative) shift is towards the red (resp. blue)
*Note (4): An asterisk in this column indicates that 0.1<NV<0.5,
* (V=collision volume); beware of the fact that the limit of validity
* of the impact approximation is attained for the value that follows
*Note (5): Values for NV>0.5 are not given, because in this case the impact
* approximation is no longer valid
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2' ! Stark broadening parameters due to e-, p- and
He II-impacts for Ba II
integer*4 nr__1
parameter (nr__1=1044) ! Number of records
character*123 ar__1 ! Full-size record
real*4 N_1 (nr__1) ! (cm-3) Perturber density
character*6 El_1 (nr__1) ! Element
character*6 Tr_1 (nr__1) ! Transition
real*8 lambda_1 (nr__1) ! (0.1nm) Wavelength
real*4 C_1 (nr__1) ! (0.1nm/cm3) Parameter C (1)
real*8 T_1 (nr__1) ! (K) Temperature
character*1 n_We_1 (nr__1) ! [*] (4)
real*4 We_1 (nr__1) ! (0.1nm) FWHM for electron impacts (2)
character*1 n_de_1 (nr__1) ! [*] (4)
real*4 de_1 (nr__1) ! (0.1nm) shift for electron impacts (3)
character*1 n_Wp_1 (nr__1) ! [*] (4)
real*4 Wp_1 (nr__1) ! (0.1nm) FWHM for proton impacts (2) (5)
character*1 n_dp_1 (nr__1) ! [*] (4)
real*4 dp_1 (nr__1) ! (0.1nm) shift for proton impacts (3) (5)
character*1 n_WHe__1 (nr__1) ! [*] (4)
real*4 WHe__1 (nr__1) ! (0.1nm) FWHM for He II-impacts (2)
character*1 n_dHe__1 (nr__1) ! [*] (4)
real*4 dHe__1 (nr__1) ! (0.1nm) shift for He II-impacts (3)
*Note (1): C/FWHM gives an estimate of the maximum perturber density for which
* the line may be treated as isolated and tabulated data may be used
*Note (2): FWHM denotes Full Width at Half Maximum
*Note (3): A positive (resp. negative) shift is towards the red (resp. blue)
*Note (4): An asterisk in this column indicates that 0.1<NV<0.5,
* (V=collision volume); beware of the fact that the limit of validity
* of the impact approximation is attained for the value that follows
*Note (5): Values for NV>0.5 are not given, because in this case the impact
* approximation is no longer valid
C=============================================================================
C Loading file 'table1' ! Stark broadening parameters due to e-, p- and
* He II-impacts for Ba I
C Format for file interpretation
1 format(
+ E7.2,2X,A6,1X,A6,F8.1,2X,E8.2,2X,F8.0,1X,A1,E9.3,1X,A1,E10.3,
+ 2X,A1,E9.3,2X,A1,E10.3,2X,A1,E9.3,2X,A1,E10.3)
C Effective file loading
open(unit=1,file='table1', status='old')
write(6,*) '....Loading file: table1'
do i__=1,216
read(1,'(A123)')ar__
read(ar__,1)
+ N(i__),El(i__),Tr(i__),lambda(i__),C(i__),T(i__),n_We(i__),
+ We(i__),n_de(i__),de(i__),n_Wp(i__),Wp(i__),n_dp(i__),dp(i__),
+ n_WHe_(i__),WHe_(i__),n_dHe_(i__),dHe_(i__)
c ..............Just test output...........
write(6,1)
+ N(i__),El(i__),Tr(i__),lambda(i__),C(i__),T(i__),n_We(i__),
+ We(i__),n_de(i__),de(i__),n_Wp(i__),Wp(i__),n_dp(i__),dp(i__),
+ n_WHe_(i__),WHe_(i__),n_dHe_(i__),dHe_(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2' ! Stark broadening parameters due to e-, p- and
* He II-impacts for Ba II
C Format for file interpretation
2 format(
+ E7.2,2X,A6,1X,A6,F8.1,2X,E8.2,2X,F8.0,1X,A1,E9.3,1X,A1,E10.3,
+ 2X,A1,E9.3,2X,A1,E10.3,2X,A1,E9.3,2X,A1,E10.3)
C Effective file loading
open(unit=1,file='table2', status='old')
write(6,*) '....Loading file: table2'
do i__=1,1044
read(1,'(A123)')ar__1
read(ar__1,2)
+ N_1(i__),El_1(i__),Tr_1(i__),lambda_1(i__),C_1(i__),T_1(i__),
+ n_We_1(i__),We_1(i__),n_de_1(i__),de_1(i__),n_Wp_1(i__),
+ Wp_1(i__),n_dp_1(i__),dp_1(i__),n_WHe__1(i__),WHe__1(i__),
+ n_dHe__1(i__),dHe__1(i__)
c ..............Just test output...........
write(6,2)
+ N_1(i__),El_1(i__),Tr_1(i__),lambda_1(i__),C_1(i__),T_1(i__),
+ n_We_1(i__),We_1(i__),n_de_1(i__),de_1(i__),n_Wp_1(i__),
+ Wp_1(i__),n_dp_1(i__),dp_1(i__),n_WHe__1(i__),WHe__1(i__),
+ n_dHe__1(i__),dHe__1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end