Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/126/3 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-Jun-13
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/126/3 CO and HI in interacting galaxies (Horellou+ 1997)
*================================================================================
*CO and HI in a southern sample of interacting galaxies. I. The data
* Horellou C., Booth R.
* <Astron. Astrophys. Suppl. Ser. 126, 3 (1997)>
* =1997A&AS..126....3H (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Galaxy Characteristics
integer*4 nr__
parameter (nr__=75) ! Number of records
character*83 ar__ ! Full-size record
C 1950 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg (nr__) ! (deg) Right Ascension 1950
real*8 DEdeg (nr__) ! (deg) Declination 1950
C ---------------------------------- ! (position vector(s) in degrees)
character*6 Name (nr__) ! Source name
character*1 Note (nr__) ! [a-g] Note about individual galaxies (1)
character*10 FileName (nr__) ! Name of postscript figure file containing
* this galaxy (in this directory)
character*12 Galaxy (nr__) ! Galaxy name (from ESO survey)
integer*4 RAh (nr__) ! (h) Right Ascension 1950 (hours)
integer*4 RAm (nr__) ! (min) Right Ascension 1950 (minutes)
real*4 RAs (nr__) ! (s) Right Ascension 1950 (seconds)
character*1 DE_ (nr__) ! Declination 1950 (sign)
integer*4 DEd (nr__) ! (deg) Declination 1950 (degrees)
integer*4 DEm (nr__) ! (arcmin) Declination 1950 (minutes)
integer*4 DEs (nr__) ! (arcsec) Declination 1950 (seconds)
integer*4 Vhel (nr__) ! (km/s) ? Heliocentric velocity
character*7 MType (nr__) ! Morphological Type
real*4 logD25 (nr__) ! ([0.1arcmin]) ? Diameter at 25mag/arcsec2 (log scale)
character*9 OtherName (nr__) ! Other designation of the Galaxy
*Note (1):
* a : JB01 has an uncertainty in position of 30x30arcsec.
* NED gives also a radio velocity of 10079km/s
* b : JB06_2 has an uncertainty in position of 30x30arcsec
* c : JB14_2 other authors give Vhel=6321km/s
* d : JB29_1 has an uncertainty in position of 30x30arcsec
* e : JB33 has an uncertainty in position of 9x9arcsec
* f : JB40 has an uncertainty in position of 5x5arcsec
* g : JB56 HI line at Vhel=2600km/s towards JB56
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! HI and CO observational results
integer*4 nr__1
parameter (nr__1=66) ! Number of records
character*85 ar__1 ! Full-size record
character*4 HIname (nr__1) ! Source name
character*1 Note_1 (nr__1) ! [abdn] Note on source (1)
character*1 posFlag (nr__1) ! [*] Flag for uncertain (30x30") position
integer*4 vHI (nr__1) ! (km/s) ? HI velocity
integer*4 DvHI (nr__1) ! (km/s) ? HI velocity width
character*1 l_SHI (nr__1) ! Limit flag on SHI
real*4 SHI (nr__1) ! (Jy.km/s) ? Integrated HI flux
real*4 e_SHI (nr__1) ! (Jy.km/s) ? Mean error on HI flux
character*1 l_M_HI (nr__1) ! Limit flag on M(HI)
real*4 M_HI (nr__1) ! (10+9solMass) ? Derived HI mass
character*6 Intrum (nr__1) ! Instrument used (Parkes or Australian
* Telescope Compact Array)
character*6 Name_1 (nr__1) ! Source name, as in table1
character*1 Note_CO (nr__1) ! [n] 'n' if not observed
integer*4 vCO (nr__1) ! (km/s) ? CO velocity, observed at SEST telescope
* at ESO-La Silla.
integer*4 DvCO (nr__1) ! (km/s) ? CO velocity width
character*1 l_SCO (nr__1) ! Limit flag on SCO
real*4 SCO (nr__1) ! (K.km/s) ? Integrated antenna temperature
real*4 e_SCO (nr__1) ! (K.km/s) ? Mean error on SCO
character*1 l_M_H2 (nr__1) ! [*<] Limit flag on M(H2) ('*' stands
* for tentative value)
real*4 M_H2 (nr__1) ! (10+8solMass) ? Mass of H2 derived from CO data.
*Note (1): the notes are
* a = pointing made toward a position between galaxies JB11_1 and JB11_2
* b = sources JB57 and JB58 observed together in HI
* d = sources not separated in HI, but are separated in CO
* n = not observed in HI
C=============================================================================
C Loading file 'table1.dat' ! Galaxy Characteristics
C Format for file interpretation
1 format(
+ A6,A1,1X,A10,1X,A12,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,
+ 2X,I5,1X,A7,2X,F4.2,1X,A9)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,75
read(1,'(A83)')ar__
read(ar__,1)
+ Name(i__),Note(i__),FileName(i__),Galaxy(i__),RAh(i__),
+ RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),DEs(i__),
+ Vhel(i__),MType(i__),logD25(i__),OtherName(i__)
if(ar__(55:59) .EQ. '') Vhel(i__) = iNULL__
if(ar__(70:73) .EQ. '') logD25(i__) = rNULL__
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)
+ Name(i__),Note(i__),FileName(i__),Galaxy(i__),RAh(i__),
+ RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),DEs(i__),
+ Vhel(i__),MType(i__),logD25(i__),OtherName(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 'table3.dat' ! HI and CO observational results
C Format for file interpretation
2 format(
+ 1X,A4,2X,A1,A1,1X,I5,2X,I3,1X,A1,F4.1,1X,F3.1,1X,A1,F4.1,2X,
+ A6,4X,A6,A1,I5,2X,I3,1X,A1,F4.2,1X,F4.2,3X,A1,F5.1)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,66
read(1,'(A85)')ar__1
read(ar__1,2)
+ HIname(i__),Note_1(i__),posFlag(i__),vHI(i__),DvHI(i__),
+ l_SHI(i__),SHI(i__),e_SHI(i__),l_M_HI(i__),M_HI(i__),
+ Intrum(i__),Name_1(i__),Note_CO(i__),vCO(i__),DvCO(i__),
+ l_SCO(i__),SCO(i__),e_SCO(i__),l_M_H2(i__),M_H2(i__)
if(ar__1(11:15) .EQ. '') vHI(i__) = iNULL__
if(ar__1(18:20) .EQ. '') DvHI(i__) = iNULL__
if(ar__1(23:26) .EQ. '') SHI(i__) = rNULL__
if(ar__1(28:30) .EQ. '') e_SHI(i__) = rNULL__
if(ar__1(33:36) .EQ. '') M_HI(i__) = rNULL__
if(ar__1(56:60) .EQ. '') vCO(i__) = iNULL__
if(ar__1(63:65) .EQ. '') DvCO(i__) = iNULL__
if(ar__1(68:71) .EQ. '') SCO(i__) = rNULL__
if(ar__1(73:76) .EQ. '') e_SCO(i__) = rNULL__
if(ar__1(81:85) .EQ. '') M_H2(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ HIname(i__),Note_1(i__),posFlag(i__),vHI(i__),DvHI(i__),
+ l_SHI(i__),SHI(i__),e_SHI(i__),l_M_HI(i__),M_HI(i__),
+ Intrum(i__),Name_1(i__),Note_CO(i__),vCO(i__),DvCO(i__),
+ l_SCO(i__),SCO(i__),e_SCO(i__),l_M_H2(i__),M_H2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end