FORTRAN Generation
(/./ftp/cats/J/MNRAS/448/1044)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/448/1044 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 2024-Mar-28
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/MNRAS/448/1044  Simulation data for 50 planetary model systems (Hansen+, 2015)
*================================================================================
*Secular effects of tidal damping in compact planetary systems.
*    Hansen B.M.S., Murray N.
*   <Mon. Not. R. Astron. Soc., 448, 1044-1059 (2015)>
*   =2015MNRAS.448.1044H    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'tablea1.dat'	! Initial Conditions for each of the 50 model
                                systems

      integer*4 nr__
      parameter (nr__=294)	! Number of records
      character*60 ar__   	! Full-size record

      integer*4     Model      (nr__) ! [1/50] Model system number
      integer*4     Num        (nr__) ! [1/10] Condition number
      real*4        a          (nr__) ! (AU) Semi-major axis, in AU
      real*4        M          (nr__) ! (Mgeo) Planet mass, in earth mass
      real*4        v_e_       (nr__) ! Eccentricity <e^2^>^1/2^ (1)
      real*4        omega      (nr__) ! (deg) Longitude of periastron {omega}
      real*4        v_i_       (nr__) ! (deg) Inclination <i^2^>^1/2^ (1)
      real*4        Omega_1    (nr__) ! (deg) Longitude of ascending node {Omega}
      character*14  emode      (nr__) ! Indicates to which eccentricity oscillation
*                                mode(s) each planet is strongly coupled (2)
*Note (1): The eccentricities and inclinations are shown as the average of each
*          planet over the secular oscillations given the initial configuration.
*Note (2): Modes are numbered by frequency, with one being the highest frequency
*          mode. In most cases, this is the frequency of the mode dominated by
*          the innermost planet, although this is sometimes superseded if there
*          is a near-commensurability in the system.
*          The numerical labels indicate which planets (counting from inside out)
*          are strongly coupled in the sense defined in Section 2.1.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'tablea2.dat'	! Final conditions of model systems shown in
                                Table A1, after 10^10^ yr of evolution with
                                Q'_p_=10

      integer*4 nr__1
      parameter (nr__1=245)	! Number of records
      character*60 ar__1  	! Full-size record

      integer*4     Model_1    (nr__1) ! [1/50] Model system number
      integer*4     Num_1      (nr__1) ! [1/10] Condition number
      real*4        a_1        (nr__1) ! (AU) Semi-major axis, in AU
      real*4        M_1        (nr__1) ! (Mgeo) Planet mass, in earth mass
      real*4        v_e__1     (nr__1) ! Eccentricity <e^2^>^1/2^ (1)
      real*4        omega_2    (nr__1) ! (deg) Longitude of periastron {omega}
      real*4        v_i__1     (nr__1) ! (deg) Inclination <i^2^>^1/2^ (1)
      real*4        Omega_3    (nr__1) ! (deg) Longitude of ascending node {Omega}
      character*14  emode_1    (nr__1) ! Indicates to which eccentricity oscillation
*                                mode(s) each planet is strongly coupled (2)
*Note (1): The eccentricities and inclinations are shown as the average of each
*          planet over the secular oscillations given the initial configuration.
*Note (2): Modes are numbered by frequency, with one being the highest frequency
*          mode. In most cases, this is the frequency of the mode dominated by
*          the innermost planet, although this is sometimes superseded if there
*          is a near-commensurability in the system.
*          The numerical labels indicate which planets (counting from inside out)
*          are strongly coupled in the sense defined in Section 2.1.

C=============================================================================

C  Loading file 'tablea1.dat'	! Initial Conditions for each of the 50 model
*                                systems

C  Format for file interpretation

    1 format(
     +  I2,1X,I2,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.2,1X,F6.3,1X,F6.2,1X,
     +  A14)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,294
        read(1,'(A60)')ar__
        read(ar__,1)
     +  Model(i__),Num(i__),a(i__),M(i__),v_e_(i__),omega(i__),
     +  v_i_(i__),Omega_1(i__),emode(i__)
c    ..............Just test output...........
        write(6,1)
     +  Model(i__),Num(i__),a(i__),M(i__),v_e_(i__),omega(i__),
     +  v_i_(i__),Omega_1(i__),emode(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'tablea2.dat'	! Final conditions of model systems shown in
*                                Table A1, after 10^10^ yr of evolution with
*                                Q'_p_=10

C  Format for file interpretation

    2 format(
     +  I2,1X,I2,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.2,1X,F6.3,1X,F6.2,1X,
     +  A14)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea2.dat')
      write(6,*) '....Loading file: tablea2.dat'
      do i__=1,245
        read(1,'(A60)')ar__1
        read(ar__1,2)
     +  Model_1(i__),Num_1(i__),a_1(i__),M_1(i__),v_e__1(i__),
     +  omega_2(i__),v_i__1(i__),Omega_3(i__),emode_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Model_1(i__),Num_1(i__),a_1(i__),M_1(i__),v_e__1(i__),
     +  omega_2(i__),v_i__1(i__),Omega_3(i__),emode_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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