FORTRAN Generation
(/./ftp/cats/J/A_A/690/A279)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/690/A279 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-Sep-06
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/690/A279      Cir X-1 dip width and peak flux correlation      (Yu+, 2024)
*================================================================================
*The correlation between dip width and peak flux in Cir X-1.
*    Yu Z.-L., Zhang S., Zhang S.-N., Li X.-D., Chen Y.-P., Peng J.-Q.,
*    Shui Q.-C., Yan Z., Kong L.-D., Wang P.-J.
*   <Astron. Astrophys. 690, A279 (2024)>
*   =2024A&A...690A.279Y    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table.dat'	! Derived phases from Bayesian blocks technique
                                 and peak fluxes in Cir X-1

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

      integer*4     Orbit       ! [432/1042] Orbit number (1)
      real*4        Dip_in      ! ? Dip-in (ingress of the dip) orbital phase
      real*4        e_Dip_in    ! []? Dip-in (ingress of the dip) orbital phase
*                                    error
      real*4        Dip_out     ! ? Dip-out (egress of the dip) orbital phase
      real*4        e_Dip_out   ! ? Dip-out (egress of the dip) orbital phase
*                                    error
      real*4        Dip_width   ! ? Dip width
      real*4        e_Dip_width ! ? Dip width error
      real*4        Fpeak       ! (Crab) ? Peak flux
      real*4        e_Fpeak     ! (Crab) ? Peak flux error
*Note (1): the orbits of Cir X-1 in Nicolson (2007ATel..985....1N)'s ephemeris.

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

C  Loading file 'table.dat'	! Derived phases from Bayesian blocks technique
*                                 and peak fluxes in Cir X-1

C  Format for file interpretation

    1 format(
     +  I4,1X,F6.3,1X,F6.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F4.2,1X,
     +  F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table.dat')
      write(6,*) '....Loading file: table.dat'
      do i__=1,373
        read(1,'(A53)')ar__
        read(ar__,1)
     +  Orbit,Dip_in,e_Dip_in,Dip_out,e_Dip_out,Dip_width,e_Dip_width,
     +  Fpeak,e_Fpeak
        if(ar__(6:11) .EQ. '') Dip_in = rNULL__
        if(ar__(13:18) .EQ. '') e_Dip_in = rNULL__
        if(ar__(20:25) .EQ. '') Dip_out = rNULL__
        if(ar__(27:31) .EQ. '') e_Dip_out = rNULL__
        if(ar__(33:37) .EQ. '') Dip_width = rNULL__
        if(ar__(39:43) .EQ. '') e_Dip_width = rNULL__
        if(ar__(45:48) .EQ. '') Fpeak = rNULL__
        if(ar__(50:53) .EQ. '') e_Fpeak = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Orbit,Dip_in,e_Dip_in,Dip_out,e_Dip_out,Dip_width,e_Dip_width,
     +  Fpeak,e_Fpeak
c    .......End.of.Just test output...........
      end do
      close(1)

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