FORTRAN Generation
(/./ftp/cats/J/A_A/580/A64)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/580/A64 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-Oct-12
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/580/A64       FK Com spectra in H{alpha}               (Vida+, 2015)
*================================================================================
*Study of FK Comae Berenices:
*VII. Correlating photospheric and chromospheric activity.
*    Vida K., Korhonen H., Ilyin I.V., Olah K., Andersen M.I., Hackman T.
*   <Astron. Astrophys. 580, A64 (2015)>
*   =2015A&A...580A..64V
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'kpno.dat'	! Julian Dates for KPNO data

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

      character*12  FileName   (nr__) ! Spectrum file name in subdirectory sp
      real*8        JD         (nr__) ! (d) Julian date of observation

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

C  Declarations for 'not-low.dat'	! Julian Dates for low-resolution NOT data

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

      character*12  FileName_1 (nr__1) ! Spectrum file name in subdirectory sp
      real*8        JD_1       (nr__1) ! (d) Julian date of observation

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

C  Declarations for 'not.dat'	! Julian Dates for NOT data

      integer*4 nr__2
      parameter (nr__2=176)	! Number of records
      character*27 ar__2  	! Full-size record

      character*12  FileName_2 (nr__2) ! Spectrum file name in subdirectory sp
      real*8        JD_2       (nr__2) ! (d) Julian date of observation

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

C  Declarations for 'sp/*'	! *Individual spectra

      integer*4 nr__3
      parameter (nr__3=308)	! Number of records
      character*21 ar__3  	! Full-size record

      real*8        lambda     (nr__3) ! (0.1nm) [6400/6690] Wavelength (Angstrom)
      real*8        RFlux      (nr__3) ! Relative flux

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

C  Loading file 'kpno.dat'	! Julian Dates for KPNO data

C  Format for file interpretation

    1 format(A12,1X,F14.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'kpno.dat')
      write(6,*) '....Loading file: kpno.dat'
      do i__=1,49
        read(1,'(A27)')ar__
        read(ar__,1)FileName(i__),JD(i__)
c    ..............Just test output...........
        write(6,1)FileName(i__),JD(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'not-low.dat'	! Julian Dates for low-resolution NOT data

C  Format for file interpretation

    2 format(A12,1X,F14.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'not-low.dat')
      write(6,*) '....Loading file: not-low.dat'
      do i__=1,54
        read(1,'(A27)')ar__1
        read(ar__1,2)FileName_1(i__),JD_1(i__)
c    ..............Just test output...........
        write(6,2)FileName_1(i__),JD_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'not.dat'	! Julian Dates for NOT data

C  Format for file interpretation

    3 format(A12,1X,F14.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'not.dat')
      write(6,*) '....Loading file: not.dat'
      do i__=1,176
        read(1,'(A27)')ar__2
        read(ar__2,3)FileName_2(i__),JD_2(i__)
c    ..............Just test output...........
        write(6,3)FileName_2(i__),JD_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'sp/*'	! *Individual spectra

C  Format for file interpretation

    4 format(F11.6,1X,F9.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'sp/*')
      write(6,*) '....Loading file: sp/*'
      do i__=1,308
        read(1,'(A21)')ar__3
        read(ar__3,4)lambda(i__),RFlux(i__)
c    ..............Just test output...........
        write(6,4)lambda(i__),RFlux(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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