Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/127/2455 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 2024-Apr-18 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/AJ/127/2455 Gemini Deep Deep Survey (GDDS) (Abraham+, 2004) *================================================================================ *The Gemini Deep Deep Survey. *I. Introduction to the survey, catalogs, and composite spectra. * Abraham R.G., Glazebrook K., Mccarthy P.J., Crampton D., Murowinski R., * Jorgensen I., Roth K., Hook I.M., Savaglio S., Chen H.-W., Marzke R.O., * Carlberg R.G. * <Astron. J., 127, 2455-2483 (2004)> * =2004AJ....127.2455A C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Master data table integer*4 nr__ parameter (nr__=309) ! Number of records character*140 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*7 GDDS (nr__) ! GDDS object identification (HH-NNNN) real*4 z (nr__) ! ? Redshift integer*4 RAh (nr__) ! (h) Hour of right ascension (J2000) integer*4 RAm (nr__) ! (min) Minute of right ascension (J2000) real*4 RAs (nr__) ! (s) Second of right ascension (J2000) character*1 DE_ (nr__) ! Sign of the declination (J2000) integer*4 DEd (nr__) ! (deg) Degree of declination (J2000) integer*4 DEm (nr__) ! (arcmin) Arcminute of declination (J2000) real*4 DEs (nr__) ! (arcsec) Arcsecond of declination (J2000) integer*4 Conf (nr__) ! Redshift confidence (G1) character*3 Ovlap (nr__) ! Slit geometry/collision class (1) real*8 Weight (nr__) ! Sampling weight (2) real*4 Bmag (nr__) ! (mag) ? B-band magnitude (3) character*1 n_Bmag (nr__) ! [s] s for 2{sigma} detection limit in Bmag real*4 e_Bmag (nr__) ! (mag) ? Uncertainty in Bmag (3) real*4 Vmag (nr__) ! (mag) V-band magnitude (3) character*1 n_Vmag (nr__) ! [s] s for 2{sigma} detection limit in Vmag real*4 e_Vmag (nr__) ! (mag) ? Uncertainty in Vmag (3) real*4 Rmag (nr__) ! (mag) ? Cousins R-band magnitude (3) character*1 n_Rmag (nr__) ! [s] s for 2{sigma} detection limit in Rmag real*4 e_Rmag (nr__) ! (mag) ? Uncertainty in Rmag (3) real*4 Icmag (nr__) ! (mag) Cousins I-band magnitude (3) character*1 n_Icmag (nr__) ! [s] s for 2{sigma} detection limit in Icmag real*4 e_Icmag (nr__) ! (mag) Uncertainty in Icmag (3) real*4 z_mag (nr__) ! (mag) z'-band magnitude (3) character*1 n_z_mag (nr__) ! [s] s for 2{sigma} detection limit in z'mag real*4 e_z_mag (nr__) ! (mag) ? Uncertainty in z'mag (3) real*4 Hmag (nr__) ! (mag) ? H-band magnitude (3) character*1 n_Hmag (nr__) ! [s] s for 2{sigma} detection limit in Hmag real*4 e_Hmag (nr__) ! (mag) ? Uncertainty in Hmag (3) real*4 Ksmag (nr__) ! (mag) Ks-band magnitude (3) character*1 n_Ksmag (nr__) ! [s] s for 2{sigma} detection limit in Ksmag real*4 e_Ksmag (nr__) ! (mag) ? Uncertainty in Ksmag (3) *Note (1): Classification of spectrum overlaps take the following numbers: * 0 = Both A and B channels uncontaminated (at most very minor masking * needed). * 1 = Single channel overlap. Offending channel not used (at most very * minor masking needed). * 2 = A contaminating zeroth-order line has been masked. Remaining * continuum is trustworthy. * 3 = Two channel collision. Major masking used in extraction. * Continuum in blue should not be trusted. * 4 = Two channel collision. Major masking used in extraction. * Continuum in red should not be trusted. * 5 = Extreme measures needed to try to recover a spectrum. * Continuum should not be trusted. *Note (2): The practical upshot of our general mask design strategy is * graphically summarized in the bottom left panel of Figure 6. This * panel is a two-dimensional histogram showing the number of independent * slits assigned each cell of color-magnitude space. For the reasons * just described heavy emphasis is given to the (22<I<24.5, 3<I-Ks<5) * region of color-magnitude space. The relative number of slits as a * function of the average population in each cell expected in a * wide-area survey can be computed by dividing the bottom left panel of * the figure by the top left panel. The values computed using this * procedure are shown in the bottom right panel and correspond to * sampling weights. These weights will prove important in the * computation of the luminosity and mass functions in future papers in * this series. *Note (3): Non-detections have been placed at the formal 2{sigma} detection * limit of the filter and magnitude error set to blank. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Spectral Features and Classifications integer*4 nr__1 parameter (nr__1=273) ! Number of records character*49 ar__1 ! Full-size record character*7 GDDS_1 (nr__1) ! GDDS object identification (HH-NNNN) integer*4 AGN (nr__1) ! [0/1] Indicative of AGN activity (1) integer*4 v_OII_ (nr__1) ! [0/2] Is [O II] (3727 {AA}) present? (1) integer*4 v_OIII_ (nr__1) ! [0/2] Is [O III] (5007 {AA}) present? (1) integer*4 HiBal (nr__1) ! [0/2] Are Balmer lines bluer than H{beta} * present? (1) integer*4 LoBal (nr__1) ! [0/2] Is H{alpha} and/or H{beta} present? (1) integer*4 Fe2375 (nr__1) ! [0/2] Is Fe II (2375 {AA}) present? (1) integer*4 Fe2600 (nr__1) ! [0/2] Is Fe II (2600 {AA}) present? (1) integer*4 Mg2800 (nr__1) ! [0/2] Is Mg II (2800 {AA}) present? (1) integer*4 Mg2852 (nr__1) ! [0/2] Is Mg II (2852 {AA}) present? (1) integer*4 HandK (nr__1) ! [0/2] Are Ca II H & K lines present? (1) integer*4 Balmer (nr__1) ! [0/2] Is the Balmer decrement present? (1) integer*4 D4000 (nr__1) ! [0/2] Is the D4000 feature present? (1) integer*4 Temp (nr__1) ! Redshift template code (2) integer*4 Class (nr__1) ! Spectral class (3) integer*4 Conf_1 (nr__1) ! Confidence code (G1) real*4 z_1 (nr__1) ! Redshift *Note (1): Flag is: 0=No, 1=Yes * 2=Feature did not fall within the wavelength range of our spectra *Note (2): Redshift template code as follows: * 1 = Comparison against a reference template was used to obtain the * redshift * 2 = No template needed to obtain the redshift *Note (3): Classes use the following numbers: * 001 = Objects showing pure, or nearly pure, signatures of an evolved * stellar population (e.g., D4000, H&K, or template matches) * 100 = Objects that are dominated by the flat-UV continuum and strong * emission-lines characteristic of star- forming systems * 010 = those showing signatures of intermediate ages (e.g., strong * Balmer absorption). * Many objects show characteristics of more than one type and so are * assigned classes that are the sum of old (001), intermediates (010), * and young (100) populations. Example: * Objects listed as "101" may show strong H&K absorption and 4000{AA} * breaks and yet have a flat-UV continuum tail indicative of a low level * of ongoing star formation. C============================================================================= C Loading file 'table4.dat' ! Master data table C Format for file interpretation 1 format( + 2X,A7,1X,F6.4,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F5.2,1X, + I2,1X,A3,1X,F7.5,1X,F5.2,A1,F5.2,1X,F5.2,A1,F5.2,1X,F5.2,A1, + F5.2,1X,F5.2,A1,F4.2,1X,F5.2,A1,F5.2,1X,F5.2,A1,F5.2,1X,F5.2, + A1,F5.2) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,309 read(1,'(A140)')ar__ read(ar__,1) + GDDS(i__),z(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),Conf(i__),Ovlap(i__),Weight(i__),Bmag(i__), + n_Bmag(i__),e_Bmag(i__),Vmag(i__),n_Vmag(i__),e_Vmag(i__), + Rmag(i__),n_Rmag(i__),e_Rmag(i__),Icmag(i__),n_Icmag(i__), + e_Icmag(i__),z_mag(i__),n_z_mag(i__),e_z_mag(i__),Hmag(i__), + n_Hmag(i__),e_Hmag(i__),Ksmag(i__),n_Ksmag(i__),e_Ksmag(i__) if(ar__(11:16) .EQ. '') z(i__) = rNULL__ if(ar__(58:62) .EQ. '') Bmag(i__) = rNULL__ if(ar__(64:68) .EQ. '') e_Bmag(i__) = rNULL__ if(ar__(76:80) .EQ. '') e_Vmag(i__) = rNULL__ if(ar__(82:86) .EQ. '') Rmag(i__) = rNULL__ if(ar__(88:92) .EQ. '') e_Rmag(i__) = rNULL__ if(ar__(111:115) .EQ. '') e_z_mag(i__) = rNULL__ if(ar__(117:121) .EQ. '') Hmag(i__) = rNULL__ if(ar__(123:127) .EQ. '') e_Hmag(i__) = rNULL__ if(ar__(135:139) .EQ. '') e_Ksmag(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) + GDDS(i__),z(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),Conf(i__),Ovlap(i__),Weight(i__),Bmag(i__), + n_Bmag(i__),e_Bmag(i__),Vmag(i__),n_Vmag(i__),e_Vmag(i__), + Rmag(i__),n_Rmag(i__),e_Rmag(i__),Icmag(i__),n_Icmag(i__), + e_Icmag(i__),z_mag(i__),n_z_mag(i__),e_z_mag(i__),Hmag(i__), + n_Hmag(i__),e_Hmag(i__),Ksmag(i__),n_Ksmag(i__),e_Ksmag(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 'table5.dat' ! Spectral Features and Classifications C Format for file interpretation 2 format( + 2X,A7,1X,I1,1X,I1,1X,I1,1X,I1,1X,I1,1X,I1,1X,I1,1X,I1,1X,I1, + 1X,I1,1X,I1,1X,I1,1X,I1,1X,I3,1X,I2,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,273 read(1,'(A49)')ar__1 read(ar__1,2) + GDDS_1(i__),AGN(i__),v_OII_(i__),v_OIII_(i__),HiBal(i__), + LoBal(i__),Fe2375(i__),Fe2600(i__),Mg2800(i__),Mg2852(i__), + HandK(i__),Balmer(i__),D4000(i__),Temp(i__),Class(i__), + Conf_1(i__),z_1(i__) c ..............Just test output........... write(6,2) + GDDS_1(i__),AGN(i__),v_OII_(i__),v_OIII_(i__),HiBal(i__), + LoBal(i__),Fe2375(i__),Fe2600(i__),Mg2800(i__),Mg2852(i__), + HandK(i__),Balmer(i__),D4000(i__),Temp(i__),Class(i__), + Conf_1(i__),z_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end