FORTRAN Generation
(/./ftp/cats/J/A_AS/141/123)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/141/123 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-May-20
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+AS/141/123     Galaxies behind Southern Milky Way    (Kraan-Korteweg 2000)
*================================================================================
*A catalog of galaxies behind the Southern Milky Way.
*I. The Hydra/Antlia extension (l=~266{deg}-296{deg}).
*       Kraan-Korteweg R.
*      <Astron. Astrophys. Suppl. 141, 123 (2000)>
*      =2000A&AS..141..123K
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Galaxies behind the Southern Milky Way

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg      (nr__) ! (deg) Right Ascension J2000
      real*8        DEdeg      (nr__) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     RKK        (nr__) ! Running number of identified galaxy
      character*8   Name       (nr__) ! Other optical identification
      character*2   IRAS       (nr__) ! Code for cross-identification in IRAS PSC (G1)
      integer*4     RA1h       (nr__) ! (h) Right ascension B1950
      integer*4     RA1m       (nr__) ! (min) Right ascension B1950
      real*4        RA1s       (nr__) ! (s) Right ascension B1950
      character*1   DE1_       (nr__) ! Declination sign B1950
      integer*4     DE1d       (nr__) ! (deg) Declination B1950
      integer*4     DE1m       (nr__) ! (arcmin) Declination B1950
      integer*4     DE1s       (nr__) ! (arcsec) Declination B1950
      character*1   q_DE1s     (nr__) ! [:] Positional accuracy for B1950 positions
      integer*4     RAh        (nr__) ! (h) Right ascension J2000
      integer*4     RAm        (nr__) ! (min) Right ascension J2000
      real*4        RAs        (nr__) ! (s) Right ascension J2000
      character*1   DE_        (nr__) ! Declination sign J2000
      integer*4     DEd        (nr__) ! (deg) Declination J2000
      integer*4     DEm        (nr__) ! (arcmin) Declination J2000
      integer*4     DEs        (nr__) ! (arcsec) [0,60]? Declination J2000
      character*1   q_DEs      (nr__) ! [:] Positional accuracy for J2000 positions
      real*4        GLON       (nr__) ! (deg) Galactic longitude
      real*4        GLAT       (nr__) ! (deg) Galactic latitude
      character*3   ESO_SRC    (nr__) ! ESO/SRC Field number
      real*4        Xpos       (nr__) ! (mm) X coordinate from center of field
      real*4        Ypos       (nr__) ! (mm) Y coordinate from center of field
      integer*4     amaj       (nr__) ! (arcsec) Major axis (arcsec)
      integer*4     amin       (nr__) ! (arcsec) Minor axis (arcsec)
      real*4        Bmag       (nr__) ! (mag) Estimated B magnitude
      real*4        E_B_V      (nr__) ! (mag) Extinction E(B-V) according to
*                                   Schlegel et al., 1998ApJ...500..525S
      character*11  MType      (nr__) ! Morphological type (G2)
      character*28  Rem        (nr__) ! Remarks (1)
