Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/386/1443 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/MNRAS/386/1443 2dF study of globular clusters in NGC 5128 (Beasley+, 2008)
*================================================================================
*A 2dF spectroscopic study of globular clusters in NGC 5128: probing the
*formation history of the nearest giant elliptical.
* Beasley M.A., Bridges T., Peng E., Harris W.E., Harris G.L.H., Forbes D.A.,
* Mackie G.
* <Mon. Not. R. Astron. Soc., 386, 1443-1463 (2008)>
* =2008MNRAS.386.1443B
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Globular clusters in NGC 5128
integer*4 nr__
parameter (nr__=255) ! Number of records
character*65 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)
character*9 Name ! Name (G1)
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)
real*4 DEs ! (arcsec) Declination (J2000)
real*4 Vmag ! (mag) ? V magnitude
integer*4 RV ! (km/s) Radial velocity
integer*4 e_RV ! (km/s) ? rms uncertainty on RV
integer*4 S_N ! (10/nm) ? Median S/N (in {AA}^1^)
character*1 T ! ? RV template spectral type
real*4 v_M_H_ ! ([-]) ? Metallicity
real*4 e__M_H_ ! ([-]) ? rms uncertainty on [M/H]
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Objects classified as foreground stars
integer*4 nr__1
parameter (nr__1=130) ! Number of records
character*65 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*9 Name_1 ! Name (G1)
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)
real*4 DEs_1 ! (arcsec) Declination (J2000)
real*4 Vmag_1 ! (mag) ? V magnitude
integer*4 RV_1 ! (km/s) Radial velocity
integer*4 e_RV_1 ! (km/s) ? rms uncertainty on RV
integer*4 S_N_1 ! (10/nm) ? Median S/N (in {AA}^1^)
character*1 T_1 ! ? RV template spectral type
real*4 v_M_H__1 ! ([-]) ? Metallicity
real*4 e__M_H__1 ! ([-]) ? rms uncertainty on [M/H]
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Objects classified as background galaxies
integer*4 nr__2
parameter (nr__2=70) ! Number of records
character*65 ar__2 ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg_2 ! (deg) Right Ascension J2000
real*8 DEdeg_2 ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*9 Name_2 ! Name (G1)
integer*4 RAh_2 ! (h) Right ascension (J2000)
integer*4 RAm_2 ! (min) Right ascension (J2000)
real*4 RAs_2 ! (s) Right ascension (J2000)
character*1 DE__2 ! Declination sign (J2000)
integer*4 DEd_2 ! (deg) Declination (J2000)
integer*4 DEm_2 ! (arcmin) Declination (J2000)
real*4 DEs_2 ! (arcsec) Declination (J2000)
real*4 Vmag_2 ! (mag) ? V magnitude
integer*4 RV_2 ! (km/s) Radial velocity
integer*4 e_RV_2 ! (km/s) ? rms uncertainty on RV
integer*4 S_N_2 ! (10/nm) ? Median S/N (in {AA}^1^)
character*1 T_2 ! ? RV template spectral type
real*4 v_M_H__2 ! ([-]) ? Metallicity
real*4 e__M_H__2 ! ([-]) ? rms uncertainty on [M/H]
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Lick indices measured for NGC 5128 GCs
integer*4 nr__3
parameter (nr__3=146) ! Number of records
character*170 ar__3 ! Full-size record
character*9 Name_3 ! Globular cluster name (G1)
real*4 HdelA ! (0.1nm) H{delta}A Lick index
real*4 HdelF ! (0.1nm) H{delta}F Lick index
real*4 CN1 ! (mag) CN1 Lick index
real*4 CN2 ! (mag) CN2 Lick index
real*4 Ca4227 ! (0.1nm) Ca4227 Lick index
real*4 G4300 ! (0.1nm) G4300 Lick index
real*4 HgamA ! (0.1nm) H{gamma}A Lick index
real*4 HgamF ! (0.1nm) H{gamma}F Lick index
real*4 Fe4383 ! (0.1nm) Fe4383 Lick index
real*4 Ca4455 ! (0.1nm) Ca4455 Lick index
real*4 Fe4531 ! (0.1nm) Fe4531 Lick index
real*4 C4668 ! (0.1nm) C4668 Lick index
real*4 Hbeta ! (0.1nm) H{beta} Lick index
real*4 Fe5015 ! (0.1nm) Fe5015 Lick index
real*4 Mg1 ! (mag) Mg1 Lick index
real*4 Mg2 ! (mag) Mg2 Lick index
real*4 Mgb ! (0.1nm) Mgb Lick index
real*4 Fe5270 ! (0.1nm) Fe5270 Lick index
real*4 Fe5335 ! (0.1nm) Fe5335 Lick index
real*4 Fe5406 ! (0.1nm) Fe5406 Lick index
real*4 Fe5709 ! (0.1nm) Fe5709 Lick index
real*4 Fe5782 ! (0.1nm) Fe5782 Lick index
real*4 NaD ! (0.1nm) NaD Lick index
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! Lick index errors measured for NGC 5128 GCs
integer*4 nr__4
parameter (nr__4=146) ! Number of records
character*147 ar__4 ! Full-size record
character*9 Name_4 ! Globular cluster name (G1)
real*4 e_HdelA ! (0.1nm) rms uncertainty on HdelA
real*4 e_HdelF ! (0.1nm) rms uncertainty on HdelF
real*4 e_CN1 ! (mag) rms uncertainty on CN1
real*4 e_CN2 ! (mag) rms uncertainty on CN2
real*4 e_Ca4227 ! (0.1nm) rms uncertainty on Ca4227
real*4 e_G4300 ! (0.1nm) rms uncertainty on G4300
real*4 e_HgamA ! (0.1nm) rms uncertainty on HgamA
real*4 e_HgamF ! (0.1nm) rms uncertainty on HgamF
real*4 e_Fe4383 ! (0.1nm) rms uncertainty on Fe4383
real*4 e_Ca4455 ! (0.1nm) rms uncertainty on Ca4455
real*4 e_Fe4531 ! (0.1nm) rms uncertainty on Fe4531
real*4 e_C4668 ! (0.1nm) rms uncertainty on C4668
real*4 e_Hbeta ! (0.1nm) rms uncertainty on Hbeta
real*4 e_Fe5015 ! (0.1nm) rms uncertainty on Fe5015
real*4 e_Mg1 ! (mag) rms uncertainty on Mg1
real*4 e_Mg2 ! (mag) rms uncertainty on Mg2
real*4 e_Mgb ! (0.1nm) rms uncertainty on Mgb
real*4 e_Fe5270 ! (0.1nm) rms uncertainty on Fe5270
real*4 e_Fe5335 ! (0.1nm) rms uncertainty on Fe5335
real*4 e_Fe5406 ! (0.1nm) rms uncertainty on Fe5406
real*4 e_Fe5709 ! (0.1nm) rms uncertainty on Fe5709
real*4 e_Fe5782 ! (0.1nm) rms uncertainty on Fe5782
real*4 e_NaD ! (0.1nm) rms uncertainty on NaD
*Note (G1): Globular clusters nomenclature as:
* AAT = This study, [BBP2008] AATNNNNNN in Simbad
* HCH = Holland, Cote & Hesser (1999A&A...348..418H),
* [HCH99] NNN in Simbad
* HGHH = Harris et al. (1992AJ....104..613H),
* HGHH-NN = [VHH81] NN in Simbad
* HGHH-GNNN = [HGH92] GNNN in Simbad
* HHH86 = Hesser et al. (1986ApJ...303L..51H),
* [VHH81] NN in Simbad
* HH = This study, [BBP2008] HH-NNN in Simbad
* K = Kraft et al. (2001, Cat. J/ApJ/560/675),
* [KKF2001] NNN in Simbad
* MAGJM = Minniti et al. (1996ApJ...467..221M),
* [MAG95] NN in Simbad
* PFF = Peng et al. (2004ApJS..150..367P),
* [PFF2004] gc NNN
* R = Rejkuba (2001, Cat. J/A+A/369/812),
* [R2001b] fN.GC-NN
* WHH = Woodley et al. (2005AJ....129.2654W),
* [WHH2005] NN
C=============================================================================
C Loading file 'table2.dat' ! Globular clusters in NGC 5128
C Format for file interpretation
1 format(
+ A9,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,1X,I5,
+ 1X,I3,1X,I3,1X,A1,1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,255
read(1,'(A65)')ar__
read(ar__,1)
+ Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Vmag,RV,e_RV,S_N,T,v_M_H_,
+ e__M_H_
if(ar__(35:38) .EQ. '') Vmag = rNULL__
if(ar__(46:48) .EQ. '') e_RV = iNULL__
if(ar__(50:52) .EQ. '') S_N = iNULL__
if(ar__(56:60) .EQ. '') v_M_H_ = rNULL__
if(ar__(62:65) .EQ. '') e__M_H_ = rNULL__
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)
+ Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Vmag,RV,e_RV,S_N,T,v_M_H_,
+ e__M_H_
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Objects classified as foreground stars
C Format for file interpretation
2 format(
+ A9,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,1X,I5,
+ 1X,I3,1X,I3,1X,A1,1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,130
read(1,'(A65)')ar__1
read(ar__1,2)
+ Name_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,Vmag_1,RV_1,
+ e_RV_1,S_N_1,T_1,v_M_H__1,e__M_H__1
if(ar__1(35:38) .EQ. '') Vmag_1 = rNULL__
if(ar__1(46:48) .EQ. '') e_RV_1 = iNULL__
if(ar__1(50:52) .EQ. '') S_N_1 = iNULL__
if(ar__1(56:60) .EQ. '') v_M_H__1 = rNULL__
if(ar__1(62:65) .EQ. '') e__M_H__1 = rNULL__
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)
+ Name_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,Vmag_1,RV_1,
+ e_RV_1,S_N_1,T_1,v_M_H__1,e__M_H__1
write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Objects classified as background galaxies
C Format for file interpretation
3 format(
+ A9,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,1X,I5,
+ 1X,I3,1X,I3,1X,A1,1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,70
read(1,'(A65)')ar__2
read(ar__2,3)
+ Name_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,Vmag_2,RV_2,
+ e_RV_2,S_N_2,T_2,v_M_H__2,e__M_H__2
if(ar__2(35:38) .EQ. '') Vmag_2 = rNULL__
if(ar__2(46:48) .EQ. '') e_RV_2 = iNULL__
if(ar__2(50:52) .EQ. '') S_N_2 = iNULL__
if(ar__2(56:60) .EQ. '') v_M_H__2 = rNULL__
if(ar__2(62:65) .EQ. '') e__M_H__2 = rNULL__
RAdeg_2 = rNULL__
DEdeg_2 = rNULL__
c Derive coordinates RAdeg_2 and DEdeg_2 from input data
c (RAdeg_2 and DEdeg_2 are set to rNULL__ when unknown)
if(RAh_2 .GT. -180) RAdeg_2=RAh_2*15.
if(RAm_2 .GT. -180) RAdeg_2=RAdeg_2+RAm_2/4.
if(RAs_2 .GT. -180) RAdeg_2=RAdeg_2+RAs_2/240.
if(DEd_2 .GE. 0) DEdeg_2=DEd_2
if(DEm_2 .GE. 0) DEdeg_2=DEdeg_2+DEm_2/60.
if(DEs_2 .GE. 0) DEdeg_2=DEdeg_2+DEs_2/3600.
if(DE__2.EQ.'-'.AND.DEdeg_2.GE.0) DEdeg_2=-DEdeg_2
c ..............Just test output...........
write(6,3)
+ Name_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,Vmag_2,RV_2,
+ e_RV_2,S_N_2,T_2,v_M_H__2,e__M_H__2
write(6,'(6H Pos: 2F8.4)') RAdeg_2,DEdeg_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Lick indices measured for NGC 5128 GCs
C Format for file interpretation
4 format(
+ A9,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
+ F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,
+ 1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
+ F6.3)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,146
read(1,'(A170)')ar__3
read(ar__3,4)
+ Name_3,HdelA,HdelF,CN1,CN2,Ca4227,G4300,HgamA,HgamF,Fe4383,
+ Ca4455,Fe4531,C4668,Hbeta,Fe5015,Mg1,Mg2,Mgb,Fe5270,Fe5335,
+ Fe5406,Fe5709,Fe5782,NaD
c ..............Just test output...........
write(6,4)
+ Name_3,HdelA,HdelF,CN1,CN2,Ca4227,G4300,HgamA,HgamF,Fe4383,
+ Ca4455,Fe4531,C4668,Hbeta,Fe5015,Mg1,Mg2,Mgb,Fe5270,Fe5335,
+ Fe5406,Fe5709,Fe5782,NaD
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6.dat' ! Lick index errors measured for NGC 5128 GCs
C Format for file interpretation
5 format(
+ A9,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,
+ F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,
+ 1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,
+ F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,146
read(1,'(A147)')ar__4
read(ar__4,5)
+ Name_4,e_HdelA,e_HdelF,e_CN1,e_CN2,e_Ca4227,e_G4300,e_HgamA,
+ e_HgamF,e_Fe4383,e_Ca4455,e_Fe4531,e_C4668,e_Hbeta,e_Fe5015,
+ e_Mg1,e_Mg2,e_Mgb,e_Fe5270,e_Fe5335,e_Fe5406,e_Fe5709,
+ e_Fe5782,e_NaD
c ..............Just test output...........
write(6,5)
+ Name_4,e_HdelA,e_HdelF,e_CN1,e_CN2,e_Ca4227,e_G4300,e_HgamA,
+ e_HgamF,e_Fe4383,e_Ca4455,e_Fe4531,e_C4668,e_Hbeta,e_Fe5015,
+ e_Mg1,e_Mg2,e_Mgb,e_Fe5270,e_Fe5335,e_Fe5406,e_Fe5709,
+ e_Fe5782,e_NaD
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end