FORTRAN Generation
(/./ftp/cats/J/MNRAS/301/1031)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/301/1031 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 2024-Apr-16
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/301/1031      High resolution spectra of VLM stars (Tinney+ 1998)
*================================================================================
*High resolution spectra of Very Low-Mass Stars
*   Tinney C.G., Reid I.N.
*   <Mon. Not. R. Astron. Soc. 301, 1031 (1998)>
*   =1998MNRAS.301.1031T
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'vb8.dat'	! Spectrum for VB8

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

      real*8        Lambda      ! (0.1nm) Central wavelength of the flux bin
      character*14  Fnu         ! (mJy) Data in interorder gaps has value 0.0

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

C  Declarations for 'lhs2065.dat'	! Spectrum for LHS2065

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

      real*8        Lambda_1    ! (0.1nm) Central wavelength of the flux bin
      character*14  Fnu_1       ! (mJy) Data in interorder gaps has value 0.0

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

C  Declarations for 'lp944-20.dat'	! Spectrum for LP944-20

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

      real*8        Lambda_2    ! (0.1nm) Central wavelength of the flux bin
      character*14  Fnu_2       ! (mJy) Data in interorder gaps has value 0.0

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

C  Declarations for 'mucol.dat'	! Atmospheric Spectrum for Mu Columbae

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

      real*8        Lambda_3    ! (0.1nm) Central wavelength of the flux bin
      real*8        Fnu_3       ! *Data in interorder gaps has value 0.0
*Note on Fnu:
*  mJy which have been normalised to value 1.0
*  in the continuum of the atmospheric standard star

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

C  Loading file 'vb8.dat'	! Spectrum for VB8

C  Format for file interpretation

    1 format(F12.2,A14)

C  Effective file loading

      open(unit=1,status='old',file=
     +'vb8.dat')
      write(6,*) '....Loading file: vb8.dat'
      do i__=1,14390
        read(1,'(A26)')ar__
        read(ar__,1)Lambda,Fnu
c    ..............Just test output...........
        write(6,1)Lambda,Fnu
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'lhs2065.dat'	! Spectrum for LHS2065

C  Format for file interpretation

    2 format(F12.2,A14)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lhs2065.dat')
      write(6,*) '....Loading file: lhs2065.dat'
      do i__=1,14390
        read(1,'(A26)')ar__1
        read(ar__1,2)Lambda_1,Fnu_1
c    ..............Just test output...........
        write(6,2)Lambda_1,Fnu_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'lp944-20.dat'	! Spectrum for LP944-20

C  Format for file interpretation

    3 format(F12.2,A14)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lp944-20.dat')
      write(6,*) '....Loading file: lp944-20.dat'
      do i__=1,14390
        read(1,'(A26)')ar__2
        read(ar__2,3)Lambda_2,Fnu_2
c    ..............Just test output...........
        write(6,3)Lambda_2,Fnu_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'mucol.dat'	! Atmospheric Spectrum for Mu Columbae

C  Format for file interpretation

    4 format(F12.2,F11.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'mucol.dat')
      write(6,*) '....Loading file: mucol.dat'
      do i__=1,14390
        read(1,'(A23)')ar__3
        read(ar__3,4)Lambda_3,Fnu_3
c    ..............Just test output...........
        write(6,4)Lambda_3,Fnu_3
c    .......End.of.Just test output...........
      end do
      close(1)

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