*Note (1): Abbreviations used in Remarks:
*          * or **: star or stars
*            asym.: asymmetric
*              blg: bulge
*              br.: bright; to indicate bright bulges, nearby or superimposed
*                    bright stars or bright bulges
*      cl.to br. *: close to bright star
*              dbl: double
*            diff.: diffuse
*            dist.: distinct
*              HSB: extremely high surface brightness
*           i.a.w.: interacting with; close pair of galaxies which display
*                    disturbances in the image or light bridges between the
*                    galaxies.
*              LSB: low surface brightness galaxy. Also vLSB for very low surface
*                    brightness, and vvLSB for galaxies just barely visible
*                    against the sky background
*             neb?: nebula?
*       neighb. of: neighbor of a listed galaxy. In general, these galaxies are
*                    below the diameter limit of D=13" but close to a catalogued
*                    galaxy and possibly associated with the named neighbor
*               PN: Planetary Nebula
*       p.cov.by *: partly covered by star
*      poss.larger: possibly larger
*             s.p.: superimposed (generally used to note superimposed star or
*                    stars on the galaxy image
*              sp.: spiral (e.g. spiral arm)
*          struct.: structure
*  in st.diff.pat.: galaxy lies within a stellar diffraction pattern, i.e.,
*                    generally on darkened background
*        trpl syst: triple system, generally followed by the identification of
*                    the other members
*               v.: very
*           v.obs.: very obscured
*             vLSB: see LSB
*            vvLSB: see LSB
*               w.: with
*          w.comp.: with companion: a small galaxy, below the diameter limit of
*                    the catalog in the vicinity of the galaxy. The companion was
*                    not entered into the catalog (contrarily to neighbors,
*                    cf. above)
*      w.sev.comp.: with several companions. Same as w.comp., two or more nearby
*                    small galaxies were seen.

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

C  Declarations for 'table2.dat'	! IRAS galaxies behind the Southern Milky Way

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_1    (nr__1) ! (deg) Right Ascension J2000
      real*8        DEdeg_1    (nr__1) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*10  IRAS_1     (nr__1) ! Identification in IRAS PSC (Cat. <II/125>)
      character*1   Yamada     (nr__1) ! [Y] Crossidentification in Yamada et al.,
*                                   1993, Cat. <J/ApJS/89/57>
      character*3   q_IRAS     (nr__1) ! Quality of IRAS PSC cross-identification (G1)
      integer*4     RKK_1      (nr__1) ! Running number of identified galaxy
*                                   (from Table 1)
      character*1   Lauberts   (nr__1) ! [L] Identification in Lauberts catalog
*                                   (1982, Cat. <VII/34>)
      integer*4     RA1h_1     (nr__1) ! (h) Right ascension B1950
      integer*4     RA1m_1     (nr__1) ! (min) Right ascension B1950
      real*4        RA1s_1     (nr__1) ! (s) Right ascension B1950
      character*1   DE1__1     (nr__1) ! Declination sign B1950
      integer*4     DE1d_1     (nr__1) ! (deg) Declination B1950
      integer*4     DE1m_1     (nr__1) ! (arcmin) Declination B1950
      integer*4     DE1s_1     (nr__1) ! (arcsec) Declination B1950
      character*1   q_DE1s_1   (nr__1) ! [:] Positional accuracy on B1950 positions
      integer*4     RAh_1      (nr__1) ! (h) Right ascension J2000
      integer*4     RAm_1      (nr__1) ! (min) Right ascension J2000
      real*4        RAs_1      (nr__1) ! (s) Right ascension J2000
      character*1   DE__1      (nr__1) ! Declination sign J2000
      integer*4     DEd_1      (nr__1) ! (deg) Declination J2000
      integer*4     DEm_1      (nr__1) ! (arcmin) Declination J2000
      integer*4     DEs_1      (nr__1) ! (arcsec) Declination J2000
      character*1   u_DEs      (nr__1) ! [:] Positional accuracy on J2000 positions
      real*4        GLON_1     (nr__1) ! (deg) Galactic longitude
      real*4        GLAT_1     (nr__1) ! (deg) Galactic latitude
      integer*4     amaj_1     (nr__1) ! (arcsec) Major axis
      integer*4     amin_1     (nr__1) ! (arcsec) Minor axis
      real*4        Bmag_1     (nr__1) ! (mag) Estimated B magnitude
      character*4   MType_1    (nr__1) ! Morphological type (G2)
      integer*4     Oir_opt    (nr__1) ! (arcsec) ? Positional offset (IRAS - optical)
      real*4        S12um      (nr__1) ! (Jy) Flux density at 12 micron
      real*4        S25um      (nr__1) ! (Jy) Flux density at 25 micron
      real*4        S60um      (nr__1) ! (Jy) Flux density at 60 micron
      real*4        S100um     (nr__1) ! (Jy) Flux density at 100 micron
      integer*4     q_S12um    (nr__1) ! [1,3] Flux quality at 12 micron (2)
      integer*4     q_S25um    (nr__1) ! [1,3] Flux quality at 25 micron (2)
      integer*4     q_S60um    (nr__1) ! [1,3] Flux quality at 60 micron (2)
      integer*4     q_S100um   (nr__1) ! [1,3] Flux quality at 100 micron (2)
      real*4        IRAS1      (nr__1) ! IRAS color 1: (f12xf25)/(f60xf60)
      real*4        IRAS2      (nr__1) ! IRAS color 2: f100/f60
*Note (2): The IRAS flags are coded as:
*      1 = lower limit
*      2 = uncertain flux
*      3 = good flux quality

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

C  Loading file 'table1.dat'	! Galaxies behind the Southern Milky Way

C  Format for file interpretation

    1 format(
     +  1X,I4,1X,A8,1X,A2,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,A1,
     +  1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,A1,1X,F6.2,1X,F6.2,
     +  2X,A3,1X,F6.1,1X,F6.1,1X,I3,1X,I3,1X,F4.1,1X,F4.2,1X,A11,1X,
     +  A28)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,3279
        read(1,'(A154)')ar__
        read(ar__,1)
     +  RKK(i__),Name(i__),IRAS(i__),RA1h(i__),RA1m(i__),RA1s(i__),
     +  DE1_(i__),DE1d(i__),DE1m(i__),DE1s(i__),q_DE1s(i__),RAh(i__),
     +  RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),DEs(i__),
     +  q_DEs(i__),GLON(i__),GLAT(i__),ESO_SRC(i__),Xpos(i__),
     +  Ypos(i__),amaj(i__),amin(i__),Bmag(i__),E_B_V(i__),MType(i__),
     +  Rem(i__)
        if(ar__(60:61) .EQ. '') DEs(i__) = iNULL__
        RAdeg(i__) = rNULL__
        DEdeg(i__) = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
        if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
        if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
        if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
        if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
        if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
        if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c    ..............Just test output...........
        write(6,1)
     +  RKK(i__),Name(i__),IRAS(i__),RA1h(i__),RA1m(i__),RA1s(i__),
     +  DE1_(i__),DE1d(i__),DE1m(i__),DE1s(i__),q_DE1s(i__),RAh(i__),
     +  RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),DEs(i__),
     +  q_DEs(i__),GLON(i__),GLAT(i__),ESO_SRC(i__),Xpos(i__),
     +  Ypos(i__),amaj(i__),amin(i__),Bmag(i__),E_B_V(i__),MType(i__),
     +  Rem(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! IRAS galaxies behind the Southern Milky Way

C  Format for file interpretation

    2 format(
     +  1X,A10,2X,A1,1X,A3,1X,I4,1X,A1,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,
     +  1X,I2,1X,I2,A1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,A1,1X,
     +  F6.2,1X,F6.2,1X,I3,1X,I3,1X,F4.1,3X,A4,1X,I4,2X,F5.2,2X,F5.2,
     +  2X,F5.2,1X,F6.2,2X,I1,1X,I1,1X,I1,1X,I1,2X,F6.2,1X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,197
        read(1,'(A162)')ar__1
        read(ar__1,2)
     +  IRAS_1(i__),Yamada(i__),q_IRAS(i__),RKK_1(i__),Lauberts(i__),
     +  RA1h_1(i__),RA1m_1(i__),RA1s_1(i__),DE1__1(i__),DE1d_1(i__),
     +  DE1m_1(i__),DE1s_1(i__),q_DE1s_1(i__),RAh_1(i__),RAm_1(i__),
     +  RAs_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),
     +  u_DEs(i__),GLON_1(i__),GLAT_1(i__),amaj_1(i__),amin_1(i__),
     +  Bmag_1(i__),MType_1(i__),Oir_opt(i__),S12um(i__),S25um(i__),
     +  S60um(i__),S100um(i__),q_S12um(i__),q_S25um(i__),q_S60um(i__),
     +  q_S100um(i__),IRAS1(i__),IRAS2(i__)
        if(ar__1(106:109) .EQ. '') Oir_opt(i__) = iNULL__
        RAdeg_1(i__) = rNULL__
        DEdeg_1(i__) = rNULL__
c  Derive coordinates RAdeg_1 and DEdeg_1 from input data
c  (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown)
        if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15.
        if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4.
        if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240.
        if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__)
        if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60.
        if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600.
        if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  IRAS_1(i__),Yamada(i__),q_IRAS(i__),RKK_1(i__),Lauberts(i__),
     +  RA1h_1(i__),RA1m_1(i__),RA1s_1(i__),DE1__1(i__),DE1d_1(i__),
     +  DE1m_1(i__),DE1s_1(i__),q_DE1s_1(i__),RAh_1(i__),RAm_1(i__),
     +  RAs_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),
     +  u_DEs(i__),GLON_1(i__),GLAT_1(i__),amaj_1(i__),amin_1(i__),
     +  Bmag_1(i__),MType_1(i__),Oir_opt(i__),S12um(i__),S25um(i__),
     +  S60um(i__),S100um(i__),q_S12um(i__),q_S25um(i__),q_S60um(i__),
     +  q_S100um(i__),IRAS1(i__),IRAS2(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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