FORTRAN Generation
(/./ftp/cats/J/A_A/578/A137)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/578/A137 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-Jun-08
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/578/A137   Solar acoustic modes in period 1996-2014    (Salabert+, 2015)
*================================================================================
*Seismic sensitivity to sub-surface solar activity from 18 years of GOLF/SoHO
*observations.
*    Salabert D., Garcia R.A., Turck-Chieze S.
*   <Astron. Astrophys. 578, A137 (2015)>
*   =2015A&A...578A.137S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'info.dat'	! Year/Month/Day, duty cycle, and 10.7cm radio flux

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

      integer*4     Index      (nr__) ! [01/69] Index
      character*11  Obs_Start  (nr__) ! ("date") Starting date (YYYY-MMM-DD) of 365-day
*                                           observations
      character*11  Obs_End    (nr__) ! ("date") Ending date (YYYY-MMM-DD) of observation
      real*4        dc         (nr__) ! (%) [58/100] Duty cycle
      real*4        Flux       (nr__) ! (10kJy) [68/193] 10.7cm radio flux in RF units (1)
*Note (1): 1 RF = 10^-22^J/s/m^2^/Hz = 10^4^Jy = 10^-22^kg/s^2^.

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

C  Declarations for 'tables.dat'	! Solar p-mode frequencies (11-Apr-1996/06-Apr-2014)

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

      integer*4     Index_1    (nr__1) ! [01/69] Cycle index
      integer*4     n          (nr__1) ! [9/27] Radial order
      integer*4     l          (nr__1) ! [0/3] Angular degree
      real*8        nu         (nr__1) ! (uHz) [1407/4045] Solar acoustic mode frequency
      real*4        e_nu       (nr__1) ! (uHz) [0/1] Uncertainty in nu

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

C  Loading file 'info.dat'	! Year/Month/Day, duty cycle, and 10.7cm radio flux

C  Format for file interpretation

    1 format(I2,1X,A11,1X,A11,1X,F6.2,1X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'info.dat')
      write(6,*) '....Loading file: info.dat'
      do i__=1,69
        read(1,'(A40)')ar__
        read(ar__,1)
     +  Index(i__),Obs_Start(i__),Obs_End(i__),dc(i__),Flux(i__)
c    ..............Just test output...........
        write(6,1)
     +  Index(i__),Obs_Start(i__),Obs_End(i__),dc(i__),Flux(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tables.dat'	! Solar p-mode frequencies (11-Apr-1996/06-Apr-2014)

C  Format for file interpretation

    2 format(I2,1X,I2,1X,I1,1X,F8.3,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tables.dat')
      write(6,*) '....Loading file: tables.dat'
      do i__=1,4485
        read(1,'(A22)')ar__1
        read(ar__1,2)Index_1(i__),n(i__),l(i__),nu(i__),e_nu(i__)
c    ..............Just test output...........
        write(6,2)Index_1(i__),n(i__),l(i__),nu(i__),e_nu(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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