FORTRAN Generation
(/./ftp/cats/J/AJ/127/3399)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/127/3399 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 2024-Apr-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/AJ/127/3399     Sgr A* variability at cm wavelengths    (Herrnstein+, 2004)
*================================================================================
*The variability of Sagittarius A* at centimeter wavelengths.
*    Herrnstein R.M., Zhao J.-H., Bower G.C., Goss W.M.
*   <Astron. J., 127, 3399-3410 (2004)>
*   =2004AJ....127.3399H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Calibrated Flux Density of Sgr A* (with corrected
                          values from erratum published in 2005, AJ, 129, 2511)

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

      character*10  Obs_Date   (nr__) ! ("YYYY/MM/DD") Date of observation
      integer*4     PDay       (nr__) ! (d) Project day (1)
      real*4        F2_0cm     (nr__) ! (Jy) ?=0.00 Flux density at 2.0cm (2)
      real*4        e_F2_0cm   (nr__) ! (Jy) ?=0.00 The 1{sigma} error in F2.0cm (2)
      real*4        F1_3cm     (nr__) ! (Jy) ?=0.00 Flux density at 1.3cm (2)
      real*4        e_F1_3cm   (nr__) ! (Jy) ?=0.00 The 1{sigma} error in F1.3cm (2)
      real*4        F0_7cm     (nr__) ! (Jy) ?=0.00 Flux density at 0.7cm (2)
      real*4        e_F0_7cm   (nr__) ! (Jy) ?=0.00 The 1{sigma} error in F0.7cm (2)
      real*4        Sp_Index   (nr__) ! ?=0.00 Spectral index (2)
      real*4        e_Sp_Index (nr__) ! ?=0.00 The 1{sigma} error in Sp+Index (2)
*Note (1): Where Project day zero is 21 June 2000. Days refer to LST days
*          such that observations occurred at roughly the same time each day.
*Note (2): Values of 0.00 in the table indicate that the parameter was not
*          determined for that epoch.

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

C  Loading file 'table2.dat'	! Calibrated Flux Density of Sgr A* (with corrected
*                          values from erratum published in 2005, AJ, 129, 2511)

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,128
        read(1,'(A56)')ar__
        read(ar__,1)
     +  Obs_Date(i__),PDay(i__),F2_0cm(i__),e_F2_0cm(i__),F1_3cm(i__),
     +  e_F1_3cm(i__),F0_7cm(i__),e_F0_7cm(i__),Sp_Index(i__),
     +  e_Sp_Index(i__)
c    ..............Just test output...........
        write(6,1)
     +  Obs_Date(i__),PDay(i__),F2_0cm(i__),e_F2_0cm(i__),F1_3cm(i__),
     +  e_F1_3cm(i__),F0_7cm(i__),e_F0_7cm(i__),Sp_Index(i__),
     +  e_Sp_Index(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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