Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/538/493 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 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/ApJ/538/493 HDF-South NICMOS field (Yahata+, 2000) *================================================================================ *Photometry and photometric redshifts of faint galaxies in the *Hubble Deep Field South NICMOS field. * Yahata N., Lanzetta K.M., Chen H.-W., Fernandez-Soto A., Pascarelle S.M., * Yahil A., Puetter R.C. * <Astrophys. J. 538, 493 (2000)> * =2000ApJ...538..493Y C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'niphotoz.dat' ! Photometric Redshift Catalog of the HDFS NICMOS Field integer*4 nr__ parameter (nr__=327) ! Number of records character*76 ar__ ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000.0 real*8 DEdeg ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) character*15 Name ! Object name (SB-NI-XXXX-YYYY) real*4 Xpos ! (pix) X position real*4 Ypos ! (pix) Y position integer*4 RAh ! (h) Right ascension (J2000.0) integer*4 RAm ! (min) Right ascension (J2000.0) real*4 RAs ! (s) Right ascension (J2000.0) character*1 DE_ ! Declination sign (J2000.0) integer*4 DEd ! (deg) Declination (J2000.0) integer*4 DEm ! (arcmin) Declination (J2000.0) real*4 DEs ! (arcsec) Declination (J2000.0) real*4 AB_1_6_z ! (mag) AB(1.6{mu}m) magnitude (G1) real*4 zph ! ? Photometric redshift character*1 n_zph ! [s] s: star character*5 MType ! Morphological type c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'niphot.dat' ! Photometry Catalog of the HDFS NICMOS Field integer*4 nr__1 parameter (nr__1=327) ! Number of records character*210 ar__1 ! Full-size record character*15 Name_1 ! Object name (SB-NI-XXXX-YYYY) real*4 AB_1_6 ! (mag) AB(1.6{mu}m) magnitude (G1) real*4 e_AB_1_6 ! (mag) rms uncertainty on AB(1.6{mu}m) real*8 Uflux ! ? U band flux normalized to F160W real*8 e_Uflux ! ? rms uncertainty on Uflux real*8 Bflux ! ? B band flux normalized to F160W real*8 e_Bflux ! ? rms uncertainty on Bflux real*8 Vflux ! ? V band flux normalized to F160W real*8 e_Vflux ! ? rms uncertainty on Vflux real*8 Rflux ! ? R band flux normalized to F160W real*8 e_Rflux ! ? rms uncertainty on Rflux real*8 Iflux ! ? I band flux normalized to F160W real*8 e_Iflux ! ? rms uncertainty on Iflux real*8 STIS ! ? STIS band flux normalized to F160W real*8 e_STIS ! ? rms uncertainty on STIS real*8 F110W ! F110W flux normalized to F160W real*8 e_F110W ! rms uncertainty on F110W real*8 F160W ! [1.0000] F160W band flux normalized to F160W real*8 e_F160W ! rms uncertainty on F160W real*8 F222W ! ? F222W band flux normalized to F160W real*8 e_F222W ! ? rms uncertainty on F222W c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'wfphot.dat' ! *Photometry Catalog of the HDFS WFPC2 Field integer*4 nr__2 parameter (nr__2=1290) ! Number of records character*270 ar__2 ! Full-size record character*15 Name_2 ! Source Name (SB-WF-XXXX-YYYY) real*4 AB_814 ! (mag) AB(814nm) (F814W) magnitude character*1 n_AB_814 ! [*] *: Magnitude in AB(H) real*4 e_AB_814 ! (mag) rms uncertainty on F814W real*8 F300W ! ? F300W band normalized flux (1) real*8 e_F300W ! ? rms uncertainty on F300W real*8 F450W ! ? F450W band normalized flux (1) real*8 e_F450W ! ? rms uncertainty on F450W real*8 F606W ! F606W band normalized flux (1) real*8 e_F606W ! rms uncertainty on F606W real*8 F814W ! F814W band normalized flux (1) real*8 e_F814W ! rms uncertainty on F814W real*8 Uflux_1 ! U band normalized flux (1) real*8 e_Uflux_1 ! rms uncertainty on Uflux real*8 Bflux_1 ! B band normalized flux (1) real*8 e_Bflux_1 ! rms uncertainty on Bflux real*8 Vflux_1 ! V band normalized flux (1) real*8 Rflux_1 ! R band normalized flux (1) real*8 e_Rflux_1 ! rms uncertainty on Rflux real*8 Iflux_1 ! I band normalized flux (1) real*8 e_Iflux_1 ! rms uncertainty on Iflux real*8 Jflux ! J band normalized flux (1) real*8 e_Jflux ! rms uncertainty on Jflux real*8 Hflux ! H band normalized flux (1) real*8 e_Hflux ! rms uncertainty on Hflux real*8 Kflux ! K band normalized flux (1) real*8 e_Kflux ! rms uncertainty on Kflux *Note (1): Flux normalized to F814W, or to Hflux if n_AB(814) = * c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'errorwf.dat' ! Non-reliable data of wfphot.dat file integer*4 nr__3 parameter (nr__3=2) ! Number of records character*270 ar__3 ! Full-size record character*15 Name_3 ! Source Name (SB-WF-XXXX-YYYY) real*4 AB_814_1 ! (mag) AB(814nm) (F814W) magnitude character*1 n_AB_814_1 ! [*] *: Magnitude in AB(H) real*4 e_AB_814_1 ! (mag) rms uncertainty on F814W real*8 F300W_1 ! ? F300W band normalized flux (1) real*8 e_F300W_1 ! ? rms uncertainty on F300W real*8 F450W_1 ! ? F450W band normalized flux (1) real*8 e_F450W_1 ! ? rms uncertainty on F450W real*8 F606W_1 ! F606W band normalized flux (1) real*8 e_F606W_1 ! rms uncertainty on F606W real*8 F814W_1 ! F814W band normalized flux (1) real*8 e_F814W_1 ! rms uncertainty on F814W real*8 Uflux_2 ! U band normalized flux (1) real*8 e_Uflux_2 ! rms uncertainty on Uflux real*8 Bflux_2 ! B band normalized flux (1) real*8 e_Bflux_2 ! rms uncertainty on Bflux real*8 Vflux_2 ! V band normalized flux (1) real*8 Rflux_2 ! R band normalized flux (1) real*8 e_Rflux_2 ! rms uncertainty on Rflux real*8 Iflux_2 ! I band normalized flux (1) real*8 e_Iflux_2 ! rms uncertainty on Iflux real*8 Jflux_1 ! J band normalized flux (1) real*8 e_Jflux_1 ! rms uncertainty on Jflux real*8 Hflux_1 ! H band normalized flux (1) real*8 e_Hflux_1 ! rms uncertainty on Hflux real*8 Kflux_1 ! K band normalized flux (1) real*8 e_Kflux_1 ! rms uncertainty on Kflux *Note (1): Flux normalized to F814W, or to Hflux if n_AB(814) = * c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'wfphotoz.dat' ! Photometric Redshift Catalog of the HDFS WFPC2 Field integer*4 nr__4 parameter (nr__4=1292) ! Number of records character*83 ar__4 ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 ! (deg) Right Ascension J2000.0 real*8 DEdeg_1 ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) character*15 Name_4 ! Source Name (SB-WF-XXXX-YYYY) real*4 Xpos_1 ! (pix) X position real*4 Ypos_1 ! (pix) Y position integer*4 RAh_1 ! (h) Right ascension (J2000.0) integer*4 RAm_1 ! (min) Right ascension (J2000.0) real*4 RAs_1 ! (s) Right ascension (J2000.0) character*1 DE__1 ! Declination sign (J2000.0) integer*4 DEd_1 ! (deg) Declination (J2000.0) integer*4 DEm_1 ! (arcmin) Declination (J2000.0) real*4 DEs_1 ! (arcsec) Declination (J2000.0) real*4 AB_814_z ! (mag) AB(814nm) magnitude (G1) character*1 n_AB_814_z ! [*] *: magnitude in AB(H) real*4 zsp ! ? Spectroscopic redshift character*1 n_zsp ! [bs] s: stars, * b: from Glazebrook et al. (1999, * http://www.aao.gov.au/hdfs/Redshifts/) real*4 zph_1 ! ? Photometric redshift character*1 n_zph_1 ! [s] s: star character*4 MType_1 ! Morphological type c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Probable stars integer*4 nr__5 parameter (nr__5=5) ! Number of records character*57 ar__5 ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_2 ! (deg) Right Ascension J2000.0 real*8 DEdeg_2 ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) character*15 Name_5 ! Object name (SB-NI-XXXX-YYYY) integer*4 RAh_2 ! (h) Right ascension (J2000.0) integer*4 RAm_2 ! (min) Right ascension (J2000.0) real*4 RAs_2 ! (s) Right ascension (J2000.0) character*1 DE__2 ! Declination sign (J2000.0) integer*4 DEd_2 ! (deg) Declination (J2000.0) integer*4 DEm_2 ! (arcmin) Declination (J2000.0) real*4 DEs_2 ! (arcsec) Declination (J2000.0) real*4 ABmag ! (mag) AB(1.6{mu}m) (lambda~1.6{mu}m) magnitude (G1) real*4 zph_2 ! ? Photometric redshift character*4 MType_2 ! Morphological type c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Galaxies of redshift z > 5 integer*4 nr__6 parameter (nr__6=21) ! Number of records character*57 ar__6 ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_3 ! (deg) Right Ascension J2000.0 real*8 DEdeg_3 ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) character*15 Name_6 ! Object name (SB-NI-XXXX-YYYY) integer*4 RAh_3 ! (h) Right ascension (J2000.0) integer*4 RAm_3 ! (min) Right ascension (J2000.0) real*4 RAs_3 ! (s) Right ascension (J2000.0) character*1 DE__3 ! Declination sign (J2000.0) integer*4 DEd_3 ! (deg) Declination (J2000.0) integer*4 DEm_3 ! (arcmin) Declination (J2000.0) real*4 DEs_3 ! (arcsec) Declination (J2000.0) real*4 ABmag_1 ! (mag) AB(1.6{mu}m) (lambda~1.6{mu}m) magnitude (G1) real*4 zph_3 ! ? Photometric redshift character*4 MType_3 ! Morphological type c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! Early-type galaxies of redshift z > 1 integer*4 nr__7 parameter (nr__7=5) ! Number of records character*57 ar__7 ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_4 ! (deg) Right Ascension J2000.0 real*8 DEdeg_4 ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) character*15 Name_7 ! Object name (SB-NI-XXXX-YYYY) integer*4 RAh_4 ! (h) Right ascension (J2000.0) integer*4 RAm_4 ! (min) Right ascension (J2000.0) real*4 RAs_4 ! (s) Right ascension (J2000.0) character*1 DE__4 ! Declination sign (J2000.0) integer*4 DEd_4 ! (deg) Declination (J2000.0) integer*4 DEm_4 ! (arcmin) Declination (J2000.0) real*4 DEs_4 ! (arcsec) Declination (J2000.0) real*4 ABmag_2 ! (mag) AB(1.6{mu}m) (lambda~1.6{mu}m) magnitude (G1) real*4 zph_4 ! ? Photometric redshift character*4 MType_4 ! Morphological type c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table8.dat' ! Comparison of Photometric Redshift Measurements integer*4 nr__8 parameter (nr__8=6) ! Number of records character*56 ar__8 ! Full-size record character*15 Name_8 ! Object name (SB-NI-XXXX-YYYY) real*4 AB_1_6_1 ! (mag) AB(1.6{mu}m) magnitude, this study (G1) real*4 zph_5 ! Photometric redshift, this study character*4 MType_5 ! Morphological type, this study character*8 v_BBB99_ ! Name from Benitez et al., 1999ApJ...515L..65B * ([BBB99] NIC3 ETN) real*4 AB_1_6_B ! (mag) AB(1.6{mu}m) magnitude, Benitez et al. real*4 zB ! Photometric redshift, Benitez et al. character*4 MTypeB ! Morphological type, Benitez et al. C============================================================================= C Loading file 'niphotoz.dat' ! Photometric Redshift Catalog of the HDFS * NICMOS Field C Format for file interpretation 1 format( + A15,2X,F6.1,1X,F6.1,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X, + F5.2,2X,F5.2,1X,F5.2,A1,1X,A5) C Effective file loading open(unit=1,status='old',file= +'niphotoz.dat') write(6,*) '....Loading file: niphotoz.dat' do i__=1,327 read(1,'(A76)')ar__ read(ar__,1) + Name,Xpos,Ypos,RAh,RAm,RAs,DE_,DEd,DEm,DEs,AB_1_6_z,zph,n_zph, + MType if(ar__(65:69) .EQ. '') zph = 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,Xpos,Ypos,RAh,RAm,RAs,DE_,DEd,DEm,DEs,AB_1_6_z,zph,n_zph, + MType write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'niphot.dat' ! Photometry Catalog of the HDFS NICMOS Field C Format for file interpretation 2 format( + A15,2X,F5.2,2X,F5.2,3X,F8.4,3X,F7.4,2X,F8.4,3X,F7.4,2X,F8.4, + 3X,F7.4,2X,F8.4,3X,F7.4,2X,F8.4,3X,F7.4,2X,F8.4,2X,F8.4,1X, + F9.4,2X,F8.4,1X,F9.4,2X,F8.4,1X,F9.4,2X,F8.4) C Effective file loading open(unit=1,status='old',file= +'niphot.dat') write(6,*) '....Loading file: niphot.dat' do i__=1,327 read(1,'(A210)')ar__1 read(ar__1,2) + Name_1,AB_1_6,e_AB_1_6,Uflux,e_Uflux,Bflux,e_Bflux,Vflux, + e_Vflux,Rflux,e_Rflux,Iflux,e_Iflux,STIS,e_STIS,F110W,e_F110W, + F160W,e_F160W,F222W,e_F222W if(ar__1(33:40) .EQ. '') Uflux = rNULL__ if(ar__1(44:50) .EQ. '') e_Uflux = rNULL__ if(ar__1(53:60) .EQ. '') Bflux = rNULL__ if(ar__1(64:70) .EQ. '') e_Bflux = rNULL__ if(ar__1(73:80) .EQ. '') Vflux = rNULL__ if(ar__1(84:90) .EQ. '') e_Vflux = rNULL__ if(ar__1(93:100) .EQ. '') Rflux = rNULL__ if(ar__1(104:110) .EQ. '') e_Rflux = rNULL__ if(ar__1(113:120) .EQ. '') Iflux = rNULL__ if(ar__1(124:130) .EQ. '') e_Iflux = rNULL__ if(ar__1(133:140) .EQ. '') STIS = rNULL__ if(ar__1(143:150) .EQ. '') e_STIS = rNULL__ if(ar__1(192:200) .EQ. '') F222W = rNULL__ if(ar__1(203:210) .EQ. '') e_F222W = rNULL__ c ..............Just test output........... write(6,2) + Name_1,AB_1_6,e_AB_1_6,Uflux,e_Uflux,Bflux,e_Bflux,Vflux, + e_Vflux,Rflux,e_Rflux,Iflux,e_Iflux,STIS,e_STIS,F110W,e_F110W, + F160W,e_F160W,F222W,e_F222W c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'wfphot.dat' ! *Photometry Catalog of the HDFS WFPC2 Field C Format for file interpretation 3 format( + A15,2X,F5.2,A1,1X,F5.2,4X,F7.4,3X,F7.4,3X,F7.4,3X,F7.4,3X, + F7.4,3X,F7.4,3X,F7.4,3X,F7.4,2X,F8.4,3X,F7.4,2X,F8.4,3X,F7.4, + 2X,F8.4,12X,F8.4,3X,F7.4,2X,F8.4,3X,F7.4,2X,F8.4,2X,F8.4,1X, + F9.4,2X,F8.4,1X,F9.4,2X,F8.4) C Effective file loading open(unit=1,status='old',file= +'wfphot.dat') write(6,*) '....Loading file: wfphot.dat' do i__=1,1290 read(1,'(A270)')ar__2 read(ar__2,3) + Name_2,AB_814,n_AB_814,e_AB_814,F300W,e_F300W,F450W,e_F450W, + F606W,e_F606W,F814W,e_F814W,Uflux_1,e_Uflux_1,Bflux_1, + e_Bflux_1,Vflux_1,Rflux_1,e_Rflux_1,Iflux_1,e_Iflux_1,Jflux, + e_Jflux,Hflux,e_Hflux,Kflux,e_Kflux if(ar__2(34:40) .EQ. '') F300W = rNULL__ if(ar__2(44:50) .EQ. '') e_F300W = rNULL__ if(ar__2(54:60) .EQ. '') F450W = rNULL__ if(ar__2(64:70) .EQ. '') e_F450W = rNULL__ c ..............Just test output........... write(6,3) + Name_2,AB_814,n_AB_814,e_AB_814,F300W,e_F300W,F450W,e_F450W, + F606W,e_F606W,F814W,e_F814W,Uflux_1,e_Uflux_1,Bflux_1, + e_Bflux_1,Vflux_1,Rflux_1,e_Rflux_1,Iflux_1,e_Iflux_1,Jflux, + e_Jflux,Hflux,e_Hflux,Kflux,e_Kflux c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'errorwf.dat' ! Non-reliable data of wfphot.dat file C Format for file interpretation 4 format( + A15,2X,F5.2,A1,1X,F5.2,4X,F7.4,3X,F7.4,3X,F7.4,3X,F7.4,3X, + F7.4,3X,F7.4,3X,F7.4,3X,F7.4,2X,F8.4,3X,F7.4,2X,F8.4,3X,F7.4, + 2X,F8.4,12X,F8.4,3X,F7.4,2X,F8.4,3X,F7.4,2X,F8.4,2X,F8.4,1X, + F9.4,2X,F8.4,1X,F9.4,2X,F8.4) C Effective file loading open(unit=1,status='old',file= +'errorwf.dat') write(6,*) '....Loading file: errorwf.dat' do i__=1,2 read(1,'(A270)')ar__3 read(ar__3,4) + Name_3,AB_814_1,n_AB_814_1,e_AB_814_1,F300W_1,e_F300W_1, + F450W_1,e_F450W_1,F606W_1,e_F606W_1,F814W_1,e_F814W_1,Uflux_2, + e_Uflux_2,Bflux_2,e_Bflux_2,Vflux_2,Rflux_2,e_Rflux_2,Iflux_2, + e_Iflux_2,Jflux_1,e_Jflux_1,Hflux_1,e_Hflux_1,Kflux_1, + e_Kflux_1 if(ar__3(34:40) .EQ. '') F300W_1 = rNULL__ if(ar__3(44:50) .EQ. '') e_F300W_1 = rNULL__ if(ar__3(54:60) .EQ. '') F450W_1 = rNULL__ if(ar__3(64:70) .EQ. '') e_F450W_1 = rNULL__ c ..............Just test output........... write(6,4) + Name_3,AB_814_1,n_AB_814_1,e_AB_814_1,F300W_1,e_F300W_1, + F450W_1,e_F450W_1,F606W_1,e_F606W_1,F814W_1,e_F814W_1,Uflux_2, + e_Uflux_2,Bflux_2,e_Bflux_2,Vflux_2,Rflux_2,e_Rflux_2,Iflux_2, + e_Iflux_2,Jflux_1,e_Jflux_1,Hflux_1,e_Hflux_1,Kflux_1, + e_Kflux_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'wfphotoz.dat' ! Photometric Redshift Catalog of the HDFS * WFPC2 Field C Format for file interpretation 5 format( + A15,2X,F6.1,1X,F6.1,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X, + F5.2,2X,F5.2,A1,1X,F6.4,A1,1X,F4.2,A1,1X,A4) C Effective file loading open(unit=1,status='old',file= +'wfphotoz.dat') write(6,*) '....Loading file: wfphotoz.dat' do i__=1,1292 read(1,'(A83)')ar__4 read(ar__4,5) + Name_4,Xpos_1,Ypos_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1, + DEs_1,AB_814_z,n_AB_814_z,zsp,n_zsp,zph_1,n_zph_1,MType_1 if(ar__4(66:71) .EQ. '') zsp = rNULL__ if(ar__4(74:77) .EQ. '') zph_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,5) + Name_4,Xpos_1,Ypos_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1, + DEs_1,AB_814_z,n_AB_814_z,zsp,n_zsp,zph_1,n_zph_1,MType_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 'table2.dat' ! Probable stars C Format for file interpretation 6 format( + A15,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,A4) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,5 read(1,'(A57)')ar__5 read(ar__5,6) + Name_5,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,ABmag,zph_2, + MType_2 if(ar__5(48:52) .EQ. '') zph_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,6) + Name_5,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,ABmag,zph_2, + MType_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 'table3.dat' ! Galaxies of redshift z > 5 C Format for file interpretation 7 format( + A15,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,A4) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,21 read(1,'(A57)')ar__6 read(ar__6,7) + Name_6,RAh_3,RAm_3,RAs_3,DE__3,DEd_3,DEm_3,DEs_3,ABmag_1, + zph_3,MType_3 if(ar__6(48:52) .EQ. '') zph_3 = rNULL__ RAdeg_3 = rNULL__ DEdeg_3 = rNULL__ c Derive coordinates RAdeg_3 and DEdeg_3 from input data c (RAdeg_3 and DEdeg_3 are set to rNULL__ when unknown) if(RAh_3 .GT. -180) RAdeg_3=RAh_3*15. if(RAm_3 .GT. -180) RAdeg_3=RAdeg_3+RAm_3/4. if(RAs_3 .GT. -180) RAdeg_3=RAdeg_3+RAs_3/240. if(DEd_3 .GE. 0) DEdeg_3=DEd_3 if(DEm_3 .GE. 0) DEdeg_3=DEdeg_3+DEm_3/60. if(DEs_3 .GE. 0) DEdeg_3=DEdeg_3+DEs_3/3600. if(DE__3.EQ.'-'.AND.DEdeg_3.GE.0) DEdeg_3=-DEdeg_3 c ..............Just test output........... write(6,7) + Name_6,RAh_3,RAm_3,RAs_3,DE__3,DEd_3,DEm_3,DEs_3,ABmag_1, + zph_3,MType_3 write(6,'(6H Pos: 2F8.4)') RAdeg_3,DEdeg_3 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table6.dat' ! Early-type galaxies of redshift z > 1 C Format for file interpretation 8 format( + A15,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,A4) C Effective file loading open(unit=1,status='old',file= +'table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,5 read(1,'(A57)')ar__7 read(ar__7,8) + Name_7,RAh_4,RAm_4,RAs_4,DE__4,DEd_4,DEm_4,DEs_4,ABmag_2, + zph_4,MType_4 if(ar__7(48:52) .EQ. '') zph_4 = rNULL__ RAdeg_4 = rNULL__ DEdeg_4 = rNULL__ c Derive coordinates RAdeg_4 and DEdeg_4 from input data c (RAdeg_4 and DEdeg_4 are set to rNULL__ when unknown) if(RAh_4 .GT. -180) RAdeg_4=RAh_4*15. if(RAm_4 .GT. -180) RAdeg_4=RAdeg_4+RAm_4/4. if(RAs_4 .GT. -180) RAdeg_4=RAdeg_4+RAs_4/240. if(DEd_4 .GE. 0) DEdeg_4=DEd_4 if(DEm_4 .GE. 0) DEdeg_4=DEdeg_4+DEm_4/60. if(DEs_4 .GE. 0) DEdeg_4=DEdeg_4+DEs_4/3600. if(DE__4.EQ.'-'.AND.DEdeg_4.GE.0) DEdeg_4=-DEdeg_4 c ..............Just test output........... write(6,8) + Name_7,RAh_4,RAm_4,RAs_4,DE__4,DEd_4,DEm_4,DEs_4,ABmag_2, + zph_4,MType_4 write(6,'(6H Pos: 2F8.4)') RAdeg_4,DEdeg_4 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table8.dat' ! Comparison of Photometric Redshift Measurements C Format for file interpretation 9 format(A15,1X,F5.2,1X,F4.2,1X,A4,1X,A8,1X,F5.2,1X,F4.2,1X,A4) C Effective file loading open(unit=1,status='old',file= +'table8.dat') write(6,*) '....Loading file: table8.dat' do i__=1,6 read(1,'(A56)')ar__8 read(ar__8,9) + Name_8,AB_1_6_1,zph_5,MType_5,v_BBB99_,AB_1_6_B,zB,MTypeB c ..............Just test output........... write(6,9) + Name_8,AB_1_6_1,zph_5,MType_5,v_BBB99_,AB_1_6_B,zB,MTypeB c .......End.of.Just test output........... end do close(1) C============================================================================= stop end