FORTRAN Generation
(/./ftp/cats/J/A_A/652/A117)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/652/A117 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-Aug-11
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/652/A117      Transit search in the V1400 Cen system   (Barmentloo+, 2021)
*================================================================================
*A search for transiting companions in the J1407 (V1400 Cen) system.
*    Barmentloo S., Dik C., Kenworthy M.A., Mamajek E.E., Hambsch F.-J.,
*    Reichart D.E., Rodriguez J.E., van Dam D.M.
*    <Astron. Astrophys. 652, A117 (2021)>
*    =2021A&A...652A.117B        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'j1407.dat'	! Photometry corrected for stellar activity

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

      real*8        MJD        (nr__) ! (d) [51887.35/58971.01] Epoch in MJD
      real*4        Flux       (nr__) ! [0.53/1.61] Normalised Uncorrected Flux
      real*4        Fluxcorr   (nr__) ! [0.89/1.13] Normalised Corrected Flux
      real*4        e_Flux     (nr__) ! [0.0/0.05] Error on Flux
      integer*4     Telnum     (nr__) ! [1/5] Telescope number (1)
*Note (1): Telescope number as follows:
*  1 = ASAS
*  2 = ASAS-SN
*  3 = KELT
*  4 = PROMPT
*  5 = ROAD

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

C  Loading file 'j1407.dat'	! Photometry corrected for stellar activity

C  Format for file interpretation

    1 format(F11.5,1X,F6.4,1X,F6.4,1X,F6.4,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'j1407.dat')
      write(6,*) '....Loading file: j1407.dat'
      do i__=1,9843
        read(1,'(A34)')ar__
        read(ar__,1)
     +  MJD(i__),Flux(i__),Fluxcorr(i__),e_Flux(i__),Telnum(i__)
c    ..............Just test output...........
        write(6,1)
     +  MJD(i__),Flux(i__),Fluxcorr(i__),e_Flux(i__),Telnum(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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