FORTRAN Generation
(/./ftp/cats/J/A_A/618/A109)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/618/A109 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-Feb-14
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/618/A109      Seismic global parameters of 372 KIC         (Mosser+, 2018)
*================================================================================
*Period spacings in red giants.
*IV. Toward a complete description of the mixed-mode pattern.
*    Mosser B., Gehan C., Belkacem K., Samadi R., Michel E., Goupil M-J.
*    <Astron. Astrophys. 618, A109 (2018)>
*    =2018A&A...618A.109M        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Seismic global parameters of the stars listed
                                 in the paper

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

      integer*4     KIC        (nr__) ! KIC number
      real*4        numax      (nr__) ! (muHz) Frequecy of maximum oscillation power
      real*4        e_numax    (nr__) ! (muHz) Uncertainty in numax
      real*4        Dnu        (nr__) ! (muHz) Large separation
      real*4        e_Dnu      (nr__) ! (muHz) Uncertainty in Dnu
      real*4        DPi1       (nr__) ! (s) Period spacing
      real*4        e_DPi1     (nr__) ! (s) Uncertainty in DPi1
      real*4        q          (nr__) ! Coupling factor
      real*4        e_q        (nr__) ! Uncertainty in q
      real*4        eps        (nr__) ! Gravity mode offset
      real*4        e_eps      (nr__) ! Uncertainty in eps
      integer*4     dnurot     (nr__) ! ?=999 Rotational splitting
      integer*4     e_dnurot   (nr__) ! ?=999 Uncertainty in dnurot

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

C  Loading file 'table1.dat'	! Seismic global parameters of the stars listed
*                                 in the paper

C  Format for file interpretation

    1 format(
     +  1X,I8,2X,F6.2,1X,F5.2,2X,F5.2,1X,F4.2,2X,F6.2,1X,F4.2,2X,F4.2,
     +  1X,F4.2,2X,F6.3,1X,F5.3,3X,I3,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,372
        read(1,'(A83)')ar__
        read(ar__,1)
     +  KIC(i__),numax(i__),e_numax(i__),Dnu(i__),e_Dnu(i__),
     +  DPi1(i__),e_DPi1(i__),q(i__),e_q(i__),eps(i__),e_eps(i__),
     +  dnurot(i__),e_dnurot(i__)
c    ..............Just test output...........
        write(6,1)
     +  KIC(i__),numax(i__),e_numax(i__),Dnu(i__),e_Dnu(i__),
     +  DPi1(i__),e_DPi1(i__),q(i__),e_q(i__),eps(i__),e_eps(i__),
     +  dnurot(i__),e_dnurot(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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