FORTRAN Generation
(/./ftp/cats/J/A_A/620/A165)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/620/A165 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-Sep-10
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/620/A165  Fornax Deep Survey with VST. IV. dwarf galaxies (Venhola+, 2018)
*================================================================================
*The Fornax Deep Survey (FDS) with the VST.
*IV. A size and magnitude limited catalog of dwarf galaxies in the area of the
*Fornax cluster.
*    Venhola A., Peletier R., Laurikainen E., Salo H., Iodice E., Mieske S.,
*    Hilker M., Wittmann C., Lisker T., Paolillo M., Cantiello M., Janz J.,
*    Spavone M., D'Abrusco R., van de Ven G., Napolitano N., Verdoes Kleijn G.,
*    Maddox N., Capaccioli M., Grado A., Valentijn E., Falcon-Barroso J.,
*    Limatola L.
*    <Astron. Astrophys. 620, A165 (2018)>
*    =2018A&A...620A.165V        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'dwarf.dat'	! Fornax dwarf galaxies catalog

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

C  Position composed of: RAdeg DEdeg
      character*15  Target      ! Name of the object (FDSNN_DWARFNNNa)
      real*8        RAdeg       ! (deg) Right Ascension in degrees (ICRS)
      real*8        DEdeg       ! (deg) Declination in degrees (ICRS)
      real*8        PA          ! (deg) [] Major Axis position angle
      real*8        e_PA        ! (deg) Uncertainty of position angle
      real*8        arat        ! Axis ratio from the r'-band GALFIT model
      real*8        e_arat      ! Uncertainty of axis ratio
      real*8        rmag        ! (mag) r'-band total apparent magnitude from Sersic fit
      real*8        e_rmag      ! (mag) Uncertainty of r'-band total magnitude
      real*8        gmag        ! (mag) g'-band total apparent magnitude from Sersic fit
      real*8        e_gmag      ! (mag) Uncertainty of g'-band total magnitude
      real*8        rnuc        ! (mag) ?=-1 r'-band apparent magnitude of nucleus
      real*8        gnuc        ! (mag) ?=-1 g'-band apparent magnitude of nucleus
      real*8        reff        ! (arcsec) Effective radius from the r'-band GALFIT model
      real*8        e_reff      ! (arcsec) Uncertainty of effective radius in arcsec
      real*8        n           ! Sersic index from the r'-band GALFIT model
      real*8        e_n         ! Uncertainty of Sersic index
      real*8        umag1       ! (mag) ?=-1 u'-band apparent aperture magnitude 
*                                 within reff
      real*8        e_umag1     ! (mag) ?=-1 Uncertainty of u'-band apparent aperture
*                                 magnitude within reff
      real*8        gmag1       ! (mag) g'-band apparent aperture magnitude within reff
      real*8        e_gmag1     ! (mag) Uncertainty of g'-band apparent aperture
*                                 magnitude within reff
      real*8        rmag1       ! (mag) r'-band apparent aperture magnitude within reff
      real*8        e_rmag1     ! (mag) Uncertainty of r'-band apparent aperture
*                                 magnitude within reff
      real*8        imag1       ! (mag) i'-band apparent aperture magnitude within reff
      real*8        e_imag1     ! (mag) Uncertainty of i'-band apparent aperture
*                                 magnitude within reff
      real*8        C           ! Concentration parameter in r'-band
*                                 (see Section 7.5)
      real*8        RFF         ! Residual Flux Fraction in r'-band
*                                 (see Section 7.4)
      character*5   Class       ! Morphological classification (1)
      character*80  Ref         ! Cross-matched names within 8 arcsec (2)
*Note (1): Morphological classification as follows:
*    e     = smooth early-type
*    e*    = smooth early-type, object has a nucleus
*    e(s)  = early-types with structure
*    e(s)* = early-types with structure, object has a nucleus
*    l     = late-type
*    l*    = late-type, object has a nucleus
*    back  = background
*Note (2): Cross-matched names within 8 arcsec from SIMBAD,
*   Ferguson (1989AJ.....98..367F, Cat. VII/180),
*   Eigenthaler et al. (2018ApJ...855..142E), and
*   Mieske et al. (2007, Cat. J/A+A/463/503).

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

C  Declarations for 'dwarfbck.dat'	! Background galaxies catalog

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

C  Position composed of: RAdeg DEdeg
      character*15  Target_1    ! Name of the object (FDSNN_DWARFNNNa)
      real*8        RAdeg_1     ! (deg) Right Ascension in degrees (ICRS)
      real*8        DEdeg_1     ! (deg) Declination in degrees (ICRS)
      real*8        PA_1        ! (deg) [] Major Axis position angle
      real*8        e_PA_1      ! (deg) Uncertainty of position angle
      real*8        arat_1      ! Axis ratio from the r'-band GALFIT model
      real*8        e_arat_1    ! Uncertainty of axis ratio
      real*8        rmag_1      ! (mag) r'-band total apparent magnitude from Sersic fit
      real*8        e_rmag_1    ! (mag) Uncertainty of r'-band total magnitude
      real*8        gmag_1      ! (mag) g'-band total apparent magnitude from Sersic fit
      real*8        e_gmag_1    ! (mag) Uncertainty of g'-band total magnitude
      real*8        rnuc_1      ! (mag) ?=-1 r'-band apparent magnitude of nucleus
      real*8        gnuc_1      ! (mag) ?=-1 g'-band apparent magnitude of nucleus
      real*8        reff_1      ! (arcsec) Effective radius from the r'-band GALFIT model
      real*8        e_reff_1    ! (arcsec) Uncertainty of effective radius in arcsec
      real*8        n_1         ! Sersic index from the r'-band GALFIT model
      real*8        e_n_1       ! Uncertainty of Sersic index
      real*8        umag1_1     ! (mag) ?=-1 u'-band apparent aperture magnitude 
