FORTRAN Generation
(/./ftp/cats/J/A_A/551/A100)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/551/A100 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-Mar-28
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/551/A100      Panchromatic SED of Herschel sources     (Berta+, 2013)
*================================================================================
*Panchromatic spectral energy distributions of Herschel sources.
*    Berta S., Lutz D., Santini P., Wuyts S., Rosario D., Brisbin D., Cooray A.,
*    Franceschini A., Gruppioni C., Hatziminaoglou E., Hwang H.S., Le Floc'h E.,
*    Magnelli B., Nordon R., Oliver S., Page M.J., Popesso P., Pozzetti L.,
*    Pozzi F., Riguccini L., Rodighiero G., Roseboom I., Scott D., Symeonidis M.,
*    Valtchanov I., Viero M., Wang L.
*   <Astron. Astrophys. 551, A100 (2013)>
*   =2013A&A...551A.100B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'list.dat'	! List of available files

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

      character*17  FileName    ! Generic name of the file
      character*41  Mod         ! Type of galaxy
      character*3   v1p6        ! Spectrum normalized to 1.6um
      character*3   LIR         ! Spectrum normalized to LIR=1L{sun}
      character*1   M           ! Spectrum normalized to M*=10^+10^M{sun}

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

C  Declarations for 'temp1p6/*'	! Templates of galaxies normalised to 1.6um

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

      real*8        lambda      ! (0.1nm) [90/1949e+04] Wavelength
      real*4        Flux        ! Flux density S(lambda), normalized

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

C  Declarations for 'tempLIR/*'	! Templates of galaxies normalised at L(IR)=1L{sun}

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

      real*8        lambda_1    ! (0.1nm) [90/1949e+04] Wavelength
      real*4        Flux_1      ! Flux density S(lambda), normalized

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

C  Declarations for 'tempM/*'	! Templates of galaxies normalised at M*=10^+10^M{sun}

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

      real*8        lambda_2    ! (0.1nm) [90/1949e+04] Wavelength
      real*4        Flux_2      ! Flux density S(lambda), normalized

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

C  Loading file 'list.dat'	! List of available files

C  Format for file interpretation

    1 format(A17,1X,A41,1X,A3,1X,A3,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'list.dat')
      write(6,*) '....Loading file: list.dat'
      do i__=1,32
        read(1,'(A69)')ar__
        read(ar__,1)FileName,Mod,v1p6,LIR,M
c    ..............Just test output...........
        write(6,1)FileName,Mod,v1p6,LIR,M
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'temp1p6/*'	! Templates of galaxies normalised to 1.6um

C  Format for file interpretation

    2 format(F15.5,E15.7)

C  Effective file loading

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

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

C  Loading file 'tempLIR/*'	! Templates of galaxies normalised at L(IR)=1L{sun}

C  Format for file interpretation

    3 format(F15.5,E15.7)

C  Effective file loading

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

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

C  Loading file 'tempM/*'	! Templates of galaxies normalised at M*=10^+10^M{sun}

C  Format for file interpretation

    4 format(F15.5,E15.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tempM/*')
      write(6,*) '....Loading file: tempM/*'
      do i__=1,32
        read(1,'(A30)')ar__3
        read(ar__3,4)lambda_2,Flux_2
c    ..............Just test output...........
        write(6,4)lambda_2,Flux_2
c    .......End.of.Just test output...........
      end do
      close(1)

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