Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/663/164 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.5, on 2013-May-22
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__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/ApJ/663/164 VLT and ACS observations in RDCS J1252.9-2927 (Demarco+, 2007)
*================================================================================
*VLT and ACS observations of RDCS J1252.9-2927: dynamical structure and galaxy
*populations in a massive cluster at z = 1.237.
* Demarco R., Rosati P., Lidman C., Girardi M., Nonino M., Rettura A.,
* Strazzullo V., Van Der Wel A., Ford H.C., Mainieri V., Holden B.P.,
* Stanford S.A., Blakeslee J.P., Gobat R., Postman M., Tozzi P.,
* Overzier R.A., Zirm A.W., Benitez N., Homeier N.L., Illingworth G.D.,
* Infante L., Jee M.J., Mei S., Menanteau F., Motta V., Zheng W., Clampin M.,
* Hartig G.
* <Astrophys. J., 663, 164-182 (2007)>
* =2007ApJ...663..164D
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Spectroscopically confirmed cluster members
integer*4 nr__
parameter (nr__=38) ! Number of records
character*133 ar__ ! Full-size record
real*8 RA_ (nr__) ! (deg) Right Ascension J2000
real*8 Dec (nr__) ! (deg) Declination J2000
integer*4 v_DRL2007_ (nr__) ! Sequential number
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)
real*4 DEs (nr__) ! (arcsec) Declination (J2000)
real*4 z (nr__) ! Redshift as obtained from cross-correlation
real*4 e_z (nr__) ! rms uncertainty on z
real*4 R (nr__) ! Correlation coefficient, R, as defined in
* Tonry & Davis (1979AJ.....84.1511T)
character*52 SpLines (nr__) ! Most prominent spectral features identified
* in the spectrum (1)
integer*4 Em (nr__) ! [0/1] Emission-line flag: 0 = no emission,
* 1 = narrow emission lines
real*4 F_OII_ (nr__) ! (10-20W/m2) ? Integrated [OII] line flux
real*4 e_F_OII_ (nr__) ! (10-20W/m2) ? rms uncertainty on F[OII]
integer*4 EW_OII_ (nr__) ! (0.1nm) ? [OII] equivalent width
integer*4 e_EW_OII_ (nr__) ! (0.1nm) ? rms uncertainty on EW[II]
real*4 SFR (nr__) ! (solMass/yr) ? Star-formation rate
real*4 e_SFR (nr__) ! (solMass/yr) ? rms uncertainty on SFR
*Note (1): Most prominent spectral features:
* FeI ({lambda}3581), HeI ({lambda}3614), [OII] ({lambda}3727),
* H10 ({lambda}3750), H9 ({lambda}3770), H8 ({lambda}3799),
* MgI ({lambda}3834), H6 ({lambda}3889),
* the CaII lines H ({lambda}3934) and K ({lambda}3969),
* the decrement at 4000{AA} (D4000),
* Hdelta ({lambda}4102), and CaI ({lambda}4227).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Photometric catalog of spectroscopically
confirmed cluster members
integer*4 nr__1
parameter (nr__1=38) ! Number of records
character*79 ar__1 ! Full-size record
integer*4 v_DRL2007__1(nr__1) ! Sequential number
real*4 Ksmag (nr__1) ! (mag) ?=99.99 Total 2MASS Ks magnitude
real*4 e_Ksmag (nr__1) ! (mag) ?=- rms uncertainty on Ksmag
real*4 B_V (nr__1) ! (mag) ?=9.99 FORS2 B-V colour index
real*4 e_B_V (nr__1) ! (mag) ?=- rms uncertainty on B-V
real*4 V_R (nr__1) ! (mag) ?=9.99 FORS2 V-R colour index
real*4 e_V_R (nr__1) ! (mag) ?=- rms uncertainty on V-R
real*4 V_i775 (nr__1) ! (mag) ?=9.99 FORS2/HST V-i775 colour index
real*4 e_V_i775 (nr__1) ! (mag) ?=- rms uncertainty on V-i775
real*4 R_Ks (nr__1) ! (mag) ?=9.99 FORS2 R-Ks colour index
real*4 e_R_Ks (nr__1) ! (mag) ?=- rms uncertainty on R-Ks
real*4 i775_z850 (nr__1) ! (mag) ?=9.99 HST i775-z850 colour index
real*4 e_i775_z850(nr__1) ! (mag) ?=- rms uncertainty on i775-z850
real*4 Js_Ks (nr__1) ! (mag) ?=9.99 2MASS Js-Ks colour index
real*4 e_Js_Ks (nr__1) ! (mag) ?=- rms uncertainty on Js-Ks
integer*4 TT (nr__1) ! ? T Type (de Vaucouleurs morphology) (1)
*Note (1): -5=Elliptical, -2=S0, 1=Sa, 6=Sd 8=Irregular
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! X-Ray point sources detected by Chandra
integer*4 nr__2
parameter (nr__2=11) ! Number of records
character*68 ar__2 ! Full-size record
real*8 RA__1 (nr__2) ! (deg) Right Ascension J2000
real*8 Dec_1 (nr__2) ! (deg) Declination J2000
integer*4 v_DRL2007__2(nr__2) ! Sequential number
integer*4 RAh_1 (nr__2) ! (h) Right ascension (J2000)
integer*4 RAm_1 (nr__2) ! (min) Right ascension (J2000)
real*4 RAs_1 (nr__2) ! (s) Right ascension (J2000)
character*1 DE__1 (nr__2) ! Declination sign (J2000)
integer*4 DEd_1 (nr__2) ! (deg) Declination (J2000)
integer*4 DEm_1 (nr__2) ! (arcmin) Declination (J2000)
real*4 DEs_1 (nr__2) ! (arcsec) Declination (J2000)
real*4 z_1 (nr__2) ! Spectroscopic redshift
real*4 FX_0_5_2 (nr__2) ! (mW/m2) Flux in the [0.5-2]keV band of Chandra
real*4 FX_2_10 (nr__2) ! (mW/m2) Flux in the [2-10]keV band of Chandra
real*4 LX_0_5_2 (nr__2) ! (10-7W) Rest-frame X-ray luminosity in the
* [0.5-2]keV band
real*4 LX_2_10 (nr__2) ! (10-7W) Rest-frame X-ray luminosity in the
* [2-10]keV band
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Spectroscopic data of field galaxies
integer*4 nr__3
parameter (nr__3=189) ! Number of records
character*46 ar__3 ! Full-size record
real*8 RA__2 (nr__3) ! (deg) Right Ascension J2000
real*8 Dec_2 (nr__3) ! (deg) Declination J2000
integer*4 v_DRL2007__3(nr__3) ! Sequential number
character*1 m__DRL2007_(nr__3) ! [b] Multiplicity index on [DRL2007]
character*1 n__DRL2007_(nr__3) ! [*] Note on Seq (1)
integer*4 RAh_2 (nr__3) ! (h) Right ascension (J2000)
integer*4 RAm_2 (nr__3) ! (min) Right ascension (J2000)
real*4 RAs_2 (nr__3) ! (s) Right ascension (J2000)
character*1 DE__2 (nr__3) ! Declination sign (J2000)
integer*4 DEd_2 (nr__3) ! (deg) Declination (J2000)
integer*4 DEm_2 (nr__3) ! (arcmin) Declination (J2000)
real*4 DEs_2 (nr__3) ! (arcsec) Declination (J2000)
real*4 z_2 (nr__3) ! Redshift as obtained from the cross-correlation
real*4 e_z_1 (nr__3) ! rms uncertainty on z
*Note (1): A prominent "structure" in redshift can be seen at redshift
* z~0.74 (see Sect. 3.1). Objects belonging to this "structure" are
* marked with an asterisk.
C=============================================================================
C Loading file 'table2.dat' ! Spectroscopically confirmed cluster members
C Format for file interpretation
1 format(
+ I5,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F6.4,1X,F6.4,
+ 1X,F5.2,1X,A52,1X,I1,1X,F4.2,1X,F4.2,1X,I4,1X,I3,1X,F4.2,1X,
+ F4.2)
C Effective file loading
open(unit=1,file='table2.dat', status='old')
write(6,*) '....Loading file: table2.dat'
do i__=1,38
read(1,'(A133)')ar__
read(ar__,1)
+ v_DRL2007_(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
+ DEm(i__),DEs(i__),z(i__),e_z(i__),R(i__),SpLines(i__),Em(i__),
+ F_OII_(i__),e_F_OII_(i__),EW_OII_(i__),e_EW_OII_(i__),
+ SFR(i__),e_SFR(i__)
if(ar__(106:109) .EQ. '') F_OII_(i__) = rNULL__
if(ar__(111:114) .EQ. '') e_F_OII_(i__) = rNULL__
if(ar__(116:119) .EQ. '') EW_OII_(i__) = iNULL__
if(ar__(121:123) .EQ. '') e_EW_OII_(i__) = iNULL__
if(ar__(125:128) .EQ. '') SFR(i__) = rNULL__
if(ar__(130:133) .EQ. '') e_SFR(i__) = rNULL__
c Derive coordinates RA_ and Dec from input data
c (RA_ and Dec are set to rNULL_ when unknown)
RA_(i__) = RAh(i__)
if(RAh(i__) .GE. 0) RA_(i__)=RAh(i__)*15.
if(RAm(i__) .GE. 0) RA_(i__)=RA_(i__)+RAm(i__)/4.
if(RAs(i__) .GE. 0) RA_(i__)=RA_(i__)+RAs(i__)/240.
Dec(i__) = DEd(i__)
if(DEm(i__) .GE. 0) Dec(i__)=Dec(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) Dec(i__)=Dec(i__)+DEs(i__)/3600.
if(DE_(i__).EQ.'-'.AND.Dec(i__).GE.0) Dec(i__)=-Dec(i__)
c ..............Just test output...........
write(6,1)
+ v_DRL2007_(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
+ DEm(i__),DEs(i__),z(i__),e_z(i__),R(i__),SpLines(i__),Em(i__),
+ F_OII_(i__),e_F_OII_(i__),EW_OII_(i__),e_EW_OII_(i__),
+ SFR(i__),e_SFR(i__)
write(6,'(6H Pos: 2F8.4)') RA_(i__),Dec(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Photometric catalog of spectroscopically
* confirmed cluster members
C Format for file interpretation
2 format(
+ I5,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,
+ F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,I2)
C Effective file loading
open(unit=1,file='table3.dat', status='old')
write(6,*) '....Loading file: table3.dat'
do i__=1,38
read(1,'(A79)')ar__1
read(ar__1,2)
+ v_DRL2007__1(i__),Ksmag(i__),e_Ksmag(i__),B_V(i__),e_B_V(i__),
+ V_R(i__),e_V_R(i__),V_i775(i__),e_V_i775(i__),R_Ks(i__),
+ e_R_Ks(i__),i775_z850(i__),e_i775_z850(i__),Js_Ks(i__),
+ e_Js_Ks(i__),TT(i__)
if (e_Ksmag(i__) .EQ. 2.2233e-322) e_Ksmag(i__) = rNULL__
if (e_B_V(i__) .EQ. 2.2233e-322) e_B_V(i__) = rNULL__
if (e_V_R(i__) .EQ. 2.2233e-322) e_V_R(i__) = rNULL__
if (e_V_i775(i__) .EQ. 2.2233e-322) e_V_i775(i__) = rNULL__
if (e_R_Ks(i__) .EQ. 2.2233e-322) e_R_Ks(i__) = rNULL__
if (e_i775_z850(i__) .EQ. 2.2233e-322) e_i775_z850(i__) = rNULL__
if (e_Js_Ks(i__) .EQ. 2.2233e-322) e_Js_Ks(i__) = rNULL__
if(ar__1(78:79) .EQ. '') TT(i__) = iNULL__
c ..............Just test output...........
write(6,2)
+ v_DRL2007__1(i__),Ksmag(i__),e_Ksmag(i__),B_V(i__),e_B_V(i__),
+ V_R(i__),e_V_R(i__),V_i775(i__),e_V_i775(i__),R_Ks(i__),
+ e_R_Ks(i__),i775_z850(i__),e_i775_z850(i__),Js_Ks(i__),
+ e_Js_Ks(i__),TT(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! X-Ray point sources detected by Chandra
C Format for file interpretation
3 format(
+ I5,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F6.4,1X,E7.2,
+ 1X,E7.2,1X,E7.2,1X,E7.2)
C Effective file loading
open(unit=1,file='table4.dat', status='old')
write(6,*) '....Loading file: table4.dat'
do i__=1,11
read(1,'(A68)')ar__2
read(ar__2,3)
+ v_DRL2007__2(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),
+ DEd_1(i__),DEm_1(i__),DEs_1(i__),z_1(i__),FX_0_5_2(i__),
+ FX_2_10(i__),LX_0_5_2(i__),LX_2_10(i__)
c Derive coordinates RA__1 and Dec_1 from input data
c (RA__1 and Dec_1 are set to rNULL_ when unknown)
RA__1(i__) = RAh_1(i__)
if(RAh_1(i__) .GE. 0) RA__1(i__)=RAh_1(i__)*15.
if(RAm_1(i__) .GE. 0) RA__1(i__)=RA__1(i__)+RAm_1(i__)/4.
if(RAs_1(i__) .GE. 0) RA__1(i__)=RA__1(i__)+RAs_1(i__)/240.
Dec_1(i__) = DEd_1(i__)
if(DEm_1(i__) .GE. 0) Dec_1(i__)=Dec_1(i__)+DEm_1(i__)/60.
if(DEs_1(i__) .GE. 0) Dec_1(i__)=Dec_1(i__)+DEs_1(i__)/3600.
if(DE__1(i__).EQ.'-'.AND.Dec_1(i__).GE.0) Dec_1(i__)=-Dec_1(i__)
c ..............Just test output...........
write(6,3)
+ v_DRL2007__2(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),
+ DEd_1(i__),DEm_1(i__),DEs_1(i__),z_1(i__),FX_0_5_2(i__),
+ FX_2_10(i__),LX_0_5_2(i__),LX_2_10(i__)
write(6,'(6H Pos: 2F8.4)') RA__1(i__),Dec_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Spectroscopic data of field galaxies
C Format for file interpretation
4 format(
+ I5,A1,A1,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F6.4,
+ 1X,F6.4)
C Effective file loading
open(unit=1,file='table5.dat', status='old')
write(6,*) '....Loading file: table5.dat'
do i__=1,189
read(1,'(A46)')ar__3
read(ar__3,4)
+ v_DRL2007__3(i__),m__DRL2007_(i__),n__DRL2007_(i__),
+ RAh_2(i__),RAm_2(i__),RAs_2(i__),DE__2(i__),DEd_2(i__),
+ DEm_2(i__),DEs_2(i__),z_2(i__),e_z_1(i__)
c Derive coordinates RA__2 and Dec_2 from input data
c (RA__2 and Dec_2 are set to rNULL_ when unknown)
RA__2(i__) = RAh_2(i__)
if(RAh_2(i__) .GE. 0) RA__2(i__)=RAh_2(i__)*15.
if(RAm_2(i__) .GE. 0) RA__2(i__)=RA__2(i__)+RAm_2(i__)/4.
if(RAs_2(i__) .GE. 0) RA__2(i__)=RA__2(i__)+RAs_2(i__)/240.
Dec_2(i__) = DEd_2(i__)
if(DEm_2(i__) .GE. 0) Dec_2(i__)=Dec_2(i__)+DEm_2(i__)/60.
if(DEs_2(i__) .GE. 0) Dec_2(i__)=Dec_2(i__)+DEs_2(i__)/3600.
if(DE__2(i__).EQ.'-'.AND.Dec_2(i__).GE.0) Dec_2(i__)=-Dec_2(i__)
c ..............Just test output...........
write(6,4)
+ v_DRL2007__3(i__),m__DRL2007_(i__),n__DRL2007_(i__),
+ RAh_2(i__),RAm_2(i__),RAs_2(i__),DE__2(i__),DEd_2(i__),
+ DEm_2(i__),DEs_2(i__),z_2(i__),e_z_1(i__)
write(6,'(6H Pos: 2F8.4)') RA__2(i__),Dec_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end