FORTRAN Generation
(/./ftp/cats/J/A_A/691/A347)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/691/A347 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-08
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/691/A347         LOFAR ELAIS-N1 field at 144MHz catalog        (Ye+, 2024)
*================================================================================
*1-arcsecond imaging of ELAIS-N1 field at 144MHz using the LoTSS survey
*with international LOFAR telescope.
*    Ye H., Sweijen F., van Weeren R.J., Williams W., de Jong J., Morabito L.K.,
*    Rottgering H., Shimwell T.W., Best P.N., Bondi M., Brueggen M.,
*    de Gasperin F., Tasse C.
*    <Astron. Astrophys. 691, A347 (2024)>
*    =2024A&A...691A.347Y        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! ILT 1arcsec Elais-N1 final catalog

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

C  J2000 position composed of: RAdeg DEdeg
      character*22  Name        ! Source name (Source_name)
      real*8        RAdeg       ! (deg) Right ascension (J2000) (RA)
      real*4        e_RAdeg     ! (deg) Right ascension uncertainty (E_RA)
      real*8        DEdeg       ! (deg) Declination (DEC)
      real*4        e_DEdeg     ! (deg) Declination uncertainty (E_DEC)
      real*4        Ftot        ! (mJy) Integrated source flux density at 144MHz
*                                    (Total_flux)
      real*4        e_Ftot      ! (mJy) Integrated source flux density at 144MHz
*                                    uncertainty (E_Total_flux)
      real*4        Fpeak       ! (mJy/beam) Peak intensity at 144MHz (Peak_flux)
      real*4        e_Fpeak     ! (mJy/beam) Peak intensity uncertainty at 144MHz
*                                    (E_Peak_flux)
      real*4        Maj         ! (arcsec) Deconvolved major-axis (Maj) (1)
      real*4        e_Maj       ! (arcsec) Deconvolved major-axis uncertainty (E_Maj)
      real*4        Min         ! (arcsec) Deconvolved minor-axis (Min) (1)
      real*4        e_Min       ! (arcsec) Deconvolved minor-axis uncertainty (E_Min)
      real*8        PA          ! (deg) Position angle (PA) (1)
      real*8        e_PA        ! (deg) Position angle uncertainty (E_PA)
*Note (1): Fitted shape parameters as determined by PyBDSF.

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

C  Loading file 'table2.dat'	! ILT 1arcsec Elais-N1 final catalog

C  Format for file interpretation

    1 format(
     +  A22,1X,F18.14,1X,E22.16,1X,F18.15,1X,E22.16,2X,E24.16,1X,
     +  E24.16,1X,E24.16,E22.16,2X,E24.16,1X,E24.16,1X,E24.16,E22.16,
     +  1X,F20.16,1X,F21.17)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,2263
        read(1,'(A345)')ar__
        read(ar__,1)
     +  Name,RAdeg,e_RAdeg,DEdeg,e_DEdeg,Ftot,e_Ftot,Fpeak,e_Fpeak,
     +  Maj,e_Maj,Min,e_Min,PA,e_PA
c    ..............Just test output...........
        write(6,1)
     +  Name,RAdeg,e_RAdeg,DEdeg,e_DEdeg,Ftot,e_Ftot,Fpeak,e_Fpeak,
     +  Maj,e_Maj,Min,e_Min,PA,e_PA
c    .......End.of.Just test output...........
      end do
      close(1)

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