FORTRAN Generation
(/./ftp/cats/J/A_A/707/L4)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/707/L4 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-May-17
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/707/L4      z-independent theor. halo mass func. (Fernandez-Garcia+, 2026)
*================================================================================
*A redshift-independent theoretical halo mass function validated with the
*UCHUU simulations.
*    Fernandez-Garcia E., Betancort-Rijo J.E., Prada F., Ishiyama T., Klypin A.,
*    Ruedas J.
*    <Astron. Astrophys. 707, L4 (2026)>
*    =2026A&A...707L...4F        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tableb1.dat'	! Availability of simulation snapshots at
                                 each redshift for the different simulations

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

      real*4        z           ! Redshift
      character*1   Phi_4096    ! [Y-] Snapshot exists for Phi-4096 simulation
      character*1   Shin_Uchuu  ! [Y-] Snapshot exists for Shin-Uchuu
*                                    simulation
      character*1   Uchuu       ! [Y-] Snapshot exists for Uchuu simulation
      character*1   MU_140M     ! [Y-] Snapshot exists for Mucho-Uchuu-140M
*                                    simulation
      character*1   MU_1G       ! [Y-] Snapshot exists for Mucho-Uchuu-1G
*                                    simulation
      character*1   MU_6        ! [Y-] Snapshot exists for Mucho-Uchuu-6
*                                    simulation
      character*38  FileName    ! Name of the file eith simulation results
*                                    in subdirectory files

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

C  Declarations for 'files/*'	! Individual simulation results

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

      real*4        M200m       ! (Msun) Mass enclosed within overdensity 200rho_b_,
*                                in M_{sun}_/h unit
      real*4        HFM         ! Halo mass function expressed as
*                                (M200m/rho_m_)*(dn/dlnM200b)*|dlnM200m/dlnsigma|
      real*4        e_HFM       ! Error on HMF
      real*4        Nhalos      ! Number of halos in the corresponding
*                                halo mass bin
      character*20  SimuName    ! Name of the simulation to which the HMF
*                                in that bin corresponds to

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

C  Loading file 'tableb1.dat'	! Availability of simulation snapshots at
*                                 each redshift for the different simulations

C  Format for file interpretation

    1 format(F5.2,1X,A1,1X,A1,1X,A1,1X,A1,1X,A1,1X,A1,1X,A38)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tableb1.dat')
      write(6,*) '....Loading file: tableb1.dat'
      do i__=1,20
        read(1,'(A56)')ar__
        read(ar__,1)
     +  z,Phi_4096,Shin_Uchuu,Uchuu,MU_140M,MU_1G,MU_6,FileName
c    ..............Just test output...........
        write(6,1)
     +  z,Phi_4096,Shin_Uchuu,Uchuu,MU_140M,MU_1G,MU_6,FileName
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'files/*'	! Individual simulation results

C  Format for file interpretation

    2 format(E12.7,1X,E12.7,1X,E12.7,1X,E12.7,1X,A20)

C  Effective file loading

      open(unit=1,status='old',file=
     +'files/*')
      write(6,*) '....Loading file: files/*'
      do i__=1,20
        read(1,'(A72)')ar__1
        read(ar__1,2)M200m,HFM,e_HFM,Nhalos,SimuName
c    ..............Just test output...........
        write(6,2)M200m,HFM,e_HFM,Nhalos,SimuName
c    .......End.of.Just test output...........
      end do
      close(1)

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