Conversion of standardized ReadMe file for
file /./home/cats/J/A_A/566/L8 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 2026-May-18
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/566/L8 He IR absorption profiles (Kowalski, 2014)
*================================================================================
*Infrared absorption of dense helium and its importance in the atmospheres of
*cool white dwarfs.
* Kowalski P.M.
* <Astron. Astrophys. 566, L8 (2014)>
* =2014A&A...566L...8K
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'opacity.dat' ! Helium IR absorption profiles
integer*4 nr__
parameter (nr__=400) ! Number of records
character*135 ar__ ! Full-size record
integer*4 Freq ! (cm-1) [50/20000] Frequency
real*4 Abs1 ! Absorption coefficient at T=1000K (1)
real*4 Abs2 ! Absorption coefficient at T=2000K (1)
real*4 Abs3 ! Absorption coefficient at T=3000K (1)
real*4 Abs4 ! Absorption coefficient at T=4000K (1)
real*4 Abs5 ! Absorption coefficient at T=5000K (1)
real*4 Abs6 ! Absorption coefficient at T=6000K (1)
real*4 Abs7 ! Absorption coefficient at T=7000K (1)
real*4 Abs8 ! Absorption coefficient at T=8000K (1)
real*4 Abs9 ! Absorption coefficient at T=9000K (1)
real*4 Abs10 ! Absorption coefficient at T=10000K(1)
*Note (1): {alpha}/{rho}^3^ in units of cm^-1^*amagat^-3^ where
* amagat=2.68678*10^19^cm^-3^.
C=============================================================================
C Loading file 'opacity.dat' ! Helium IR absorption profiles
C Format for file interpretation
1 format(
+ I5,1X,E12.7,1X,E12.7,1X,E12.7,1X,E12.7,1X,E12.7,1X,E12.7,1X,
+ E12.7,1X,E12.7,1X,E12.7,1X,E12.7)
C Effective file loading
open(unit=1,status='old',file=
+'opacity.dat')
write(6,*) '....Loading file: opacity.dat'
do i__=1,400
read(1,'(A135)')ar__
read(ar__,1)
+ Freq,Abs1,Abs2,Abs3,Abs4,Abs5,Abs6,Abs7,Abs8,Abs9,Abs10
c ..............Just test output...........
write(6,1)
+ Freq,Abs1,Abs2,Abs3,Abs4,Abs5,Abs6,Abs7,Abs8,Abs9,Abs10
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end