Conversion of standardized ReadMe file for
file /./ftp/cats/J/other/AstBu/64.357 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-20 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. VII/255 Catalog of radio galaxies with z>0.3 (Khabibullina+ 2009) *================================================================================ *Catalog of radio galaxies with z>0.3: *I. Construction of the sample. *II. Photometric data. *III. Sizes and flux density according to the NVSS data * Khabibullina M.L., Verkhodanov O.V. * <Astrophys. Bull. 64, 123; 64, 246; 64, 357 (2009) > * =2009AstBu..64..123K * =2009AstBu..64..276K * =2009AstBu..64..357K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Spectral indexes and redshifts for 2442 galaxies integer*4 nr__ parameter (nr__=2442) ! Number of records character*65 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*13 Src (nr__) ! Name of the source catalog or source name (1) character*6 n_Src (nr__) ! Note on source (2) integer*4 RAh (nr__) ! (h) Right Ascension J2000 (hours) integer*4 RAm (nr__) ! (min) Right Ascension J2000 (minutes) real*4 RAs (nr__) ! (s) Right Ascension J2000 (seconds) character*1 DE_ (nr__) ! Declination J2000 (sign) integer*4 DEd (nr__) ! (deg) Declination J2000 (degrees) integer*4 DEm (nr__) ! (arcmin) Declination J2000 (minutes) integer*4 DEs (nr__) ! (arcsec) Declination J2000 (seconds) real*4 alf1 (nr__) ! ? Spectral index for frequency 325MHz (3) real*4 alf2 (nr__) ! ? Spectral index for frequency 1400MHz (3) real*4 alf3 (nr__) ! ? Spectral index for frequency 4850MHz (3) real*4 z (nr__) ! Spectroscopic redshift *Note (1): Name of the source catalog or source names in the case of * 3C and 4C surveys. *Note (2): There are the next symbol names as follows: * VisS = Visual source * GPair = Double galaxies * AbLS = Spectrum with absorption lines * GClstr = Cluster of galaxies * G Lens = Gravitational lens *Note (3): {alpha} in relation S({nu})={nu}^{alpha}^. * No spectral indices are given for galaxies with the fluxes measured * only at a single frequency (e.g., SDSS objects with the data from the * FIRST catalog, Cat. <VIII/71>). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Magnitudes for 2442 galaxies integer*4 nr__1 parameter (nr__1=2442) ! Number of records character*226 ar__1 ! Full-size record character*13 GName (nr__1) ! Name of galaxies as coordinates * (HHMMSS+DDMMSS, J2000) character*31 Name (nr__1) ! Name of galaxies character*6 n_mag1 (nr__1) ! Band name (4) character*1 l_mag1 (nr__1) ! [=>] Limit flag on mag1 real*4 mag1 (nr__1) ! (mag) ? Magnitude in band n_mag1 real*4 e_mag1 (nr__1) ! (mag) ? rms uncertainty on mag1 character*1 u_mag1 (nr__1) ! [)] Uncertainty flag on mag1 character*5 n_mag2 (nr__1) ! Band name (4) character*1 l_mag2 (nr__1) ! [=>] Limit flag on mag2 real*4 mag2 (nr__1) ! (mag) ? Magnitude in band n_mag2 real*4 e_mag2 (nr__1) ! (mag) ? rms uncertainty on mag2 character*1 u_mag2 (nr__1) ! [)] Uncertainty flag on mag2 character*6 n_mag3 (nr__1) ! Band name (4) character*1 l_mag3 (nr__1) ! [=>] Limit flag on mag3 real*4 mag3 (nr__1) ! (mag) ? Magnitude in band n_mag3 real*4 e_mag3 (nr__1) ! (mag) ? rms uncertainty on mag3 character*5 n_mag4 (nr__1) ! Band name (4) character*1 l_mag4 (nr__1) ! [=><] Limit flag on mag4 real*4 mag4 (nr__1) ! (mag) ? Magnitude in band n_mag4 real*4 e_mag4 (nr__1) ! (mag) ? rms uncertainty on mag4 character*6 n_mag5 (nr__1) ! Band name (4) character*1 l_mag5 (nr__1) ! [=>] Limit flag on mag5 real*4 mag5 (nr__1) ! (mag) ? Magnitude in band n_mag5 real*4 e_mag5 (nr__1) ! (mag) ? rms uncertainty on mag5 character*5 n_mag6 (nr__1) ! Band name (4) character*1 l_mag6 (nr__1) ! [=>] Limit flag on mag6 real*4 mag6 (nr__1) ! (mag) ? Magnitude in band n_mag6 real*4 e_mag6 (nr__1) ! (mag) ? rms uncertainty on mag6 character*5 n_mag7 (nr__1) ! Band name (4) character*1 l_mag7 (nr__1) ! [=>] Limit flag on mag7 real*4 mag7 (nr__1) ! (mag) ? Magnitude in band n_mag7 real*4 e_mag7 (nr__1) ! (mag) ? rms uncertainty on mag7 character*3 n_mag8 (nr__1) ! Band name (4) character*1 l_mag8 (nr__1) ! [=>] Limit flag on mag8 real*4 mag8 (nr__1) ! (mag) ? Magnitude in band n_mag8 real*4 e_mag8 (nr__1) ! (mag) ? rms uncertainty on mag8 character*3 n_mag9 (nr__1) ! Band name (4) character*1 l_mag9 (nr__1) ! [=>] Limit flag on mag9 real*4 mag9 (nr__1) ! (mag) ? Magnitude in band n_mag9 real*4 e_mag9 (nr__1) ! (mag) ? rms uncertainty on mag9 character*1 n_mag10 (nr__1) ! Band name (4) character*1 l_mag10 (nr__1) ! [=>] Limit flag on mag10 real*4 mag10 (nr__1) ! (mag) ? Magnitude in band n_mag10 character*2 n_mag11 (nr__1) ! Band name (4) character*1 l_mag11 (nr__1) ! [=>] Limit flag on mag11 real*4 mag11 (nr__1) ! (mag) ? Magnitude in band n_mag11 n_mag real*4 e_mag11 (nr__1) ! (mag) ? rms uncertainty on mag11 *Note (4): Band as: * * SDSS filters u, g, r, i, and z * * Johnson and UKIDSS systems: R, U, B, V, G, H, I, J, K, R, and Z * * Gunn system filters r_G and i_G * * Hubble Space Telescope's filters F160W, F775W, F850LP, F702W, F606W * and F814W * * ultraviolet filters FUV and NUV with the 1150-1700{AA} and * 1575-3110{AA} passbands, respectively * * Palomar Atlas photographic magnitudes of the blue and red plates O and E * * Ks, b_J, g_475 and r_625 c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Sizes and flux density for 2442 galaxies integer*4 nr__2 parameter (nr__2=2442) ! Number of records character*66 ar__2 ! Full-size record C J2000 position composed of: RA1h RA1m RA1s DE1- DE1d DE1m DE1s real*8 RAdeg_1 (nr__2) ! (deg) Right Ascension J2000 real*8 DEdeg_1 (nr__2) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*13 GName_1 (nr__2) ! Name of galaxies as coordinates * (HHMMSS+DDMMSS, J2000) integer*4 RA1h (nr__2) ! (h) ? NVSS Right Ascension J2000 (hours) (5) integer*4 RA1m (nr__2) ! (min) ? NVSS Right Ascension J2000 (minutes) (5) real*4 RA1s (nr__2) ! (s) ? NVSS Right Ascension J2000 (seconds) (5) character*1 DE1_ (nr__2) ! Declination J2000 (sign) (5) integer*4 DE1d (nr__2) ! (deg) ? NVSS Declination J2000 (degrees) (5) integer*4 DE1m (nr__2) ! (arcmin) ? NVSS Declination J2000 (minutes) (5) real*4 DE1s (nr__2) ! (arcsec) ? NVSS Declination J2000 (seconds) (5) character*1 l_MajAxis (nr__2) ! Limit flag on MajAxis real*4 MajAxis (nr__2) ! (arcsec) ? Major diameter of source in arcsec (NVSS) character*1 l_MinAxis (nr__2) ! Limit flag on MinAxis real*4 MinAxis (nr__2) ! (arcsec) ? Minor diameter of source in arcsec (NVSS) real*8 S1_4 (nr__2) ! (mJy) ? 1.4GHz flux density of source (NVSS) real*4 z_1 (nr__2) ! Redshift *Note (5): may be a weighted averaged position of components C============================================================================= C Loading file 'table1.dat' ! Spectral indexes and redshifts for 2442 galaxies C Format for file interpretation 1 format( + A13,A6,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F5.2,1X, + F5.2,1X,F5.2,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,2442 read(1,'(A65)')ar__ read(ar__,1) + Src(i__),n_Src(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),alf1(i__),alf2(i__),alf3(i__), + z(i__) if(ar__(43:47) .EQ. '') alf1(i__) = rNULL__ if(ar__(49:53) .EQ. '') alf2(i__) = rNULL__ if(ar__(55:59) .EQ. '') alf3(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) + Src(i__),n_Src(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),alf1(i__),alf2(i__),alf3(i__), + z(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 'table2.dat' ! Magnitudes for 2442 galaxies C Format for file interpretation 2 format( + A13,1X,A31,1X,A6,A1,F6.3,1X,F5.3,A1,A5,A1,F6.3,1X,F5.3,A1,1X, + A6,A1,F6.3,1X,F5.3,A5,A1,F6.3,1X,F5.3,A6,A1,F5.2,1X,F4.2,1X, + A5,A1,F5.2,1X,F4.2,1X,A5,A1,F5.2,1X,F4.2,1X,A3,A1,F5.2,1X, + F4.2,1X,A3,A1,F5.2,1X,F4.2,1X,A1,A1,F5.2,1X,A2,A1,F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,2442 read(1,'(A226)')ar__1 read(ar__1,2) + GName(i__),Name(i__),n_mag1(i__),l_mag1(i__),mag1(i__), + e_mag1(i__),u_mag1(i__),n_mag2(i__),l_mag2(i__),mag2(i__), + e_mag2(i__),u_mag2(i__),n_mag3(i__),l_mag3(i__),mag3(i__), + e_mag3(i__),n_mag4(i__),l_mag4(i__),mag4(i__),e_mag4(i__), + n_mag5(i__),l_mag5(i__),mag5(i__),e_mag5(i__),n_mag6(i__), + l_mag6(i__),mag6(i__),e_mag6(i__),n_mag7(i__),l_mag7(i__), + mag7(i__),e_mag7(i__),n_mag8(i__),l_mag8(i__),mag8(i__), + e_mag8(i__),n_mag9(i__),l_mag9(i__),mag9(i__),e_mag9(i__), + n_mag10(i__),l_mag10(i__),mag10(i__),n_mag11(i__), + l_mag11(i__),mag11(i__),e_mag11(i__) if(ar__1(54:59) .EQ. '') mag1(i__) = rNULL__ if(ar__1(61:65) .EQ. '') e_mag1(i__) = rNULL__ if(ar__1(73:78) .EQ. '') mag2(i__) = rNULL__ if(ar__1(80:84) .EQ. '') e_mag2(i__) = rNULL__ if(ar__1(94:99) .EQ. '') mag3(i__) = rNULL__ if(ar__1(101:105) .EQ. '') e_mag3(i__) = rNULL__ if(ar__1(112:117) .EQ. '') mag4(i__) = rNULL__ if(ar__1(119:123) .EQ. '') e_mag4(i__) = rNULL__ if(ar__1(131:135) .EQ. '') mag5(i__) = rNULL__ if(ar__1(137:140) .EQ. '') e_mag5(i__) = rNULL__ if(ar__1(148:152) .EQ. '') mag6(i__) = rNULL__ if(ar__1(154:157) .EQ. '') e_mag6(i__) = rNULL__ if(ar__1(165:169) .EQ. '') mag7(i__) = rNULL__ if(ar__1(171:174) .EQ. '') e_mag7(i__) = rNULL__ if(ar__1(180:184) .EQ. '') mag8(i__) = rNULL__ if(ar__1(186:189) .EQ. '') e_mag8(i__) = rNULL__ if(ar__1(195:199) .EQ. '') mag9(i__) = rNULL__ if(ar__1(201:204) .EQ. '') e_mag9(i__) = rNULL__ if(ar__1(208:212) .EQ. '') mag10(i__) = rNULL__ if(ar__1(217:221) .EQ. '') mag11(i__) = rNULL__ if(ar__1(223:226) .EQ. '') e_mag11(i__) = rNULL__ c ..............Just test output........... write(6,2) + GName(i__),Name(i__),n_mag1(i__),l_mag1(i__),mag1(i__), + e_mag1(i__),u_mag1(i__),n_mag2(i__),l_mag2(i__),mag2(i__), + e_mag2(i__),u_mag2(i__),n_mag3(i__),l_mag3(i__),mag3(i__), + e_mag3(i__),n_mag4(i__),l_mag4(i__),mag4(i__),e_mag4(i__), + n_mag5(i__),l_mag5(i__),mag5(i__),e_mag5(i__),n_mag6(i__), + l_mag6(i__),mag6(i__),e_mag6(i__),n_mag7(i__),l_mag7(i__), + mag7(i__),e_mag7(i__),n_mag8(i__),l_mag8(i__),mag8(i__), + e_mag8(i__),n_mag9(i__),l_mag9(i__),mag9(i__),e_mag9(i__), + n_mag10(i__),l_mag10(i__),mag10(i__),n_mag11(i__), + l_mag11(i__),mag11(i__),e_mag11(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Sizes and flux density for 2442 galaxies C Format for file interpretation 3 format( + A13,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,A1,F5.1,1X, + A1,F4.1,1X,F9.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,2442 read(1,'(A66)')ar__2 read(ar__2,3) + GName_1(i__),RA1h(i__),RA1m(i__),RA1s(i__),DE1_(i__), + DE1d(i__),DE1m(i__),DE1s(i__),l_MajAxis(i__),MajAxis(i__), + l_MinAxis(i__),MinAxis(i__),S1_4(i__),z_1(i__) if(ar__2(15:16) .EQ. '') RA1h(i__) = iNULL__ if(ar__2(18:19) .EQ. '') RA1m(i__) = iNULL__ if(ar__2(21:25) .EQ. '') RA1s(i__) = rNULL__ if(ar__2(28:29) .EQ. '') DE1d(i__) = iNULL__ if(ar__2(31:32) .EQ. '') DE1m(i__) = iNULL__ if(ar__2(34:37) .EQ. '') DE1s(i__) = rNULL__ if(ar__2(40:44) .EQ. '') MajAxis(i__) = rNULL__ if(ar__2(47:50) .EQ. '') MinAxis(i__) = rNULL__ if(ar__2(52:60) .EQ. '') S1_4(i__) = rNULL__ RAdeg_1(i__) = rNULL__ DEdeg_1(i__) = 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(RA1h(i__) .GT. -180) RAdeg_1(i__)=RA1h(i__)*15. if(RA1m(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RA1m(i__)/4. if(RA1s(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RA1s(i__)/240. if(DE1d(i__) .GE. 0) DEdeg_1(i__)=DE1d(i__) if(DE1m(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DE1m(i__)/60. if(DE1s(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DE1s(i__)/3600. if(DE1_(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__) c ..............Just test output........... write(6,3) + GName_1(i__),RA1h(i__),RA1m(i__),RA1s(i__),DE1_(i__), + DE1d(i__),DE1m(i__),DE1s(i__),l_MajAxis(i__),MajAxis(i__), + l_MinAxis(i__),MinAxis(i__),S1_4(i__),z_1(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end