FORTRAN Generation
(/./ftp/cats/J/A_A/684/A201)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/684/A201 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-May-19
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/684/A201      Photometric data of NGTS-26 and NGTS-27      (Bouchy+, 2024)
*================================================================================
*NGTS discovery of a highly inflated Saturn-mass planet and a highly irradiated
*hot Jupiter. NGTS-26 b & NGTS-27 b.
*    Bouchy F., Gillen E., Turner O., Gill S., Nielsen L.D., Lendl M.,
*    Vines J.I., Alves D.R, Anderson D.R., Armstrong D.J., Bayliss D.,
*    Jenkins J.S., Acton J.S., Belardi C., Bryant E.M., Burleigh M.R.,
*    Casewell S.L., Costes J.C., Chaushev A., Cooke B.F., Eigmueller P.,
*    Erikson A., Guenther M.N., Goad M.R., Grieves N., McCormac J., Moyano M.,
*    Raynard L., Smith A.M.S., Tilbrook R.H., Udry S., Watson C.A., West R.G.,
*    Wheatley P.J.
*    <Astron. Astrophys. 684, A201 (2024)>
*    =2024A&A...684A.201B        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Renormalised photometric data of NGTS-26 
                                 and NGTS-27 from NGTS

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

      real*8        Date        ! (d) Julian date (TDB) (JD-2450000)
      real*8        Flux        ! Renormalised flux
      real*8        e_Flux      ! Flux error
      character*7   Object      ! Object Name

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

C  Declarations for 'table3.dat'	! Renormalised photometric data of NGTS-26 
                                 and NGTS-27 from EulerCam, SAAO, and TESS

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

      real*8        Date_1      ! (d) Julian date (TDB) (JD-2450000)
      real*8        Flux_1      ! Renormalised flux
      real*8        e_Flux_1    ! Flux error
      character*5   Inst        ! Instrument name
      character*4   Filter      ! Filter used
      character*7   Object_1    ! Object name

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

C  Loading file 'table1.dat'	! Renormalised photometric data of NGTS-26 
*                                 and NGTS-27 from NGTS

C  Format for file interpretation

    1 format(F18.13,1X,F7.5,1X,F7.5,1X,A7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,249658
        read(1,'(A42)')ar__
        read(ar__,1)Date,Flux,e_Flux,Object
c    ..............Just test output...........
        write(6,1)Date,Flux,e_Flux,Object
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Renormalised photometric data of NGTS-26 
*                                 and NGTS-27 from EulerCam, SAAO, and TESS

C  Format for file interpretation

    2 format(F17.12,1X,F8.6,1X,F8.6,1X,A5,1X,A4,1X,A7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,10325
        read(1,'(A54)')ar__1
        read(ar__1,2)Date_1,Flux_1,e_Flux_1,Inst,Filter,Object_1
c    ..............Just test output...........
        write(6,2)Date_1,Flux_1,e_Flux_1,Inst,Filter,Object_1
c    .......End.of.Just test output...........
      end do
      close(1)

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