Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/416/2041 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-24
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__
ter (rNULL__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/MNRAS/416/2041 H{alpha} emitters at z=2.23 (Matsuda+, 2011)
*================================================================================
*An H{alpha} search for overdense regions at z = 2.23.
* Matsuda Y., Smail I., Geach J.E., Best P.N., Sobral D., Tanaka I.,
* Nakata F., Ohta K., Kurk J., Iwata I., Bielby R., Wardlow J.L., Bower R.G.,
* Ivison R.J., Kodama T., Yamada T., Mawatari K., Casali M.
* <Mon. Not. R. Astron. Soc., 416, 2041-2059 (2011)>
* =2011MNRAS.416.2041M
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea1.dat' ! Properties of the emitter candidates in the
2QZ cluster (C1) and control fields (C2, C3, C4)
integer*4 nr__
parameter (nr__=66) ! Number of records
character*94 ar__ ! Full-size record
real*8 RA_ (nr__) ! (deg) Right Ascension J2000
real*8 Dec (nr__) ! (deg) Declination J2000
character*14 ID (nr__) ! Source name (1)
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 H2S1 (nr__) ! (mag) Magnitude in H_2_S1 filter (2.121+/-0.021um)
character*1 l_Kmag (nr__) ! Limit flag on Kmag
real*4 Kmag (nr__) ! (mag) K magnitude
character*1 l_sigma (nr__) ! Limit flag on sigma
real*4 sigma (nr__) ! Ratio between the H2S1 excess and the
* uncertainty in the K-H2S1 colour
character*1 l_EWobs (nr__) ! Limit flag on EWobs
integer*4 EWobs (nr__) ! (0.1nm) Observed H{alpha} equivalent width
real*4 logFHa (nr__) ! ([mW/cm2]) H{alpha} flux corrected for 33% [NII]
* contribution to the measured flux
real*4 logLHa (nr__) ! ([10-7W]) H{alpha} luminosity
integer*4 SFRHa (nr__) ! (Msun/yr) The attenuation-uncorrected SFR derived from
* the H{alpha} luminosity
character*1 l_M (nr__) ! Limit flag on M
real*4 M (nr__) ! (Msun) The stellar mass estimated from the K-band
* magnitude by assuming a constant mass-to-light
* ratio from Geach at al. 2008MNRAS.388.1473G
character*5 Class (nr__) ! Class of object as BzK, QSO, HzRG, NLAGN (2)
*Note (1): Designations as <2QZC-CN-HAENN> for tablea1,
* <0200-CN-HAENN> for tablea2, and <SSA13-CN-HAENN> for tablea3.
*Note (2): Note as follows:
* BzK = star-forming galaxy according to the BzK criteria:
* (z-K)_AB_-(B-z)_AB_>=-0.2 or (z-K)_AB_>2.5
* QSO = quasi-stellar objects
* HzRG = high-redshift radio galaxies
* NLAGN = narrow-line AGN
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea2.dat' ! Properties of the emitter candidates in the
0200+015 field (C3) and control fields (C1, C2, C4)
integer*4 nr__1
parameter (nr__1=51) ! Number of records
character*94 ar__1 ! Full-size record
real*8 RA__1 (nr__1) ! (deg) Right Ascension J2000
real*8 Dec_1 (nr__1) ! (deg) Declination J2000
character*14 ID_1 (nr__1) ! Source name (1)
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)
real*4 DEs_1 (nr__1) ! (arcsec) Declination (J2000)
real*4 H2S1_1 (nr__1) ! (mag) Magnitude in H_2_S1 filter (2.121+/-0.021um)
character*1 l_Kmag_1 (nr__1) ! Limit flag on Kmag
real*4 Kmag_1 (nr__1) ! (mag) K magnitude
character*1 l_sigma_1 (nr__1) ! Limit flag on sigma
real*4 sigma_1 (nr__1) ! Ratio between the H2S1 excess and the
* uncertainty in the K-H2S1 colour
character*1 l_EWobs_1 (nr__1) ! Limit flag on EWobs
integer*4 EWobs_1 (nr__1) ! (0.1nm) Observed H{alpha} equivalent width
real*4 logFHa_1 (nr__1) ! ([mW/cm2]) H{alpha} flux corrected for 33% [NII]
* contribution to the measured flux
real*4 logLHa_1 (nr__1) ! ([10-7W]) H{alpha} luminosity
integer*4 SFRHa_1 (nr__1) ! (Msun/yr) The attenuation-uncorrected SFR derived from
* the H{alpha} luminosity
character*1 l_M_1 (nr__1) ! Limit flag on M
real*4 M_1 (nr__1) ! (Msun) The stellar mass estimated from the K-band
* magnitude by assuming a constant mass-to-light
* ratio from Geach at al. 2008MNRAS.388.1473G
character*5 Class_1 (nr__1) ! Class of object as BzK, QSO, HzRG, NLAGN (2)
*Note (1): Designations as <2QZC-CN-HAENN> for tablea1,
* <0200-CN-HAENN> for tablea2, and <SSA13-CN-HAENN> for tablea3.
*Note (2): Note as follows:
* BzK = star-forming galaxy according to the BzK criteria:
* (z-K)_AB_-(B-z)_AB_>=-0.2 or (z-K)_AB_>2.5
* QSO = quasi-stellar objects
* HzRG = high-redshift radio galaxies
* NLAGN = narrow-line AGN
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea3.dat' ! Properties of the emitter candidates in the
SSA 13 field (C1) and control fields (C2, C3, C4)
integer*4 nr__2
parameter (nr__2=20) ! Number of records
character*94 ar__2 ! Full-size record
real*8 RA__2 (nr__2) ! (deg) Right Ascension J2000
real*8 Dec_2 (nr__2) ! (deg) Declination J2000
character*14 ID_2 (nr__2) ! Source name (1)
integer*4 RAh_2 (nr__2) ! (h) Right ascension (J2000)
integer*4 RAm_2 (nr__2) ! (min) Right ascension (J2000)
real*4 RAs_2 (nr__2) ! (s) Right ascension (J2000)
character*1 DE__2 (nr__2) ! Declination sign (J2000)
integer*4 DEd_2 (nr__2) ! (deg) Declination (J2000)
integer*4 DEm_2 (nr__2) ! (arcmin) Declination (J2000)
real*4 DEs_2 (nr__2) ! (arcsec) Declination (J2000)
real*4 H2S1_2 (nr__2) ! (mag) Magnitude in H_2_S1 filter (2.121+/-0.021um)
character*1 l_Kmag_2 (nr__2) ! Limit flag on Kmag
real*4 Kmag_2 (nr__2) ! (mag) K magnitude
character*1 l_sigma_2 (nr__2) ! Limit flag on sigma
real*4 sigma_2 (nr__2) ! Ratio between the H2S1 excess and the
* uncertainty in the K-H2S1 colour
character*1 l_EWobs_2 (nr__2) ! Limit flag on EWobs
integer*4 EWobs_2 (nr__2) ! (0.1nm) Observed H{alpha} equivalent width
real*4 logFHa_2 (nr__2) ! ([mW/cm2]) H{alpha} flux corrected for 33% [NII]
* contribution to the measured flux
real*4 logLHa_2 (nr__2) ! ([10-7W]) H{alpha} luminosity
integer*4 SFRHa_2 (nr__2) ! (Msun/yr) The attenuation-uncorrected SFR derived from
* the H{alpha} luminosity
character*1 l_M_2 (nr__2) ! Limit flag on M
real*4 M_2 (nr__2) ! (Msun) The stellar mass estimated from the K-band
* magnitude by assuming a constant mass-to-light
* ratio from Geach at al. 2008MNRAS.388.1473G
character*5 Class_2 (nr__2) ! Class of object as BzK, QSO, HzRG, NLAGN (2)
*Note (1): Designations as <2QZC-CN-HAENN> for tablea1,
* <0200-CN-HAENN> for tablea2, and <SSA13-CN-HAENN> for tablea3.
*Note (2): Note as follows:
* BzK = star-forming galaxy according to the BzK criteria:
* (z-K)_AB_-(B-z)_AB_>=-0.2 or (z-K)_AB_>2.5
* QSO = quasi-stellar objects
* HzRG = high-redshift radio galaxies
* NLAGN = narrow-line AGN
C=============================================================================
C Loading file 'tablea1.dat' ! Properties of the emitter candidates in the
* 2QZ cluster (C1) and control fields (C2, C3, C4)
C Format for file interpretation
1 format(
+ A14,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,1X,A1,
+ F5.2,1X,A1,F5.1,1X,A1,I5,1X,F6.2,1X,F5.2,1X,I3,1X,A1,F4.1,1X,
+ A5)
C Effective file loading
open(unit=1,file='tablea1.dat', status='old')
write(6,*) '....Loading file: tablea1.dat'
do i__=1,66
read(1,'(A94)')ar__
read(ar__,1)
+ ID(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),
+ DEs(i__),H2S1(i__),l_Kmag(i__),Kmag(i__),l_sigma(i__),
+ sigma(i__),l_EWobs(i__),EWobs(i__),logFHa(i__),logLHa(i__),
+ SFRHa(i__),l_M(i__),M(i__),Class(i__)
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)
+ ID(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),
+ DEs(i__),H2S1(i__),l_Kmag(i__),Kmag(i__),l_sigma(i__),
+ sigma(i__),l_EWobs(i__),EWobs(i__),logFHa(i__),logLHa(i__),
+ SFRHa(i__),l_M(i__),M(i__),Class(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 'tablea2.dat' ! Properties of the emitter candidates in the
* 0200+015 field (C3) and control fields (C1, C2, C4)
C Format for file interpretation
2 format(
+ A14,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,1X,A1,
+ F5.2,1X,A1,F5.1,1X,A1,I5,1X,F6.2,1X,F5.2,1X,I3,1X,A1,F4.1,1X,
+ A5)
C Effective file loading
open(unit=1,file='tablea2.dat', status='old')
write(6,*) '....Loading file: tablea2.dat'
do i__=1,51
read(1,'(A94)')ar__1
read(ar__1,2)
+ ID_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),
+ DEd_1(i__),DEm_1(i__),DEs_1(i__),H2S1_1(i__),l_Kmag_1(i__),
+ Kmag_1(i__),l_sigma_1(i__),sigma_1(i__),l_EWobs_1(i__),
+ EWobs_1(i__),logFHa_1(i__),logLHa_1(i__),SFRHa_1(i__),
+ l_M_1(i__),M_1(i__),Class_1(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,2)
+ ID_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),
+ DEd_1(i__),DEm_1(i__),DEs_1(i__),H2S1_1(i__),l_Kmag_1(i__),
+ Kmag_1(i__),l_sigma_1(i__),sigma_1(i__),l_EWobs_1(i__),
+ EWobs_1(i__),logFHa_1(i__),logLHa_1(i__),SFRHa_1(i__),
+ l_M_1(i__),M_1(i__),Class_1(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 'tablea3.dat' ! Properties of the emitter candidates in the
* SSA 13 field (C1) and control fields (C2, C3, C4)
C Format for file interpretation
3 format(
+ A14,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,1X,A1,
+ F5.2,1X,A1,F5.1,1X,A1,I5,1X,F6.2,1X,F5.2,1X,I3,1X,A1,F4.1,1X,
+ A5)
C Effective file loading
open(unit=1,file='tablea3.dat', status='old')
write(6,*) '....Loading file: tablea3.dat'
do i__=1,20
read(1,'(A94)')ar__2
read(ar__2,3)
+ ID_2(i__),RAh_2(i__),RAm_2(i__),RAs_2(i__),DE__2(i__),
+ DEd_2(i__),DEm_2(i__),DEs_2(i__),H2S1_2(i__),l_Kmag_2(i__),
+ Kmag_2(i__),l_sigma_2(i__),sigma_2(i__),l_EWobs_2(i__),
+ EWobs_2(i__),logFHa_2(i__),logLHa_2(i__),SFRHa_2(i__),
+ l_M_2(i__),M_2(i__),Class_2(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,3)
+ ID_2(i__),RAh_2(i__),RAm_2(i__),RAs_2(i__),DE__2(i__),
+ DEd_2(i__),DEm_2(i__),DEs_2(i__),H2S1_2(i__),l_Kmag_2(i__),
+ Kmag_2(i__),l_sigma_2(i__),sigma_2(i__),l_EWobs_2(i__),
+ EWobs_2(i__),logFHa_2(i__),logLHa_2(i__),SFRHa_2(i__),
+ l_M_2(i__),M_2(i__),Class_2(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