FORTRAN Generation
(/./ftp/cats/J/A_A/593/A112)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/593/A112 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 2026-Jun-13
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/593/A112      LHA 120-S 73 optical and NIR spectra          (Kraus+, 2016)
*================================================================================
*Inhomogeneous molecular ring around the B[e] supergiant LHA 120-S 73.
*    Kraus M., Cidale L.S., Arias M.L., Maravelias G., Nickeler D.H.,
*    Torres A.F., Fernandes M.Borges , Aret A., Cure M., Vallverdu R., Barba R.H.
*    <Astron. Astrophys. 593, A112 (2016)>
*    =2016A&A...593A.112K        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'list.dat'	! List of spectra

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

      character*20  Title       ! Title of the spectrum file
      character*10  Obs_date    ! ("date") Observation date
      integer*4     Nlines      ! Number of lines in the spectrum file
      character*16  FileName    ! Name of the spectrum file

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

C  Declarations for 'spn/*'	! NIR Phoenix spectra

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

      real*8        lambda      ! (um) Wavelength
      real*8        NFlux       ! Normalized flux

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

C  Declarations for 'spt/*'	! MIR T-ReCS spectrum

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

      real*8        lambda_1    ! (um) Wavelength
      real*8        Flux        ! (Jy) Flux calibrated spectrum

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

C  Declarations for 'sph/*'	! H-lines spectra

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

      real*8        Vrad        ! (km/s) Radial velocity
      real*8        NFlux_1     ! Normalized flux

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

C  Declarations for 'spo/*'	! [OI], [CaII], HeI and TiO spectra

      integer*4 nr__4
      parameter (nr__4=24)	! Number of records
      character*32 ar__4  	! Full-size record

      real*8        lambda_2    ! (0.1nm) Wavelength
      real*8        NFlux_2     ! Normalized flux

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

C  Loading file 'list.dat'	! List of spectra

C  Format for file interpretation

    1 format(A20,1X,A10,1X,I4,1X,A16)

C  Effective file loading

      open(unit=1,status='old',file=
     +'list.dat')
      write(6,*) '....Loading file: list.dat'
      do i__=1,48
        read(1,'(A56)')ar__
        read(ar__,1)Title,Obs_date,Nlines,FileName
c    ..............Just test output...........
        write(6,1)Title,Obs_date,Nlines,FileName
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'spn/*'	! NIR Phoenix spectra

C  Format for file interpretation

    2 format(F7.5,F14.10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'spn/*')
      write(6,*) '....Loading file: spn/*'
      do i__=1,3
        read(1,'(A21)')ar__1
        read(ar__1,2)lambda,NFlux
c    ..............Just test output...........
        write(6,2)lambda,NFlux
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'spt/*'	! MIR T-ReCS spectrum

C  Format for file interpretation

    3 format(F9.3,F10.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'spt/*')
      write(6,*) '....Loading file: spt/*'
      do i__=1,1
        read(1,'(A19)')ar__2
        read(ar__2,3)lambda_1,Flux
c    ..............Just test output...........
        write(6,3)lambda_1,Flux
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'sph/*'	! H-lines spectra

C  Format for file interpretation

    4 format(F16.10,F16.10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'sph/*')
      write(6,*) '....Loading file: sph/*'
      do i__=1,20
        read(1,'(A32)')ar__3
        read(ar__3,4)Vrad,NFlux_1
c    ..............Just test output...........
        write(6,4)Vrad,NFlux_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'spo/*'	! [OI], [CaII], HeI and TiO spectra

C  Format for file interpretation

    5 format(F16.10,F16.10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'spo/*')
      write(6,*) '....Loading file: spo/*'
      do i__=1,24
        read(1,'(A32)')ar__4
        read(ar__4,5)lambda_2,NFlux_2
c    ..............Just test output...........
        write(6,5)lambda_2,NFlux_2
c    .......End.of.Just test output...........
      end do
      close(1)

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