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 loading all data files into arrays.

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     (nr__) ! Name of the object (FDSNN_DWARFNNNa)
      real*8        RAdeg      (nr__) ! (deg) Right Ascension in degrees (ICRS)
      real*8        DEdeg      (nr__) ! (deg) Declination in degrees (ICRS)
      real*8        PA         (nr__) ! (deg) [] Major Axis position angle
      real*8        e_PA       (nr__) ! (deg) Uncertainty of position angle
      real*8        arat       (nr__) ! Axis ratio from the r'-band GALFIT model
      real*8        e_arat     (nr__) ! Uncertainty of axis ratio
      real*8        rmag       (nr__) ! (mag) r'-band total apparent magnitude from Sersic fit
      real*8        e_rmag     (nr__) ! (mag) Uncertainty of r'-band total magnitude
      real*8        gmag       (nr__) ! (mag) g'-band total apparent magnitude from Sersic fit
      real*8        e_gmag     (nr__) ! (mag) Uncertainty of g'-band total magnitude
      real*8        rnuc       (nr__) ! (mag) ?=-1 r'-band apparent magnitude of nucleus
      real*8        gnuc       (nr__) ! (mag) ?=-1 g'-band apparent magnitude of nucleus
      real*8        reff       (nr__) ! (arcsec) Effective radius from the r'-band GALFIT model
      real*8        e_reff     (nr__) ! (arcsec) Uncertainty of effective radius in arcsec
      real*8        n          (nr__) ! Sersic index from the r'-band GALFIT model
      real*8        e_n        (nr__) ! Uncertainty of Sersic index
      real*8        umag1      (nr__) ! (mag) ?=-1 u'-band apparent aperture magnitude 
*                                 within reff
      real*8        e_umag1    (nr__) ! (mag) ?=-1 Uncertainty of u'-band apparent aperture
*                                 magnitude within reff
      real*8        gmag1      (nr__) ! (mag) g'-band apparent aperture magnitude within reff
      real*8        e_gmag1    (nr__) ! (mag) Uncertainty of g'-band apparent aperture
*                                 magnitude within reff
      real*8        rmag1      (nr__) ! (mag) r'-band apparent aperture magnitude within reff
      real*8        e_rmag1    (nr__) ! (mag) Uncertainty of r'-band apparent aperture
*                                 magnitude within reff
      real*8        imag1      (nr__) ! (mag) i'-band apparent aperture magnitude within reff
      real*8        e_imag1    (nr__) ! (mag) Uncertainty of i'-band apparent aperture
*                                 magnitude within reff
      real*8        C          (nr__) ! Concentration parameter in r'-band
*                                 (see Section 7.5)
      real*8        RFF        (nr__) ! Residual Flux Fraction in r'-band
*                                 (see Section 7.4)
      character*5   Class      (nr__) ! Morphological classification (1)
      character*80  Ref        (nr__) ! 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   (nr__1) ! Name of the object (FDSNN_DWARFNNNa)
      real*8        RAdeg_1    (nr__1) ! (deg) Right Ascension in degrees (ICRS)
      real*8        DEdeg_1    (nr__1) ! (deg) Declination in degrees (ICRS)
      real*8        PA_1       (nr__1) ! (deg) [] Major Axis position angle
      real*8        e_PA_1     (nr__1) ! (deg) Uncertainty of position angle
      real*8        arat_1     (nr__1) ! Axis ratio from the r'-band GALFIT model
      real*8        e_arat_1   (nr__1) ! Uncertainty of axis ratio
      real*8        rmag_1     (nr__1) ! (mag) r'-band total apparent magnitude from Sersic fit
      real*8        e_rmag_1   (nr__1) ! (mag) Uncertainty of r'-band total magnitude
      real*8        gmag_1     (nr__1) ! (mag) g'-band total apparent magnitude from Sersic fit
      real*8        e_gmag_1   (nr__1) ! (mag) Uncertainty of g'-band total magnitude
      real*8        rnuc_1     (nr__1) ! (mag) ?=-1 r'-band apparent magnitude of nucleus
      real*8        gnuc_1     (nr__1) ! (mag) ?=-1 g'-band apparent magnitude of nucleus
      real*8        reff_1     (nr__1) ! (arcsec) Effective radius from the r'-band GALFIT model
      real*8        e_reff_1   (nr__1) ! (arcsec) Uncertainty of effective radius in arcsec
      real*8        n_1        (nr__1) ! Sersic index from the r'-band GALFIT model
      real*8        e_n_1      (nr__1) ! Uncertainty of Sersic index
      real*8        umag1_1    (nr__1) ! (mag) ?=-1 u'-band apparent aperture magnitude 
