FORTRAN Generation
(/./ftp/cats/J/MNRAS/459/1060)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/459/1060 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 2024-Mar-29
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/459/1060   M67 variable stars from Kepler/K2-Campaign-5 (Gonzalez, 2016)
*================================================================================
*Variability among stars in the M 67 field from Kepler/K2-Campaign-5
*light curves.
*    Gonzalez G.
*   <Mon. Not. R. Astron. Soc., 459, 1060-1068 (2016)>
*   =2016MNRAS.459.1060G    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Various data for the stars in our working sample

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

C  J2000.0 position composed of: RAdeg DEdeg
      integer*4     EPIC        ! K2 Input Catalog identifier
      character*6   IDX         ! Other identifier
      character*2   Class       ! Class (1)
      character*5   Cat         ! Category (2)
      real*8        Period      ! (d) Period derived from periodogram
      real*4        FVI         ! Flux variability index
      real*8        Std         ! (mmag) Standard deviation of flux values
      real*8        Stdc        ! (mmag) Corrected standard deviation
      real*8        RAdeg       ! (deg) Right ascension (J2000.0)
      real*8        DEdeg       ! (deg) Declination (J2000.0)
*Note (1): Class as follows:
*    M  = Member
*    SM = Single member
*    BM = Binary member
*    N  = Non-member
*    SN = Single non-member
*    BN = Binary non-member
*    U  = Unknown membership
*Note (2): Category as follows:
*    EB   = eclipsing binary
*    mult = multiple period
*    none = no clear variation
*    rot  = rotation modulated

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

C  Loading file 'table2.dat'	! Various data for the stars in our working sample

C  Format for file interpretation

    1 format(
     +  I9,1X,A6,1X,A2,1X,A5,1X,F9.6,1X,F6.2,1X,F7.3,1X,F7.3,1X,F10.6,
     +  1X,F9.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,639
        read(1,'(A79)')ar__
        read(ar__,1)
     +  EPIC,IDX,Class,Cat,Period,FVI,Std,Stdc,RAdeg,DEdeg
c    ..............Just test output...........
        write(6,1)
     +  EPIC,IDX,Class,Cat,Period,FVI,Std,Stdc,RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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