Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/141/123 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-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 ! (deg) Right Ascension J2000
real*8 DEdeg ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 RKK ! Running number of identified galaxy
character*8 Name ! Other optical identification
character*2 IRAS ! Code for cross-identification in IRAS PSC (G1)
integer*4 RA1h ! (h) Right ascension B1950
integer*4 RA1m ! (min) Right ascension B1950
real*4 RA1s ! (s) Right ascension B1950
character*1 DE1_ ! Declination sign B1950
integer*4 DE1d ! (deg) Declination B1950
integer*4 DE1m ! (arcmin) Declination B1950
integer*4 DE1s ! (arcsec) Declination B1950
character*1 q_DE1s ! [:] Positional accuracy for B1950 positions
integer*4 RAh ! (h) Right ascension J2000
integer*4 RAm ! (min) Right ascension J2000
real*4 RAs ! (s) Right ascension J2000
character*1 DE_ ! Declination sign J2000
integer*4 DEd ! (deg) Declination J2000
integer*4 DEm ! (arcmin) Declination J2000
integer*4 DEs ! (arcsec) [0,60]? Declination J2000
character*1 q_DEs ! [:] Positional accuracy for J2000 positions
real*4 GLON ! (deg) Galactic longitude
real*4 GLAT ! (deg) Galactic latitude
character*3 ESO_SRC ! ESO/SRC Field number
real*4 Xpos ! (mm) X coordinate from center of field
real*4 Ypos ! (mm) Y coordinate from center of field
integer*4 amaj ! (arcsec) Major axis (arcsec)
integer*4 amin ! (arcsec) Minor axis (arcsec)
real*4 Bmag ! (mag) Estimated B magnitude
real*4 E_B_V ! (mag) Extinction E(B-V) according to
* Schlegel et al., 1998ApJ...500..525S
character*11 MType ! Morphological type (G2)
character*28 Rem ! 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 ! (deg) Right Ascension J2000
real*8 DEdeg_1 ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*10 IRAS_1 ! Identification in IRAS PSC (Cat. <II/125>)
character*1 Yamada ! [Y] Crossidentification in Yamada et al.,
* 1993, Cat. <J/ApJS/89/57>
character*3 q_IRAS ! Quality of IRAS PSC cross-identification (G1)
integer*4 RKK_1 ! Running number of identified galaxy
* (from Table 1)
character*1 Lauberts ! [L] Identification in Lauberts catalog
* (1982, Cat. <VII/34>)
integer*4 RA1h_1 ! (h) Right ascension B1950
integer*4 RA1m_1 ! (min) Right ascension B1950
real*4 RA1s_1 ! (s) Right ascension B1950
character*1 DE1__1 ! Declination sign B1950
integer*4 DE1d_1 ! (deg) Declination B1950
integer*4 DE1m_1 ! (arcmin) Declination B1950
integer*4 DE1s_1 ! (arcsec) Declination B1950
character*1 q_DE1s_1 ! [:] Positional accuracy on B1950 positions
integer*4 RAh_1 ! (h) Right ascension J2000
integer*4 RAm_1 ! (min) Right ascension J2000
real*4 RAs_1 ! (s) Right ascension J2000
character*1 DE__1 ! Declination sign J2000
integer*4 DEd_1 ! (deg) Declination J2000
integer*4 DEm_1 ! (arcmin) Declination J2000
integer*4 DEs_1 ! (arcsec) Declination J2000
character*1 u_DEs ! [:] Positional accuracy on J2000 positions
real*4 GLON_1 ! (deg) Galactic longitude
real*4 GLAT_1 ! (deg) Galactic latitude
integer*4 amaj_1 ! (arcsec) Major axis
integer*4 amin_1 ! (arcsec) Minor axis
real*4 Bmag_1 ! (mag) Estimated B magnitude
character*4 MType_1 ! Morphological type (G2)
integer*4 Oir_opt ! (arcsec) ? Positional offset (IRAS - optical)
real*4 S12um ! (Jy) Flux density at 12 micron
real*4 S25um ! (Jy) Flux density at 25 micron
real*4 S60um ! (Jy) Flux density at 60 micron
real*4 S100um ! (Jy) Flux density at 100 micron
integer*4 q_S12um ! [1,3] Flux quality at 12 micron (2)
integer*4 q_S25um ! [1,3] Flux quality at 25 micron (2)
integer*4 q_S60um ! [1,3] Flux quality at 60 micron (2)
integer*4 q_S100um ! [1,3] Flux quality at 100 micron (2)
real*4 IRAS1 ! IRAS color 1: (f12xf25)/(f60xf60)
real*4 IRAS2 ! 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,Name,IRAS,RA1h,RA1m,RA1s,DE1_,DE1d,DE1m,DE1s,q_DE1s,RAh,
+ RAm,RAs,DE_,DEd,DEm,DEs,q_DEs,GLON,GLAT,ESO_SRC,Xpos,Ypos,
+ amaj,amin,Bmag,E_B_V,MType,Rem
if(ar__(60:61) .EQ. '') DEs = iNULL__
RAdeg = rNULL__
DEdeg = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh .GT. -180) RAdeg=RAh*15.
if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
if(DEd .GE. 0) DEdeg=DEd
if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c ..............Just test output...........
write(6,1)
+ RKK,Name,IRAS,RA1h,RA1m,RA1s,DE1_,DE1d,DE1m,DE1s,q_DE1s,RAh,
+ RAm,RAs,DE_,DEd,DEm,DEs,q_DEs,GLON,GLAT,ESO_SRC,Xpos,Ypos,
+ amaj,amin,Bmag,E_B_V,MType,Rem
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
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,Yamada,q_IRAS,RKK_1,Lauberts,RA1h_1,RA1m_1,RA1s_1,
+ DE1__1,DE1d_1,DE1m_1,DE1s_1,q_DE1s_1,RAh_1,RAm_1,RAs_1,DE__1,
+ DEd_1,DEm_1,DEs_1,u_DEs,GLON_1,GLAT_1,amaj_1,amin_1,Bmag_1,
+ MType_1,Oir_opt,S12um,S25um,S60um,S100um,q_S12um,q_S25um,
+ q_S60um,q_S100um,IRAS1,IRAS2
if(ar__1(106:109) .EQ. '') Oir_opt = iNULL__
RAdeg_1 = rNULL__
DEdeg_1 = 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 .GT. -180) RAdeg_1=RAh_1*15.
if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4.
if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240.
if(DEd_1 .GE. 0) DEdeg_1=DEd_1
if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60.
if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600.
if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1
c ..............Just test output...........
write(6,2)
+ IRAS_1,Yamada,q_IRAS,RKK_1,Lauberts,RA1h_1,RA1m_1,RA1s_1,
+ DE1__1,DE1d_1,DE1m_1,DE1s_1,q_DE1s_1,RAh_1,RAm_1,RAs_1,DE__1,
+ DEd_1,DEm_1,DEs_1,u_DEs,GLON_1,GLAT_1,amaj_1,amin_1,Bmag_1,
+ MType_1,Oir_opt,S12um,S25um,S60um,S100um,q_S12um,q_S25um,
+ q_S60um,q_S100um,IRAS1,IRAS2
write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end