*                                 within reff
      real*8        e_umag1_1  (nr__1) ! (mag) ?=-1 Uncertainty of u'-band apparent aperture
*                                 magnitude within reff
      real*8        gmag1_1    (nr__1) ! (mag) g'-band apparent aperture magnitude within reff
      real*8        e_gmag1_1  (nr__1) ! (mag) Uncertainty of g'-band apparent aperture
*                                 magnitude within reff
      real*8        rmag1_1    (nr__1) ! (mag) r'-band apparent aperture magnitude within reff
      real*8        e_rmag1_1  (nr__1) ! (mag) Uncertainty of r'-band apparent aperture
*                                 magnitude within reff
      real*8        imag1_1    (nr__1) ! (mag) i'-band apparent aperture magnitude within reff
      real*8        e_imag1_1  (nr__1) ! (mag) Uncertainty of i'-band apparent aperture
*                                 magnitude within reff
      real*8        C_1        (nr__1) ! Concentration parameter in r'-band
*                                 (see Section 7.5)
      real*8        RFF_1      (nr__1) ! Residual Flux Fraction in r'-band
*                                 (see Section 7.4)
      character*5   Class_1    (nr__1) ! Morphological classification (1)
      character*80  Ref_1      (nr__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(i__),RAdeg(i__),DEdeg(i__),PA(i__),e_PA(i__),arat(i__),
     +  e_arat(i__),rmag(i__),e_rmag(i__),gmag(i__),e_gmag(i__),
     +  rnuc(i__),gnuc(i__),reff(i__),e_reff(i__),n(i__),e_n(i__),
     +  umag1(i__),e_umag1(i__),gmag1(i__),e_gmag1(i__),rmag1(i__),
     +  e_rmag1(i__),imag1(i__),e_imag1(i__),C(i__),RFF(i__),
     +  Class(i__),Ref(i__)
c    ..............Just test output...........
        write(6,1)
     +  Target(i__),RAdeg(i__),DEdeg(i__),PA(i__),e_PA(i__),arat(i__),
     +  e_arat(i__),rmag(i__),e_rmag(i__),gmag(i__),e_gmag(i__),
     +  rnuc(i__),gnuc(i__),reff(i__),e_reff(i__),n(i__),e_n(i__),
     +  umag1(i__),e_umag1(i__),gmag1(i__),e_gmag1(i__),rmag1(i__),
     +  e_rmag1(i__),imag1(i__),e_imag1(i__),C(i__),RFF(i__),
     +  Class(i__),Ref(i__)
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(i__),RAdeg_1(i__),DEdeg_1(i__),PA_1(i__),e_PA_1(i__),
     +  arat_1(i__),e_arat_1(i__),rmag_1(i__),e_rmag_1(i__),
     +  gmag_1(i__),e_gmag_1(i__),rnuc_1(i__),gnuc_1(i__),reff_1(i__),
     +  e_reff_1(i__),n_1(i__),e_n_1(i__),umag1_1(i__),e_umag1_1(i__),
     +  gmag1_1(i__),e_gmag1_1(i__),rmag1_1(i__),e_rmag1_1(i__),
     +  imag1_1(i__),e_imag1_1(i__),C_1(i__),RFF_1(i__),Class_1(i__),
     +  Ref_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Target_1(i__),RAdeg_1(i__),DEdeg_1(i__),PA_1(i__),e_PA_1(i__),
     +  arat_1(i__),e_arat_1(i__),rmag_1(i__),e_rmag_1(i__),
     +  gmag_1(i__),e_gmag_1(i__),rnuc_1(i__),gnuc_1(i__),reff_1(i__),
     +  e_reff_1(i__),n_1(i__),e_n_1(i__),umag1_1(i__),e_umag1_1(i__),
     +  gmag1_1(i__),e_gmag1_1(i__),rmag1_1(i__),e_rmag1_1(i__),
     +  imag1_1(i__),e_imag1_1(i__),C_1(i__),RFF_1(i__),Class_1(i__),
     +  Ref_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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