FORTRAN Generation
(/./home/cats/J/A_A/707/A58)

Conversion of standardized ReadMe file for file /./home/cats/J/A_A/707/A58 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/707/A58       Properties of variable mean mag OGLE RR Lyrae (Hajdu+, 2026)
*================================================================================
*RR Lyrae stars with variable mean magnitudes
*    Hajdu G., Jurcsik J., Catelan M., Pietrzynski G., Hocde V., Soszynski I.,
*    Udalski A., Lee C.-U., Kim D.-J.
*    <Astron. Astrophys. 707, A58 (2026)>
*    =2026A&A...707A..58H        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Property results of analysis for RR Lyrae with
                                 detected mean-magnitude changes final sample

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

      character*20  Name        ! OGLE ID of RR Lyrae star (Star)
      real*8        P           ! (d) Pulsation period adopted for the analysis
*                                 (Period)
      character*1   Cor         ! Type of phase correction applied to data (OmC)
*                                 (1)
      integer*4     Nbps        ! Adopted number of breakpoints per season (Nbps)
      integer*4     NIband      ! Number of data points in the I band (NI)
      integer*4     NIr         ! Number of removed I band data points (NI_r)
      integer*4     NVband      ! Number of data points in the V band (NV)
      integer*4     NVr         ! Number of removed V band data points (NV_r)
      real*4        Amp         ! (mag) Amplitude of mean-magnitude changes (dIDR)
      real*4        rIV         ! Amplitude ratio of the mean-magnitude changes
*                                 between the I and V bands (rIV)
      real*4        e_rIV       ! Uncertainty in rIV (e_rIV)
      character*1   u_rIV       ! [*] Flag for uncertain rIV values (n_rIV)
      integer*4     NFI         ! Number of harmonics adopted for the Fourier
*                                 series in the I band (FI)
      integer*4     NFV         ! Number of harmonics adopted for the Fourier
*                                 series in the V band (FV)
      real*4        dAIC        ! Akaike Information Criterion difference in the
*                                 V band between the mean-magnitude changing and
*                                 simple Fourier series models (dAIC) (2)
      integer*4     LC          ! Long-term light-curve behavior (LC) (3)
*Note (1): Type of phase correction are as follows:
*           C = Constant period, no correction applied, 48 sources in our sample
*           P = Parabola subtracted, 19 sources in our sample
*           B = Binary solution subtracted, 5 sources in our sample
*Note (2): As exposed in section 'Search for RRL variables with changing
*          mean-magnitudes', we calculate the difference in the Akaike
*          Information Criterion (AIC; Akaike 1974ITAC...19..716A) between the
*          traditional Fourier series and the mean-magnitude-changing Fourier
*          series solutions in the V band.
*Note (3): Light-curve behaviors are as follows:
*           1 = Mostly monotonic increase or decrease, 41 sources in our sample
*           2 = Intervals of alternating increasing and decreasing periods,
*               10 sources in our sample
*           3 = Quasi-periodic variations, 15 sources in our sample
*           4 = Complex variations, 6 sources in our sample

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

C  Loading file 'table1.dat'	! Property results of analysis for RR Lyrae with
*                                 detected mean-magnitude changes final sample

C  Format for file interpretation

    1 format(
     +  A20,1X,F10.8,1X,A1,1X,I1,1X,I5,1X,I2,1X,I3,1X,I1,1X,F5.3,1X,
     +  F5.3,1X,F5.3,1X,A1,1X,I2,1X,I2,1X,F5.1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,72
        read(1,'(A84)')ar__
        read(ar__,1)
     +  Name,P,Cor,Nbps,NIband,NIr,NVband,NVr,Amp,rIV,e_rIV,u_rIV,NFI,
     +  NFV,dAIC,LC
c    ..............Just test output...........
        write(6,1)
     +  Name,P,Cor,Nbps,NIband,NIr,NVband,NVr,Amp,rIV,e_rIV,u_rIV,NFI,
     +  NFV,dAIC,LC
c    .......End.of.Just test output...........
      end do
      close(1)

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