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 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-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        (nr__) ! (d) Observation date
      real*4        Dur        (nr__) ! (min) Duration
      integer*4     S15_5GHz   (nr__) ! (uJy) Flux density at 15.5GHz (1)
      integer*4     e_S15_5GHz (nr__) ! (uJy) rms uncertainty on S15.5GHz
      real*4        alpha      (nr__) ! ? Spectral slope between 16.8GHZ and 14.2GHz (2)
      real*4        e_alpha    (nr__) ! ? 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      (nr__1) ! (d) Observation date
      real*4        Dur_1      (nr__1) ! (min) Duration
      integer*4     S15_5GHz_1 (nr__1) ! (uJy) Flux density at 15.5GHz (1)
      integer*4     e_S15_5GHz_1(nr__1) ! (uJy) rms uncertainty on S15.5GHz
      real*4        alpha_1    (nr__1) ! ? Spectral slope between 16.8GHZ and 14.2GHz (2)
      real*4        e_alpha_1  (nr__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(i__),Dur(i__),S15_5GHz(i__),e_S15_5GHz(i__),alpha(i__),
     +  e_alpha(i__)
        if(ar__(29:32) .EQ. '') alpha(i__) = rNULL__
        if(ar__(34:36) .EQ. '') e_alpha(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  MJD(i__),Dur(i__),S15_5GHz(i__),e_S15_5GHz(i__),alpha(i__),
     +  e_alpha(i__)
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(i__),Dur_1(i__),S15_5GHz_1(i__),e_S15_5GHz_1(i__),
     +  alpha_1(i__),e_alpha_1(i__)
        if(ar__1(29:32) .EQ. '') alpha_1(i__) = rNULL__
        if(ar__1(34:36) .EQ. '') e_alpha_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  MJD_1(i__),Dur_1(i__),S15_5GHz_1(i__),e_S15_5GHz_1(i__),
     +  alpha_1(i__),e_alpha_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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