FORTRAN Generation
(/./ftp/cats/J/A_A/621/A107)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/621/A107 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-Oct-14
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/621/A107   MUSE-Wide Lyman alpha luminosity function 3<z<6 (Herenz+, 2019)
*================================================================================
*The MUSE-Wide Survey: A determination of the Lyman {alpha} emitter luminosity
*function at 3<z<6.
*    Herenz E.C., Wisotzki L., Saust R., Kerutt J., Urrutia T., Diener C.,
*    Schmidt K.B., Marino R.A., de la Vieuville G., Boogaard L., Schaye J.,
*    Guiderdoni B., Richard J., Bacon R.
*    <Astron. Astrophys. 621, A107 (2019)>
*    =2019A&A...621A.107H        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'sample.dat'	! Lyman alpha emitter galaxy catalogue

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

C  J2000 position composed of: RAdeg DEdeg
      character*9   MW_ID       ! MUSE-Wide object identifier from the
*                                     Herenz et al. (2017, Cat. J/A+A/606/A12)
*                                     catalogue
      real*8        RAdeg       ! (deg) Right Ascension (J2000)
      real*8        DEdeg       ! (deg) Declination (J2000)
      real*8        z           ! Redshift of the galaxy (1)
      real*8        SN          ! Significance of the line detection (2)
      integer*4     Conf        ! Confidence of the detection (3)
      real*8        RKron       ! (arcsec) Kron radius determined in a synthesized
*                                     narrow-band image of Lyman alpha line (3)
      real*4        F3Kroncorr  ! (mW/m2) Emission line flux extracted in a 3*RKron
*                                     radius aperture (in erg/s/cm^2^) (4)
      real*4        e_F3Kroncorr ! (mW/m2) Statistical error on the flux measurement
*Note (1): Redshift of the galaxy, determined from the Lyman alpha line as
*           described in Sect. 3.3.1 of Herenz et al. (2017A&A...606A..12H).
*Note (2): from Herenz et al. 2017A&A...606A..12H).
*Note (3): see Sect. 3.2 of the Herenz et al. 2017A&A...606A..12H).
*           Kron radius (Kron, 1980ApJS...43..305K).
*Note (4): corrected for potential flux losses as described in Sect. 2.3 of
*           the this data-release accompanying paper.

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

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

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

      integer*4     Nx          ! Number of pixels along X-axis
      integer*4     Ny          ! Number of pixels along Y-axis
      integer*4     size        ! (Kibyte) Size of FITS file
      character*31  FileName    ! Name of FITS file, in subdirectory fits
      character*35  Title       ! Title of the FITS file

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

C  Loading file 'sample.dat'	! Lyman alpha emitter galaxy catalogue

C  Format for file interpretation

    1 format(
     +  A9,1X,F9.5,1X,F9.5,1X,F7.5,1X,F9.5,1X,I1,1X,F7.5,1X,E11.6,1X,
     +  E11.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'sample.dat')
      write(6,*) '....Loading file: sample.dat'
      do i__=1,237
        read(1,'(A81)')ar__
        read(ar__,1)
     +  MW_ID,RAdeg,DEdeg,z,SN,Conf,RKron,F3Kroncorr,e_F3Kroncorr
c    ..............Just test output...........
        write(6,1)
     +  MW_ID,RAdeg,DEdeg,z,SN,Conf,RKron,F3Kroncorr,e_F3Kroncorr
c    .......End.of.Just test output...........
      end do
      close(1)

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

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

C  Format for file interpretation

    2 format(I4,1X,I4,1X,I5,1X,A31,1X,A35)

C  Effective file loading

      open(unit=1,status='old',file=
     +'list.dat')
      write(6,*) '....Loading file: list.dat'
      do i__=1,4
        read(1,'(A83)')ar__1
        read(ar__1,2)Nx,Ny,size,FileName,Title
c    ..............Just test output...........
        write(6,2)Nx,Ny,size,FileName,Title
c    .......End.of.Just test output...........
      end do
      close(1)

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