FORTRAN Generation
(/./ftp/cats/J/A_A/662/A58)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/662/A58 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-May-17
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/662/A58         Reduced observations of HD112429        (Van Reeth+, 2022)
*================================================================================
*The near-core rotation of HD112429:
*A gamma Doradus star with TESS photometry and legacy spectroscopy.
*    Van Reeth T., De Cat P., Van Beeck J., Prat V., Wright D.J., Lehmann H.,
*    Chene A.-N., Kambe E., Yang S.L.S., Gentile G., Joos M.
*    <Astron. Astrophys. 662, A58 (2022)>
*    =2022A&A...662A..58V        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'listphot.dat'	! List of reduced and detrended short-cadence TESS
                                photometry of HD112429

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

      integer*4     Sector     (nr__) ! TESS sector during which the photometry
*                                  was taken
      character*32  FileName   (nr__) ! Filename of the associated observed and
*                                  detrended TESS photometry in subdirectory phot

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

C  Declarations for 'listsp.dat'	! List of reduced and normalised spectra of
                                HD112429 (with relevant observation information)

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

      character*8   Inst       (nr__1) ! Name of the used spectrograph
      real*8        BJD        (nr__1) ! (d) Barycentric Julian Day of the observation
      real*8        BVCor      (nr__1) ! (km/s) Barycentric RV correction
      integer*4     SNR        (nr__1) ! Signal-to-noise ratio of the spectrum
      character*38  FileName_1 (nr__1) ! Filename of the associated observed and
*                                   reduced spectrum in subdirectory sp

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

C  Loading file 'listphot.dat'	! List of reduced and detrended short-cadence TESS
*                                photometry of HD112429

C  Format for file interpretation

    1 format(I2,1X,A32)

C  Effective file loading

      open(unit=1,status='old',file=
     +'listphot.dat')
      write(6,*) '....Loading file: listphot.dat'
      do i__=1,5
        read(1,'(A35)')ar__
        read(ar__,1)Sector(i__),FileName(i__)
c    ..............Just test output...........
        write(6,1)Sector(i__),FileName(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'listsp.dat'	! List of reduced and normalised spectra of
*                                HD112429 (with relevant observation information)

C  Format for file interpretation

    2 format(A8,1X,F17.9,1X,F18.14,1X,I3,1X,A38)

C  Effective file loading

      open(unit=1,status='old',file=
     +'listsp.dat')
      write(6,*) '....Loading file: listsp.dat'
      do i__=1,672
        read(1,'(A88)')ar__1
        read(ar__1,2)
     +  Inst(i__),BJD(i__),BVCor(i__),SNR(i__),FileName_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Inst(i__),BJD(i__),BVCor(i__),SNR(i__),FileName_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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