FORTRAN Generation
(/./ftp/cats/J/A_A/543/A67)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/543/A67 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-Jun-08
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        (nr__) ! (yr) Age of the models
      real*8        Mass       (nr__) ! (Msun) [0.52/1] Initial mass
      real*8        log_L      (nr__) ! ([Lsun]) Log(Total luminosity)
      real*8        log_Te     (nr__) ! ([K]) Log(Effective temperature)
      real*8        log_g      (nr__) ! ([cm/s2]) Log (Surface gravity)
      real*8        logK2      (nr__) ! ([---]) Log(Apsidal motion constant (j=2))
      real*8        logK3      (nr__) ! ([---]) Log(Apsidal motion constant (j=3))
      real*8        logK4      (nr__) ! ([---]) Log(Apsidal motion constant (j=4))
      real*8        alpha      (nr__) ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
*                                 form-factor of gravitational potential energy
      real*8        beta       (nr__) ! {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      (nr__1) ! (yr) Age of the models
      real*8        Mass_1     (nr__1) ! (Msun) [0.52/1] Initial mass
      real*8        log_L_1    (nr__1) ! ([Lsun]) Log(Total luminosity)
      real*8        log_Te_1   (nr__1) ! ([K]) Log(Effective temperature)
      real*8        log_g_1    (nr__1) ! ([cm/s2]) Log (Surface gravity)
      real*8        logK2_1    (nr__1) ! ([---]) Log(Apsidal motion constant (j=2))
      real*8        logK3_1    (nr__1) ! ([---]) Log(Apsidal motion constant (j=3))
      real*8        logK4_1    (nr__1) ! ([---]) Log(Apsidal motion constant (j=4))
      real*8        alpha_1    (nr__1) ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
*                                 form-factor of gravitational potential energy
      real*8        beta_1     (nr__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      (nr__2) ! (yr) Age of the models
      real*8        Mass_2     (nr__2) ! (Msun) [0.52/1] Initial mass
      real*8        log_L_1    (nr__2) ! ([Lsun]) Log(Total luminosity)
      real*8        log_Te_1   (nr__2) ! ([K]) Log(Effective temperature)
      real*8        log_g_1    (nr__2) ! ([cm/s2]) Log (Surface gravity)
      real*8        logK2_2    (nr__2) ! ([---]) Log(Apsidal motion constant (j=2))
      real*8        logK3_2    (nr__2) ! ([---]) Log(Apsidal motion constant (j=3))
      real*8        logK4_2    (nr__2) ! ([---]) Log(Apsidal motion constant (j=4))
      real*8        alpha_2    (nr__2) ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
*                                 form-factor of gravitational potential energy
      real*8        beta_2     (nr__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      (nr__3) ! (yr) Age of the models
      real*8        Mass_3     (nr__3) ! (Msun) [0.52/1] Initial mass
      real*8        log_L_1    (nr__3) ! ([Lsun]) Log(Total luminosity)
      real*8        log_Te_1   (nr__3) ! ([K]) Log(Effective temperature)
      real*8        log_g_1    (nr__3) ! ([cm/s2]) Log (Surface gravity)
      real*8        logK2_3    (nr__3) ! ([---]) Log(Apsidal motion constant (j=2))
      real*8        logK3_3    (nr__3) ! ([---]) Log(Apsidal motion constant (j=3))
      real*8        logK4_3    (nr__3) ! ([---]) Log(Apsidal motion constant (j=4))
      real*8        alpha_3    (nr__3) ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
*                                 form-factor of gravitational potential energy
      real*8        beta_3     (nr__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      (nr__4) ! (yr) Age of the models
      real*8        Mass_4     (nr__4) ! (Msun) [0.52/1] Initial mass
      real*8        log_L_1    (nr__4) ! ([Lsun]) Log(Total luminosity)
      real*8        log_Te_1   (nr__4) ! ([K]) Log(Effective temperature)
      real*8        log_g_1    (nr__4) ! ([cm/s2]) Log (Surface gravity)
      real*8        logK2_4    (nr__4) ! ([---]) Log(Apsidal motion constant (j=2))
      real*8        logK3_4    (nr__4) ! ([---]) Log(Apsidal motion constant (j=3))
      real*8        logK4_4    (nr__4) ! ([---]) Log(Apsidal motion constant (j=4))
      real*8        alpha_4    (nr__4) ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
*                                 form-factor of gravitational potential energy
      real*8        beta_4     (nr__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      (nr__5) ! (yr) Age of the models
      real*8        Mass_5     (nr__5) ! (Msun) [0.52/1] Initial mass
      real*8        log_L_1    (nr__5) ! ([Lsun]) Log(Total luminosity)
      real*8        log_Te_1   (nr__5) ! ([K]) Log(Effective temperature)
      real*8        log_g_1    (nr__5) ! ([cm/s2]) Log (Surface gravity)
      real*8        logK2_5    (nr__5) ! ([---]) Log(Apsidal motion constant (j=2))
      real*8        logK3_5    (nr__5) ! ([---]) Log(Apsidal motion constant (j=3))
      real*8        logK4_5    (nr__5) ! ([---]) Log(Apsidal motion constant (j=4))
      real*8        alpha_5    (nr__5) ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
*                                 form-factor of gravitational potential energy
      real*8        beta_5     (nr__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      (nr__6) ! (yr) Age of the models
      real*8        Mass_6     (nr__6) ! (Msun) [0.52/1] Initial mass
      real*8        log_L_1    (nr__6) ! ([Lsun]) Log(Total luminosity)
      real*8        log_Te_1   (nr__6) ! ([K]) Log(Effective temperature)
      real*8        log_g_1    (nr__6) ! ([cm/s2]) Log (Surface gravity)
      real*8        logK2_6    (nr__6) ! ([---]) Log(Apsidal motion constant (j=2))
      real*8        logK3_6    (nr__6) ! ([---]) Log(Apsidal motion constant (j=3))
      real*8        logK4_6    (nr__6) ! ([---]) Log(Apsidal motion constant (j=4))
      real*8        alpha_6    (nr__6) ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
*                                 form-factor of gravitational potential energy
      real*8        beta_6     (nr__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      (nr__7) ! (yr) Age of the models
      real*8        Mass_7     (nr__7) ! (Msun) [0.52/1] Initial mass
      real*8        log_L_1    (nr__7) ! ([Lsun]) Log(Total luminosity)
      real*8        log_Te_1   (nr__7) ! ([K]) Log(Effective temperature)
      real*8        log_g_1    (nr__7) ! ([cm/s2]) Log (Surface gravity)
      real*8        logK2_7    (nr__7) ! ([---]) Log(Apsidal motion constant (j=2))
      real*8        logK3_7    (nr__7) ! ([---]) Log(Apsidal motion constant (j=3))
      real*8        logK4_7    (nr__7) ! ([---]) Log(Apsidal motion constant (j=4))
      real*8        alpha_7    (nr__7) ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
*                                 form-factor of gravitational potential energy
      real*8        beta_7     (nr__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     (nr__8) ! (Msun) [1/2.183] Initial mass
      real*4        Rad        (nr__8) ! (cm) Radius of the models
      real*8        log_g_1    (nr__8) ! ([cm/s2]) Log (Surface gravity)
      real*8        logK2_8    (nr__8) ! ([---]) Log(Apsidal motion constant (j=2))
      real*8        logK3_8    (nr__8) ! ([---]) Log(Apsidal motion constant (j=3))
      real*8        logK4_8    (nr__8) ! ([---]) Log(Apsidal motion constant (j=4))
      real*8        alpha_8    (nr__8) ! {alpha}=-{Omega}.R/GM^2^ (Newtonian)
      real*8        beta_8     (nr__8) ! {beta}=fractional gyration radius (Newtonian)
      real*8        alphaGR    (nr__8) ! {alpha}_GR_ (General Relativity value)
      real*8        betaGR     (nr__8) ! {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(i__),Mass(i__),log_L(i__),log_Te(i__),log_g(i__),
     +  logK2(i__),logK3(i__),logK4(i__),alpha(i__),beta(i__)
c    ..............Just test output...........
        write(6,1)
     +  Age(i__),Mass(i__),log_L(i__),log_Te(i__),log_g(i__),
     +  logK2(i__),logK3(i__),logK4(i__),alpha(i__),beta(i__)
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(i__),Mass_1(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_1(i__),logK3_1(i__),logK4_1(i__),
     +  alpha_1(i__),beta_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Age_1(i__),Mass_1(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_1(i__),logK3_1(i__),logK4_1(i__),
     +  alpha_1(i__),beta_1(i__)
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(i__),Mass_2(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_2(i__),logK3_2(i__),logK4_2(i__),
     +  alpha_2(i__),beta_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  Age_2(i__),Mass_2(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_2(i__),logK3_2(i__),logK4_2(i__),
     +  alpha_2(i__),beta_2(i__)
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(i__),Mass_3(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_3(i__),logK3_3(i__),logK4_3(i__),
     +  alpha_3(i__),beta_3(i__)
c    ..............Just test output...........
        write(6,4)
     +  Age_3(i__),Mass_3(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_3(i__),logK3_3(i__),logK4_3(i__),
     +  alpha_3(i__),beta_3(i__)
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(i__),Mass_4(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_4(i__),logK3_4(i__),logK4_4(i__),
     +  alpha_4(i__),beta_4(i__)
c    ..............Just test output...........
        write(6,5)
     +  Age_4(i__),Mass_4(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_4(i__),logK3_4(i__),logK4_4(i__),
     +  alpha_4(i__),beta_4(i__)
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(i__),Mass_5(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_5(i__),logK3_5(i__),logK4_5(i__),
     +  alpha_5(i__),beta_5(i__)
c    ..............Just test output...........
        write(6,6)
     +  Age_5(i__),Mass_5(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_5(i__),logK3_5(i__),logK4_5(i__),
     +  alpha_5(i__),beta_5(i__)
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(i__),Mass_6(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_6(i__),logK3_6(i__),logK4_6(i__),
     +  alpha_6(i__),beta_6(i__)
c    ..............Just test output...........
        write(6,7)
     +  Age_6(i__),Mass_6(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_6(i__),logK3_6(i__),logK4_6(i__),
     +  alpha_6(i__),beta_6(i__)
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(i__),Mass_7(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_7(i__),logK3_7(i__),logK4_7(i__),
     +  alpha_7(i__),beta_7(i__)
c    ..............Just test output...........
        write(6,8)
     +  Age_7(i__),Mass_7(i__),log_L_1(i__),log_Te_1(i__),
     +  log_g_1(i__),logK2_7(i__),logK3_7(i__),logK4_7(i__),
     +  alpha_7(i__),beta_7(i__)
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(i__),Rad(i__),log_g_1(i__),logK2_8(i__),logK3_8(i__),
     +  logK4_8(i__),alpha_8(i__),beta_8(i__),alphaGR(i__),betaGR(i__)
c    ..............Just test output...........
        write(6,9)
     +  Mass_8(i__),Rad(i__),log_g_1(i__),logK2_8(i__),logK3_8(i__),
     +  logK4_8(i__),alpha_8(i__),beta_8(i__),alphaGR(i__),betaGR(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end