Conversion of standardized ReadMe file for
file /./ftp/cats/II/258 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 2026-Oct-05
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. II/258 Hubble Ultra Deep Field Catalog (UDF) (STScI, 2004)
*================================================================================
*The Hubble Ultra Deep Field Catalog
* Beckwith S.V.W.
* <Space Telescope Science Institute (2004)>
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'udf-i.dat' ! The Ultra-Deep Field Catalog from F775W image
integer*4 nr__
parameter (nr__=10179) ! Number of records
character*213 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 UDF ! Running number (G1)
real*8 Xpos ! (pix) Position of the source (toward East)
real*8 Ypos ! (pix) Position of the source (toward North)
real*8 RAdeg ! (deg) Right Ascension (J2000)
real*8 DEdeg ! (deg) Declination (J2000)
real*4 Theta ! (deg) [-90,+90] source orientation "Theta"
* (counterclockwise from the X-axis = PA-90)
real*4 ell ! Ellipticity (1-b/a)
real*8 R50 ! (pix) Half-light radius
real*4 FWHM ! (pix) FWHM of a Gaussian fit to each source
real*4 Sty ! Stellarity (1 for point sources,
* 0 for fully resolved sources)
real*8 Bmag ! (mag) ?=99.00 AB magnitude in F435W filter (2)
real*8 e_Bmag ! (mag) ?=99.00 Formal error on Bmag
real*4 Bs_n ! Signal to Noise ratio in F435W filter
real*8 Vmag ! (mag) ?=99.00 AB magnitude in F606W filter (2)
real*8 e_Vmag ! (mag) ?=99.00 Formal error on Vmag
real*4 Vs_n ! Signal to Noise ratio in F606W filter
real*8 imag ! (mag) ?=99.00 AB magnitude in F775W filter (2)
real*8 e_imag ! (mag) ?=99.00 Formal error on imag
real*4 is_n ! Signal to Noise ratio in F775W filter
real*8 zmag ! (mag) ?=99.00 AB magnitude in F850LP filter (2)
real*8 e_zmag ! (mag) ?=99.00 Formal error on zmag
real*4 zs_n ! Signal to Noise ratio in F850LP filter
integer*4 Flags ! SExtractor flags (1)
*Note (1): combination of binary flags with the following meaning:
* 1 = The object has neighbors, bright and close enough to
* significantly bias the photometry, or bad pixels
* 2 = The object was originally blended with another one.
* 4 = At least one pixel of the object is saturated (or very close to).
* 8 = The object is truncated (too close to an image boundary).
* 16 = Object's aperture data are incomplete or corrupted.
*Note (2): magnitude isophotally matched.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'udf-z.dat' ! The Ultra-Deep Field Catalog from F850LP image
integer*4 nr__1
parameter (nr__1=7016) ! Number of records
character*213 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 UDF_1 ! Running number (G1)
real*8 Xpos_1 ! (pix) Position of the source (toward East)
real*8 Ypos_1 ! (pix) Position of the source (toward North)
real*8 RAdeg_1 ! (deg) Right Ascension (J2000)
real*8 DEdeg_1 ! (deg) Declination (J2000)
real*4 Theta_1 ! (deg) [-90,+90] source orientation "Theta"
* (counterclockwise from the X-axis = PA-90)
real*4 ell_1 ! Ellipticity (1-b/a)
real*8 R50_1 ! (pix) Half-light radius
real*4 FWHM_1 ! (pix) FWHM of a Gaussian fit to each source
real*4 Sty_1 ! Stellarity (1 for point sources,
* 0 for fully resolved sources)
real*8 Bmag_1 ! (mag) ?=99.00 AB magnitude in F435W filter (2)
real*8 e_Bmag_1 ! (mag) ?=99.00 Formal error on Bmag
real*4 Bs_n_1 ! Signal to Noise ratio in F435W filter
real*8 Vmag_1 ! (mag) ?=99.00 AB magnitude in F606W filter (2)
real*8 e_Vmag_1 ! (mag) ?=99.00 Formal error on Vmag
real*4 Vs_n_1 ! Signal to Noise ratio in F606W filter
real*8 imag_1 ! (mag) ?=99.00 AB magnitude in F775W filter (2)
real*8 e_imag_1 ! (mag) ?=99.00 Formal error on imag
real*4 is_n_1 ! Signal to Noise ratio in F775W filter
real*8 zmag_1 ! (mag) ?=99.00 AB magnitude in F850LP filter (2)
real*8 e_zmag_1 ! (mag) ?=99.00 Formal error on zmag
real*4 zs_n_1 ! Signal to Noise ratio in F850LP filter
integer*4 Flags_1 ! SExtractor flags (1)
*Note (1): combination of binary flags with the following meaning:
* 1 = The object has neighbors, bright and close enough to
* significantly bias the photometry, or bad pixels
* 2 = The object was originally blended with another one.
* 4 = At least one pixel of the object is saturated (or very close to).
* 8 = The object is truncated (too close to an image boundary).
* 16 = Object's aperture data are incomplete or corrupted.
*Note (2): magnitude isophotally matched.
C=============================================================================
C Loading file 'udf-i.dat' ! The Ultra-Deep Field Catalog from F775W image
C Format for file interpretation
1 format(
+ 2X,I5,3X,F7.2,2X,F7.2,2X,F11.7,2X,F11.7,3X,F5.1,3X,F5.3,5X,
+ F7.2,2X,F6.2,4X,F4.2,8X,F7.4,1X,F7.4,2X,F6.1,4X,F7.4,1X,F7.4,
+ 2X,F6.1,4X,F7.4,1X,F7.4,2X,F6.1,4X,F7.4,1X,F7.4,2X,F6.1,3X,I2)
C Effective file loading
open(unit=1,status='old',file=
+'udf-i.dat')
write(6,*) '....Loading file: udf-i.dat'
do i__=1,10179
read(1,'(A213)')ar__
read(ar__,1)
+ UDF,Xpos,Ypos,RAdeg,DEdeg,Theta,ell,R50,FWHM,Sty,Bmag,e_Bmag,
+ Bs_n,Vmag,e_Vmag,Vs_n,imag,e_imag,is_n,zmag,e_zmag,zs_n,Flags
c ..............Just test output...........
write(6,1)
+ UDF,Xpos,Ypos,RAdeg,DEdeg,Theta,ell,R50,FWHM,Sty,Bmag,e_Bmag,
+ Bs_n,Vmag,e_Vmag,Vs_n,imag,e_imag,is_n,zmag,e_zmag,zs_n,Flags
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'udf-z.dat' ! The Ultra-Deep Field Catalog from F850LP image
C Format for file interpretation
2 format(
+ 2X,I5,3X,F7.2,2X,F7.2,2X,F11.7,2X,F11.7,3X,F5.1,3X,F5.3,5X,
+ F7.2,2X,F6.2,4X,F4.2,8X,F7.4,1X,F7.4,2X,F6.1,4X,F7.4,1X,F7.4,
+ 2X,F6.1,4X,F7.4,1X,F7.4,2X,F6.1,4X,F7.4,1X,F7.4,2X,F6.1,3X,I2)
C Effective file loading
open(unit=1,status='old',file=
+'udf-z.dat')
write(6,*) '....Loading file: udf-z.dat'
do i__=1,7016
read(1,'(A213)')ar__1
read(ar__1,2)
+ UDF_1,Xpos_1,Ypos_1,RAdeg_1,DEdeg_1,Theta_1,ell_1,R50_1,
+ FWHM_1,Sty_1,Bmag_1,e_Bmag_1,Bs_n_1,Vmag_1,e_Vmag_1,Vs_n_1,
+ imag_1,e_imag_1,is_n_1,zmag_1,e_zmag_1,zs_n_1,Flags_1
c ..............Just test output...........
write(6,2)
+ UDF_1,Xpos_1,Ypos_1,RAdeg_1,DEdeg_1,Theta_1,ell_1,R50_1,
+ FWHM_1,Sty_1,Bmag_1,e_Bmag_1,Bs_n_1,Vmag_1,e_Vmag_1,Vs_n_1,
+ imag_1,e_imag_1,is_n_1,zmag_1,e_zmag_1,zs_n_1,Flags_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end