Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/543/A67 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-Jun-10
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/543/A67 WDA and WDB apsidal-motion constants (Claret, 2012)
*================================================================================
*The internal structure of neutron stars and white dwarfs, and the
*Jacobi virial equation
* Claret A.
* <Astron. Astrophys. 543, A67 (2012)>
* =2012A&A...543A..67C
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! WDA model, M=0.52 solar masses
integer*4 nr__
parameter (nr__=388) ! Number of records
character*106 ar__ ! Full-size record
real*4 Age ! (yr) Age of the models
real*8 Mass ! (Msun) [0.52/1] Initial mass
real*8 log_L ! ([Lsun]) Log(Total luminosity)
real*8 log_Te ! ([K]) Log(Effective temperature)
real*8 log_g ! ([cm/s2]) Log (Surface gravity)
real*8 logK2 ! ([---]) Log(Apsidal motion constant (j=2))
real*8 logK3 ! ([---]) Log(Apsidal motion constant (j=3))
real*8 logK4 ! ([---]) Log(Apsidal motion constant (j=4))
real*8 alpha ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
* form-factor of gravitational potential energy
real*8 beta ! {beta}=fractional gyration radius (Newtonian)
* defined as I(moment of intertia)=M({beta}R)^2^
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! WDA model, M=0.57 solar masses
integer*4 nr__1
parameter (nr__1=423) ! Number of records
character*106 ar__1 ! Full-size record
real*4 Age_1 ! (yr) Age of the models
real*8 Mass_1 ! (Msun) [0.52/1] Initial mass
real*8 log_L_1 ! ([Lsun]) Log(Total luminosity)
real*8 log_Te_1 ! ([K]) Log(Effective temperature)
real*8 log_g_1 ! ([cm/s2]) Log (Surface gravity)
real*8 logK2_1 ! ([---]) Log(Apsidal motion constant (j=2))
real*8 logK3_1 ! ([---]) Log(Apsidal motion constant (j=3))
real*8 logK4_1 ! ([---]) Log(Apsidal motion constant (j=4))
real*8 alpha_1 ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
* form-factor of gravitational potential energy
real*8 beta_1 ! {beta}=fractional gyration radius (Newtonian)
* defined as I(moment of intertia)=M({beta}R)^2^
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! WDA model, M=0.84 solar masses
integer*4 nr__2
parameter (nr__2=429) ! Number of records
character*106 ar__2 ! Full-size record
real*4 Age_2 ! (yr) Age of the models
real*8 Mass_2 ! (Msun) [0.52/1] Initial mass
real*8 log_L_1 ! ([Lsun]) Log(Total luminosity)
real*8 log_Te_1 ! ([K]) Log(Effective temperature)
real*8 log_g_1 ! ([cm/s2]) Log (Surface gravity)
real*8 logK2_2 ! ([---]) Log(Apsidal motion constant (j=2))
real*8 logK3_2 ! ([---]) Log(Apsidal motion constant (j=3))
real*8 logK4_2 ! ([---]) Log(Apsidal motion constant (j=4))
real*8 alpha_2 ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
* form-factor of gravitational potential energy
real*8 beta_2 ! {beta}=fractional gyration radius (Newtonian)
* defined as I(moment of intertia)=M({beta}R)^2^
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! WDA model, M=1.00 solar masses
integer*4 nr__3
parameter (nr__3=389) ! Number of records
character*106 ar__3 ! Full-size record
real*4 Age_3 ! (yr) Age of the models
real*8 Mass_3 ! (Msun) [0.52/1] Initial mass
real*8 log_L_1 ! ([Lsun]) Log(Total luminosity)
real*8 log_Te_1 ! ([K]) Log(Effective temperature)
real*8 log_g_1 ! ([cm/s2]) Log (Surface gravity)
real*8 logK2_3 ! ([---]) Log(Apsidal motion constant (j=2))
real*8 logK3_3 ! ([---]) Log(Apsidal motion constant (j=3))
real*8 logK4_3 ! ([---]) Log(Apsidal motion constant (j=4))
real*8 alpha_3 ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
* form-factor of gravitational potential energy
real*8 beta_3 ! {beta}=fractional gyration radius (Newtonian)
* defined as I(moment of intertia)=M({beta}R)^2^
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! WDB model, M=0.52 solar masses
integer*4 nr__4
parameter (nr__4=508) ! Number of records
character*106 ar__4 ! Full-size record
real*4 Age_4 ! (yr) Age of the models
real*8 Mass_4 ! (Msun) [0.52/1] Initial mass
real*8 log_L_1 ! ([Lsun]) Log(Total luminosity)
real*8 log_Te_1 ! ([K]) Log(Effective temperature)
real*8 log_g_1 ! ([cm/s2]) Log (Surface gravity)
real*8 logK2_4 ! ([---]) Log(Apsidal motion constant (j=2))
real*8 logK3_4 ! ([---]) Log(Apsidal motion constant (j=3))
real*8 logK4_4 ! ([---]) Log(Apsidal motion constant (j=4))
real*8 alpha_4 ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
* form-factor of gravitational potential energy
real*8 beta_4 ! {beta}=fractional gyration radius (Newtonian)
* defined as I(moment of intertia)=M({beta}R)^2^
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! WDB model, M=0.57 solar masses
integer*4 nr__5
parameter (nr__5=462) ! Number of records
character*106 ar__5 ! Full-size record
real*4 Age_5 ! (yr) Age of the models
real*8 Mass_5 ! (Msun) [0.52/1] Initial mass
real*8 log_L_1 ! ([Lsun]) Log(Total luminosity)
real*8 log_Te_1 ! ([K]) Log(Effective temperature)
real*8 log_g_1 ! ([cm/s2]) Log (Surface gravity)
real*8 logK2_5 ! ([---]) Log(Apsidal motion constant (j=2))
real*8 logK3_5 ! ([---]) Log(Apsidal motion constant (j=3))
real*8 logK4_5 ! ([---]) Log(Apsidal motion constant (j=4))
real*8 alpha_5 ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
* form-factor of gravitational potential energy
real*8 beta_5 ! {beta}=fractional gyration radius (Newtonian)
* defined as I(moment of intertia)=M({beta}R)^2^
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table7.dat' ! WDB model, M=0.84 solar masses
integer*4 nr__6
parameter (nr__6=384) ! Number of records
character*106 ar__6 ! Full-size record
real*4 Age_6 ! (yr) Age of the models
real*8 Mass_6 ! (Msun) [0.52/1] Initial mass
real*8 log_L_1 ! ([Lsun]) Log(Total luminosity)
real*8 log_Te_1 ! ([K]) Log(Effective temperature)
real*8 log_g_1 ! ([cm/s2]) Log (Surface gravity)
real*8 logK2_6 ! ([---]) Log(Apsidal motion constant (j=2))
real*8 logK3_6 ! ([---]) Log(Apsidal motion constant (j=3))
real*8 logK4_6 ! ([---]) Log(Apsidal motion constant (j=4))
real*8 alpha_6 ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
* form-factor of gravitational potential energy
real*8 beta_6 ! {beta}=fractional gyration radius (Newtonian)
* defined as I(moment of intertia)=M({beta}R)^2^
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table8.dat' ! WDA model, M=1.00 solar masses
integer*4 nr__7
parameter (nr__7=448) ! Number of records
character*106 ar__7 ! Full-size record
real*4 Age_7 ! (yr) Age of the models
real*8 Mass_7 ! (Msun) [0.52/1] Initial mass
real*8 log_L_1 ! ([Lsun]) Log(Total luminosity)
real*8 log_Te_1 ! ([K]) Log(Effective temperature)
real*8 log_g_1 ! ([cm/s2]) Log (Surface gravity)
real*8 logK2_7 ! ([---]) Log(Apsidal motion constant (j=2))
real*8 logK3_7 ! ([---]) Log(Apsidal motion constant (j=3))
real*8 logK4_7 ! ([---]) Log(Apsidal motion constant (j=4))
real*8 alpha_7 ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
* form-factor of gravitational potential energy
real*8 beta_7 ! {beta}=fractional gyration radius (Newtonian)
* defined as I(moment of intertia)=M({beta}R)^2^
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table9.dat' ! Neutron star models, M=1.00-2.183 solar masses
integer*4 nr__8
parameter (nr__8=14) ! Number of records
character*84 ar__8 ! Full-size record
real*8 Mass_8 ! (Msun) [1/2.183] Initial mass
real*4 Rad ! (cm) Radius of the models
real*8 log_g_1 ! ([cm/s2]) Log (Surface gravity)
real*8 logK2_8 ! ([---]) Log(Apsidal motion constant (j=2))
real*8 logK3_8 ! ([---]) Log(Apsidal motion constant (j=3))
real*8 logK4_8 ! ([---]) Log(Apsidal motion constant (j=4))
real*8 alpha_8 ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
real*8 beta_8 ! {beta}=fractional gyration radius (Newtonian)
real*8 alphaGR ! {alpha}_GR_ (General Relativity value)
real*8 betaGR ! {beta}_GR_ (General Relativity value)
C=============================================================================
C Loading file 'table1.dat' ! WDA model, M=0.52 solar masses
C Format for file interpretation
1 format(
+ E16.8,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,
+ 2X,F8.5,2X,F8.5)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,388
read(1,'(A106)')ar__
read(ar__,1)
+ Age,Mass,log_L,log_Te,log_g,logK2,logK3,logK4,alpha,beta
c ..............Just test output...........
write(6,1)
+ Age,Mass,log_L,log_Te,log_g,logK2,logK3,logK4,alpha,beta
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! WDA model, M=0.57 solar masses
C Format for file interpretation
2 format(
+ E16.8,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,
+ 2X,F8.5,2X,F8.5)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,423
read(1,'(A106)')ar__1
read(ar__1,2)
+ Age_1,Mass_1,log_L_1,log_Te_1,log_g_1,logK2_1,logK3_1,logK4_1,
+ alpha_1,beta_1
c ..............Just test output...........
write(6,2)
+ Age_1,Mass_1,log_L_1,log_Te_1,log_g_1,logK2_1,logK3_1,logK4_1,
+ alpha_1,beta_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! WDA model, M=0.84 solar masses
C Format for file interpretation
3 format(
+ E16.8,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,
+ 2X,F8.5,2X,F8.5)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,429
read(1,'(A106)')ar__2
read(ar__2,3)
+ Age_2,Mass_2,log_L_1,log_Te_1,log_g_1,logK2_2,logK3_2,logK4_2,
+ alpha_2,beta_2
c ..............Just test output...........
write(6,3)
+ Age_2,Mass_2,log_L_1,log_Te_1,log_g_1,logK2_2,logK3_2,logK4_2,
+ alpha_2,beta_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! WDA model, M=1.00 solar masses
C Format for file interpretation
4 format(
+ E16.8,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,
+ 2X,F8.5,2X,F8.5)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,389
read(1,'(A106)')ar__3
read(ar__3,4)
+ Age_3,Mass_3,log_L_1,log_Te_1,log_g_1,logK2_3,logK3_3,logK4_3,
+ alpha_3,beta_3
c ..............Just test output...........
write(6,4)
+ Age_3,Mass_3,log_L_1,log_Te_1,log_g_1,logK2_3,logK3_3,logK4_3,
+ alpha_3,beta_3
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! WDB model, M=0.52 solar masses
C Format for file interpretation
5 format(
+ E16.8,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,
+ 2X,F8.5,2X,F8.5)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,508
read(1,'(A106)')ar__4
read(ar__4,5)
+ Age_4,Mass_4,log_L_1,log_Te_1,log_g_1,logK2_4,logK3_4,logK4_4,
+ alpha_4,beta_4
c ..............Just test output...........
write(6,5)
+ Age_4,Mass_4,log_L_1,log_Te_1,log_g_1,logK2_4,logK3_4,logK4_4,
+ alpha_4,beta_4
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6.dat' ! WDB model, M=0.57 solar masses
C Format for file interpretation
6 format(
+ E16.8,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,
+ 2X,F8.5,2X,F8.5)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,462
read(1,'(A106)')ar__5
read(ar__5,6)
+ Age_5,Mass_5,log_L_1,log_Te_1,log_g_1,logK2_5,logK3_5,logK4_5,
+ alpha_5,beta_5
c ..............Just test output...........
write(6,6)
+ Age_5,Mass_5,log_L_1,log_Te_1,log_g_1,logK2_5,logK3_5,logK4_5,
+ alpha_5,beta_5
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table7.dat' ! WDB model, M=0.84 solar masses
C Format for file interpretation
7 format(
+ E16.8,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,
+ 2X,F8.5,2X,F8.5)
C Effective file loading
open(unit=1,status='old',file=
+'table7.dat')
write(6,*) '....Loading file: table7.dat'
do i__=1,384
read(1,'(A106)')ar__6
read(ar__6,7)
+ Age_6,Mass_6,log_L_1,log_Te_1,log_g_1,logK2_6,logK3_6,logK4_6,
+ alpha_6,beta_6
c ..............Just test output...........
write(6,7)
+ Age_6,Mass_6,log_L_1,log_Te_1,log_g_1,logK2_6,logK3_6,logK4_6,
+ alpha_6,beta_6
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table8.dat' ! WDA model, M=1.00 solar masses
C Format for file interpretation
8 format(
+ E16.8,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,2X,F8.5,
+ 2X,F8.5,2X,F8.5)
C Effective file loading
open(unit=1,status='old',file=
+'table8.dat')
write(6,*) '....Loading file: table8.dat'
do i__=1,448
read(1,'(A106)')ar__7
read(ar__7,8)
+ Age_7,Mass_7,log_L_1,log_Te_1,log_g_1,logK2_7,logK3_7,logK4_7,
+ alpha_7,beta_7
c ..............Just test output...........
write(6,8)
+ Age_7,Mass_7,log_L_1,log_Te_1,log_g_1,logK2_7,logK3_7,logK4_7,
+ alpha_7,beta_7
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table9.dat' ! Neutron star models, M=1.00-2.183 solar masses
C Format for file interpretation
9 format(
+ F7.4,1X,E12.6,1X,F7.4,1X,F7.4,1X,F7.4,1X,F7.4,1X,F7.4,1X,F7.4,
+ 1X,F7.4,1X,F7.4)
C Effective file loading
open(unit=1,status='old',file=
+'table9.dat')
write(6,*) '....Loading file: table9.dat'
do i__=1,14
read(1,'(A84)')ar__8
read(ar__8,9)
+ Mass_8,Rad,log_g_1,logK2_8,logK3_8,logK4_8,alpha_8,beta_8,
+ alphaGR,betaGR
c ..............Just test output...........
write(6,9)
+ Mass_8,Rad,log_g_1,logK2_8,logK3_8,logK4_8,alpha_8,beta_8,
+ alphaGR,betaGR
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end