FORTRAN Generation
(/./ftp/cats/J/MNRAS/467/L31)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/467/L31 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-Aug-18
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/MNRAS/467/L31     SS Cyg rapid radio flaring in 2016       (Mooley+, 2017)
*================================================================================
*Rapid radio flaring during an anomalous outburst of SS Cyg.
*    Mooley K.P., Miller-jones J.C.A., Fender R.P., Sivakoff G.R., Rumsey C.,
*    Perrott Y., Titterington D., Grainge K., Russell T.D., Carey S.H.,
*    Hickish J., Razavi-ghods N., Scaife A., Scott P., Waagen E.O.
*   <Mon. Not. R. Astron. Soc., 467, L31-35 (2017)>
*   =2017MNRAS.467L..31M    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! 15.5GHz AMI-LA measurements of the SS Cyg

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

      real*8        MJD         ! (d) Observation date
      real*4        Dur         ! (min) Duration
      integer*4     S15_5GHz    ! (uJy) Flux density at 15.5GHz (1)
      integer*4     e_S15_5GHz  ! (uJy) rms uncertainty on S15.5GHz
      real*4        alpha       ! ? Spectral slope between 16.8GHZ and 14.2GHz (2)
      real*4        e_alpha     ! ? rms uncertainty on alpha
*Note (1): S15.5GHz is the peak pixel values at the location of SS Cyg.
*  Flux density values that are <2{sigma} are to be considered as non-detections.
*Note (2): In table1, the spectral index values have large uncertainties except
*    in the cases of flare peaks, and only those values are noted here.
*   In table2, Only the spectral index values having uncertainties less than
*    two are noted here.

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

C  Declarations for 'table2.dat'	! 15.5GHz finely sampled measurements of the
                                 "giant" flare

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

      real*8        MJD_1       ! (d) Observation date
      real*4        Dur_1       ! (min) Duration
      integer*4     S15_5GHz_1  ! (uJy) Flux density at 15.5GHz (1)
      integer*4     e_S15_5GHz_1 ! (uJy) rms uncertainty on S15.5GHz
      real*4        alpha_1     ! ? Spectral slope between 16.8GHZ and 14.2GHz (2)
      real*4        e_alpha_1   ! ? rms uncertainty on alpha
*Note (1): S15.5GHz is the peak pixel values at the location of SS Cyg.
*  Flux density values that are <2{sigma} are to be considered as non-detections.
*Note (2): In table1, the spectral index values have large uncertainties except
*    in the cases of flare peaks, and only those values are noted here.
*   In table2, Only the spectral index values having uncertainties less than
*    two are noted here.

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

C  Loading file 'table1.dat'	! 15.5GHz AMI-LA measurements of the SS Cyg

C  Format for file interpretation

    1 format(F11.5,1X,F5.1,1X,I5,1X,I3,1X,F4.1,1X,F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,53
        read(1,'(A36)')ar__
        read(ar__,1)MJD,Dur,S15_5GHz,e_S15_5GHz,alpha,e_alpha
        if(ar__(29:32) .EQ. '') alpha = rNULL__
        if(ar__(34:36) .EQ. '') e_alpha = rNULL__
c    ..............Just test output...........
        write(6,1)MJD,Dur,S15_5GHz,e_S15_5GHz,alpha,e_alpha
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! 15.5GHz finely sampled measurements of the
*                                 "giant" flare

C  Format for file interpretation

    2 format(F11.5,1X,F5.1,1X,I5,1X,I3,1X,F4.1,1X,F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,61
        read(1,'(A36)')ar__1
        read(ar__1,2)
     +  MJD_1,Dur_1,S15_5GHz_1,e_S15_5GHz_1,alpha_1,e_alpha_1
        if(ar__1(29:32) .EQ. '') alpha_1 = rNULL__
        if(ar__1(34:36) .EQ. '') e_alpha_1 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  MJD_1,Dur_1,S15_5GHz_1,e_S15_5GHz_1,alpha_1,e_alpha_1
c    .......End.of.Just test output...........
      end do
      close(1)

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