FORTRAN Generation
(/./ftp/cats/J/A_A/693/A245)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/693/A245 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-Aug-11
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/693/A245          Catalog of hot subdwarf candidates           (Wu+, 2025)
*================================================================================
*Search for hot subdwarf stars from SDSS images using a deep learning method:
*SwinBayesNet.
*    Wu H., Bu Y., Zhang J., Zhang M., Yi Z., Liu M., Kong X., Lei Z.
*    <Astron. Astrophys. 693, A245 (2025)>
*    =2025A&A...693A.245W        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table9.dat'	! 6804  Catalog of hot subdwarf candidates

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg       ! (deg) Right Ascension (J2000) (RA)
      real*8        DEdeg       ! (deg) Declination (J2000) (DEC)
      character*19  SDSS        ! objID in SDSS DR17 (SDSSDR17_objID)
      character*19  GaiaDR3     ! source_id in Gaia DR3 (GaiaDR3_source_id)
      real*8        v2prob      ! Two-class classification predicted
*                                 probability (Two_probability)
      real*4        v2episnorm  ! Two-class classification epistemic
*                                 uncertainty (normalised) (Two_epistemic_norm)
      real*8        v2aleanorm  ! Two-class classification aleatoric
*                                 uncertainty (normalised) (Two_aleatoric_norm)
      real*4        v2epissoft  ! Two-class classification epistemic
*                                 uncertainty (soft) (Two_epistemic_soft)
      real*8        v2aleasoft  ! Two-class classification aleatoric
*                                 uncertainty (soft) (Two_aleatoric_soft)
      character*3   v2rel       ! Two-class classification reliability
*                                 (Two_reliability)
      real*8        v3prob      ! Three-class classification predicted
*                                 probability (Three_probability)
      real*4        v3episnorm  ! Three-class classification Epistemic
*                                 uncertainty (normalised) (Three_epistemic_norm)
      real*8        v3aleanorm  ! Three-class classification aleatoric
*                                 uncertainty (normalised) (Three_aleatoric_norm)
      real*4        v3epissoft  ! Three-class classification epistemic
*                                 uncertainty (soft) (Three_epistemic_soft)
      real*4        v3aleasoft  ! Three-class classification aleatoric
*                                 uncertainty (soft) (Three_aleatoric_soft)
      character*3   v3rel       ! Three-class classification Reliability
*                                 (Three_reliability)
      character*6   Source      ! The source of candidates, Culpan or New (Source)
      character*3   Highconf    ! [Yes No] Confidence status of candidates
*                                  (High_confidence)

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

C  Loading file 'table9.dat'	! 6804  Catalog of hot subdwarf candidates

C  Format for file interpretation

    1 format(
     +  F13.9,1X,F13.9,1X,A19,1X,A19,1X,F10.8,1X,E11.5,1X,F11.9,1X,
     +  E11.5,1X,F11.9,1X,A3,1X,F10.8,1X,E11.5,1X,F11.9,1X,E11.5,1X,
     +  E11.5,1X,A3,1X,A6,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,6804
        read(1,'(A204)')ar__
        read(ar__,1)
     +  RAdeg,DEdeg,SDSS,GaiaDR3,v2prob,v2episnorm,v2aleanorm,
     +  v2epissoft,v2aleasoft,v2rel,v3prob,v3episnorm,v3aleanorm,
     +  v3epissoft,v3aleasoft,v3rel,Source,Highconf
c    ..............Just test output...........
        write(6,1)
     +  RAdeg,DEdeg,SDSS,GaiaDR3,v2prob,v2episnorm,v2aleanorm,
     +  v2epissoft,v2aleasoft,v2rel,v3prob,v3episnorm,v3aleanorm,
     +  v3epissoft,v3aleasoft,v3rel,Source,Highconf
c    .......End.of.Just test output...........
      end do
      close(1)

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