Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/120/2747 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-Mar-28 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/120/2747 HDF-South WFPC2 observations (Casertano+, 2000) *================================================================================ *WFPC2 observations of the Hubble Deep Field South. * Casertano S., De Mello D.F., Dickinson M., Ferguson H.C., Fruchter A.S., * Gonzalez-Lopezlira R.A., Heyer I., Hook R.N., Levay Z., Lucas R.A., Mack J., * Makidon R.B., Mutchler M., Smith T.E., Stiavelli M., Wiggs M.S., * Williams R.E. * <Astron. J. 120, 2747 (2000)> * =2000AJ....120.2747C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! Object catalog for the HDF-S WFPC2 field integer*4 nr__ parameter (nr__=2657) ! Number of records character*97 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) integer*4 v_CDD2000_ (nr__) ! SExtractor identification number (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 (J2000) integer*4 DEd (nr__) ! (deg) Declination (J2000) integer*4 DEm (nr__) ! (arcmin) Declination (J2000 real*4 DEs (nr__) ! (arcsec) Declination (J2000) real*8 Xpix (nr__) ! (pix) The x pixel position in the version 2 images real*8 Ypix (nr__) ! (pix) The y pixel position in the version 2 images real*4 Imag (nr__) ! (mag) ? Isophotal F814W magnitude (2) real*4 e_Imag (nr__) ! (mag) ? The uncertainty in Imag (2) real*4 Emag (nr__) ! (mag) ? The elliptical (Kron, 1980ApJS...43..305K) * magnitude (3) real*4 u_b (nr__) ! (mag) ? The (U_{F300W}_ - B_{F450W}_) color (4) real*4 b_v (nr__) ! (mag) ? The (B_{F450W}_ - V_{F606W}_) color (4) real*4 v_i (nr__) ! (mag) ? The (V_{F606W}_ - I_{F814W}_) color (4) integer*4 Half (nr__) ! (marcsec) Half-light radius (5) real*4 Class (nr__) ! [0,1] Star-galaxy classification parameter (6) character*4 f__CDD2000_(nr__) ! Object flags (7) *Note (1): The objects in the list have been sorted by Right Ascension (first) * and Declination (second), and thus are no longer in catalog order. In * addition, the numbers are no longer continuous, as some of the object * identifications from the first SExtractor run have been removed. * Objects from the second SExtractor run have had 10000 added to their * identification numbers. These identification numbers provide a * cross-reference to the segmentation maps. *Note (2): The magnitudes are given in the AB system (Oke, 1971ApJ...170..193O), * where m = -2.5 log f_{nu}_ - 48.60. *Note (3): Determined from the sum of the counts in an elliptical aperture. * The semi-major axis of this aperture is defined by 2.5 times the first * moments of the flux distribution within an ellipse roughly twice the * isophotal radius, with a minimum semi-major axis of 3.5 pixels. *Note (4): When the measured flux in the bluer band is less than 2{sigma}, * we list the 2-sigma upper-limit to the color determined from the * photometric errors in the aperture. If both bands are upper limits, no * color is listed. The magnitudes are given in the AB system (Oke, * 1971ApJ...170..193O), where m = -2.5 log f_{nu}_ - 48.60. *Note (5): Defined by SExtractor as the radius at which a circular aperture * contains half of the flux in the elliptical aperture. *Note (6): Determined by a neural network within SExtractor, and based * upon the morphology of the object in the detection images (see Bertin * & Arnouts, 1996A&AS..117..393B, for a detailed description of the * neural network). Classifications near 1.0 are more like a point * source, while classifications near 0.0 are more extended. *Note (7): Each flag is set if the condition is satisfied in at least one filter. * a = Object has near neighbors (more than 10% of Emag area overlaps * detected objects) * b = Object was originally blended with another * c = At least one pixel is saturated * d = Object's aperture data is incomplete or corrupted * e = Object is off the image, or within 30 pixels of the edge * f = Object lies on top of a diffraction spike * g = Photometry is from the second run of SExtractor. C============================================================================= C Loading file 'table6.dat' ! Object catalog for the HDF-S WFPC2 field C Format for file interpretation 1 format( + I5,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F7.2,1X,F7.2, + 1X,F5.2,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,I5,1X,F4.2, + 1X,A4) C Effective file loading open(unit=1,status='old',file= +'table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,2657 read(1,'(A97)')ar__ read(ar__,1) + v_CDD2000_(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),Xpix(i__),Ypix(i__),Imag(i__),e_Imag(i__), + Emag(i__),u_b(i__),b_v(i__),v_i(i__),Half(i__),Class(i__), + f__CDD2000_(i__) if(ar__(47:51) .EQ. '') Imag(i__) = rNULL__ if(ar__(53:56) .EQ. '') e_Imag(i__) = rNULL__ if(ar__(58:62) .EQ. '') Emag(i__) = rNULL__ if(ar__(64:68) .EQ. '') u_b(i__) = rNULL__ if(ar__(70:74) .EQ. '') b_v(i__) = rNULL__ if(ar__(76:80) .EQ. '') v_i(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) + v_CDD2000_(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),Xpix(i__),Ypix(i__),Imag(i__),e_Imag(i__), + Emag(i__),u_b(i__),b_v(i__),v_i(i__),Half(i__),Class(i__), + f__CDD2000_(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end