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 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-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         ! KIC number
      real*4        numax       ! (muHz) Frequecy of maximum oscillation power
      real*4        e_numax     ! (muHz) Uncertainty in numax
      real*4        Dnu         ! (muHz) Large separation
      real*4        e_Dnu       ! (muHz) Uncertainty in Dnu
      real*4        DPi1        ! (s) Period spacing
      real*4        e_DPi1      ! (s) Uncertainty in DPi1
      real*4        q           ! Coupling factor
      real*4        e_q         ! Uncertainty in q
      real*4        eps         ! Gravity mode offset
      real*4        e_eps       ! Uncertainty in eps
      integer*4     dnurot      ! ?=999 Rotational splitting
      integer*4     e_dnurot    ! ?=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,numax,e_numax,Dnu,e_Dnu,DPi1,e_DPi1,q,e_q,eps,e_eps,
     +  dnurot,e_dnurot
c    ..............Just test output...........
        write(6,1)
     +  KIC,numax,e_numax,Dnu,e_Dnu,DPi1,e_DPi1,q,e_q,eps,e_eps,
     +  dnurot,e_dnurot
c    .......End.of.Just test output...........
      end do
      close(1)

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