Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/899/166 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/ApJ/899/166 ASTRAL: abundance analysis of HR 465 (Nielsen+, 2020)
*================================================================================
*The Advanced Spectral Library (ASTRAL): Abundance Analysis of the Chemically
*Peculiar Star HR 465.
* Nielsen K.E., Carpenter K.G., Kober G.V., Wahlgren G.M.
* <Astrophys. J., 899, 166 (2020)>
* =2020ApJ...899..166N
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Lines used in the HR465 abundance analysis
integer*4 nr__
parameter (nr__=631) ! Number of records
character*48 ar__ ! Full-size record
character*6 Species (nr__) ! Species studied
real*8 Wave (nr__) ! (0.1nm) [27.9/6678] Laboratory wavelength in Angstroms
integer*4 Elow (nr__) ! (/cm) [0/134041] Energy for the transition's lower level
character*4 v_X_H (nr__) ! ([-]) Abundance (X/H)=log(N_X_)-log(N_H_)+12.0
real*4 loggf (nr__) ! ([-]) [-4.37/1.13] Log oscillator strength*statistical
* weight
character*14 Ref (nr__) ! References on loggf
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! References used for table2
integer*4 nr__1
parameter (nr__1=73) ! Number of records
character*111 ar__1 ! Full-size record
character*14 Ref_1 (nr__1) ! Reference code
character*24 Autor (nr__1) ! Main autor
character*19 BIB (nr__1) ! BIBcode
character*14 Cat_ (nr__1) ! Catalog reference in Vizier
character*36 Link (nr__1) ! Link for reference
C=============================================================================
C Loading file 'table2.dat' ! Lines used in the HR465 abundance analysis
C Format for file interpretation
1 format(A6,1X,F8.3,1X,I6,1X,A4,1X,F5.2,1X,A14)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,631
read(1,'(A48)')ar__
read(ar__,1)
+ Species(i__),Wave(i__),Elow(i__),v_X_H(i__),loggf(i__),
+ Ref(i__)
c ..............Just test output...........
write(6,1)
+ Species(i__),Wave(i__),Elow(i__),v_X_H(i__),loggf(i__),
+ Ref(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! References used for table2
C Format for file interpretation
2 format(A14,1X,A24,1X,A19,1X,A14,1X,A36)
C Effective file loading
open(unit=1,status='old',file=
+'refs.dat')
write(6,*) '....Loading file: refs.dat'
do i__=1,73
read(1,'(A111)')ar__1
read(ar__1,2)
+ Ref_1(i__),Autor(i__),BIB(i__),Cat_(i__),Link(i__)
c ..............Just test output...........
write(6,2)
+ Ref_1(i__),Autor(i__),BIB(i__),Cat_(i__),Link(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end