*                                 within reff
      real*8        e_umag1_1   ! (mag) ?=-1 Uncertainty of u'-band apparent aperture
*                                 magnitude within reff
      real*8        gmag1_1     ! (mag) g'-band apparent aperture magnitude within reff
      real*8        e_gmag1_1   ! (mag) Uncertainty of g'-band apparent aperture
*                                 magnitude within reff
      real*8        rmag1_1     ! (mag) r'-band apparent aperture magnitude within reff
      real*8        e_rmag1_1   ! (mag) Uncertainty of r'-band apparent aperture
*                                 magnitude within reff
      real*8        imag1_1     ! (mag) i'-band apparent aperture magnitude within reff
      real*8        e_imag1_1   ! (mag) Uncertainty of i'-band apparent aperture
*                                 magnitude within reff
      real*8        C_1         ! Concentration parameter in r'-band
*                                 (see Section 7.5)
      real*8        RFF_1       ! Residual Flux Fraction in r'-band
*                                 (see Section 7.4)
      character*5   Class_1     ! Morphological classification (1)
      character*80  Ref_1       ! Cross-matched names within 8 arcsec (2)
*Note (1): Morphological classification as follows:
*    e     = smooth early-type
*    e*    = smooth early-type, object has a nucleus
*    e(s)  = early-types with structure
*    e(s)* = early-types with structure, object has a nucleus
*    l     = late-type
*    l*    = late-type, object has a nucleus
*    back  = background
*Note (2): Cross-matched names within 8 arcsec from SIMBAD,
*   Ferguson (1989AJ.....98..367F, Cat. VII/180),
*   Eigenthaler et al. (2018ApJ...855..142E), and
*   Mieske et al. (2007, Cat. J/A+A/463/503).

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

C  Loading file 'dwarf.dat'	! Fornax dwarf galaxies catalog

C  Format for file interpretation

    1 format(
     +  A15,1X,F7.4,1X,F8.4,1X,F10.6,1X,F9.6,1X,F8.6,1X,F8.6,1X,F7.4,
     +  1X,F8.6,1X,F7.4,1X,F8.6,1X,F9.4,1X,F9.4,1X,F9.6,1X,F9.6,1X,
     +  F7.4,1X,F8.6,1X,F8.4,1X,F10.6,1X,F7.4,1X,F8.6,1X,F7.4,1X,F8.6,
     +  1X,F7.4,1X,F8.6,1X,F9.6,1X,F9.6,1X,A5,1X,A80)

C  Effective file loading

      open(unit=1,status='old',file=
     +'dwarf.dat')
      write(6,*) '....Loading file: dwarf.dat'
      do i__=1,564
        read(1,'(A340)')ar__
        read(ar__,1)
     +  Target,RAdeg,DEdeg,PA,e_PA,arat,e_arat,rmag,e_rmag,gmag,
     +  e_gmag,rnuc,gnuc,reff,e_reff,n,e_n,umag1,e_umag1,gmag1,
     +  e_gmag1,rmag1,e_rmag1,imag1,e_imag1,C,RFF,Class,Ref
c    ..............Just test output...........
        write(6,1)
     +  Target,RAdeg,DEdeg,PA,e_PA,arat,e_arat,rmag,e_rmag,gmag,
     +  e_gmag,rnuc,gnuc,reff,e_reff,n,e_n,umag1,e_umag1,gmag1,
     +  e_gmag1,rmag1,e_rmag1,imag1,e_imag1,C,RFF,Class,Ref
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'dwarfbck.dat'	! Background galaxies catalog

C  Format for file interpretation

    2 format(
     +  A15,1X,F7.4,1X,F8.4,1X,F10.6,1X,F9.6,1X,F8.6,1X,F8.6,1X,F7.4,
     +  1X,F8.6,1X,F7.4,1X,F8.6,1X,F9.4,1X,F9.4,1X,F9.6,1X,F9.6,1X,
     +  F7.4,1X,F8.6,1X,F8.4,1X,F10.6,1X,F7.4,1X,F8.6,1X,F7.4,1X,F8.6,
     +  1X,F7.4,1X,F8.6,1X,F9.6,1X,F9.6,1X,A5,1X,A80)

C  Effective file loading

      open(unit=1,status='old',file=
     +'dwarfbck.dat')
      write(6,*) '....Loading file: dwarfbck.dat'
      do i__=1,13505
        read(1,'(A340)')ar__1
        read(ar__1,2)
     +  Target_1,RAdeg_1,DEdeg_1,PA_1,e_PA_1,arat_1,e_arat_1,rmag_1,
     +  e_rmag_1,gmag_1,e_gmag_1,rnuc_1,gnuc_1,reff_1,e_reff_1,n_1,
     +  e_n_1,umag1_1,e_umag1_1,gmag1_1,e_gmag1_1,rmag1_1,e_rmag1_1,
     +  imag1_1,e_imag1_1,C_1,RFF_1,Class_1,Ref_1
c    ..............Just test output...........
        write(6,2)
     +  Target_1,RAdeg_1,DEdeg_1,PA_1,e_PA_1,arat_1,e_arat_1,rmag_1,
     +  e_rmag_1,gmag_1,e_gmag_1,rnuc_1,gnuc_1,reff_1,e_reff_1,n_1,
     +  e_n_1,umag1_1,e_umag1_1,gmag1_1,e_gmag1_1,rmag1_1,e_rmag1_1,
     +  imag1_1,e_imag1_1,C_1,RFF_1,Class_1,Ref_1
c    .......End.of.Just test output...........
      end do
      close(1)

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