Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/695/276 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-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. J/ApJ/695/276 Search for megamasers in type-2 AGNs (Bennert+, 2009) *================================================================================ *A search for H_2_O megamasers in high-z Type-2 active galactic nuclei. * Bennert N., Barvainis R., Henkel C., Antonucci R. * <Astrophys. J., 695, 276-286 (2009)> * =2009ApJ...695..276B C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Details of observations: 274 SDSS type-2 AGNs integer*4 nr__ parameter (nr__=288) ! Number of records character*84 ar__ ! Full-size record character*18 SDSS ! Source identification (1) real*4 z ! Heliocentric redshift (2) real*4 L_OIII_ ! ([Lsun]) Log of [OIII] luminosity (3) real*8 F20cm ! (mJy) ? FIRST 20cm integrated flux (4) character*1 f_F20cm ! [n] 'n' if field not observed by FIRST survey real*8 nu ! (MHz) Observed frequency real*4 rms ! (mJy) Root mean square flux density integer*4 vmin ! (km/s) Minimum velocity covered by observation integer*4 vmax ! (km/s) Maximum velocity covered by observation real*4 dv ! (km/s) Channel width character*10 Tel ! Telescope used (G1) integer*4 Epoch ! Date of observation in MMYY format *Note (1): Where the source position is given in the identification in the * format HHMMSS.ss+DDMMSS.s. Note that only in first object was * megamaser emission detected (Barvainis & Antonucci, 2005ApJ...628...89B) *Note (2): From Zakamska et al. (2003, Cat. J/AJ/126/2125) as measured from * the [OII]3727 emission line. *Note (3): From Zakamska et al. (2003, Cat. J/AJ/126/2125). A value >8.48 * classifies the object as a type-2 QSO. *Note (4): From Zakamska et al. (2003, Cat. J/AJ/126/2125), if the object is * matched within 3". There is no entry if the object was not detected, * i.e. <1mJy. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! The 78 galaxies at D>=100kpc with known H_2_O masers integer*4 nr__1 parameter (nr__1=83) ! Number of records character*121 ar__1 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000 real*8 DEdeg ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*16 Name ! Source name character*8 OName ! Other name character*1 f_Name ! [ad] Note for NGC 598 (1) integer*4 RAh ! (h) Hour of right ascension (J2000) integer*4 RAm ! (min) Minute of right ascension (J2000) real*4 RAs ! (s) Second of right ascension (J2000) character*1 DE_ ! Declination sign (J2000) integer*4 DEd ! (deg) Degree of declination (J2000) integer*4 DEm ! (arcmin) Arcminute of declination (J2000) integer*4 DEs ! (arcsec) Arcsecond of declination (J2000) integer*4 cz ! (km/s) ? Systemic velocity from NED character*1 f_cz ! [z] For SDSS J0804+3607, z=0.66 real*8 Dist ! (Mpc) ? Distance (2) real*4 LFIR ! ([Lsun]) ? Far_infrared (FIR) luminosity * (log(L_FIR_/L_{sun}_)) (3) character*1 f_LFIR ! [bhi] lower limit or missing measurements (4) integer*4 Tdust ! (K) ? Dust temperature (4)(3) real*4 LH2O ! ([Lsun]) H_2_O luminosity (log(L_H_2_O_/L_{sun}_), * using H_0_=75km/s/Mpc character*1 f_LH2O ! [cef] Note on LH2O computation (5) character*14 Mtype ! Host galaxy morphological type from NED character*1 f_Mtype ! [j] Flag on Mtype (6) character*12 Otype ! Activity type from NED (7) character*1 f_Otype ! [g] Flag on Otype (8) character*11 Ref ! Reference(s) number(s); see refs.dat file *Note (1): Flag as follows: * a = While the detection of two more masers has been claimed by Huchtmeier et * al. (1978A&A....64L..21H, 1988A&A...200...26H), we list only the three * masers confirmed by Brunthaler et al. (2006A&A...457..109B). * d = The maser luminosity refers to a brief flaring episode. *Note (2): Using H_0_=75km/s/Mpc. For the 53 of the 78 masers that were * included in Henkel et al. (2005A&A...436...75H), we adapt the * distances from their table 4. For a few objects, we take distances * from the references listed in Column "Ref". *Note (3): For the determination of L_FIR_ and T_dust_ (60/100um color * temperatures), see Wouterloot & Walmsley (1986A&A...168..237W). The * IRAS fluxes were taken from Fullmer & Lonsdale (1989, Cat. VII/113) * and, for a few sources (NGC 262, NGC 598, IC 0184, NGC 4151, NGC 4258, * IRAS F19370-0131, NGC 6323, 3C 403, and AM 2158-380b), from NED. *Note (4): Flag as follows: * b = L_FIR_ and T_dust_ are lower limits as there are no IRAS flux * measurements at 12 and 25um. * h = There is no IRAS flux measurement at 12um. * i = There is no IRAS flux measurement at 100um. *Note (5): Flag as follows: * c = Estimated from Figure 1 of Kondratko et al. (2006, Cat. J/ApJ/652/136) * using L_H_2_O_/L_{sun}_=0.023S_total_/(Jy.km/s)*D^2^/Mpc with * S_total_={Sigma}(1.06S_peak_*FWHM) (summed over the different * components). * e = We assume logL_H_2_O_/L_{sun}_=0.9 as total integrated single-dish flux * density when including NGC 2146 in Figures 1, 2, and 3. * f = Using H_0_=75km/s/Mpc, {Omega}_{Lambda}_=0.73, and {Omega}_M_=0.27. *Note (6): j = Note that while NED lists "E/S0" as morphological * classification of the host galaxy according to Koekemoer et al., * 1995Natur.378..697K, Falcke et al. (2000ApJ...530L..13F) favor a * classification as a highly inclined spiral galaxy. We use the latter * in our statistics in Section 5. *Note (7): Types as follows: * Sy = Seyfert, * L = LINER, * LIRG = luminous-infrared galaxy, * SB = starburst, * NLRG = narrow-line radio galaxy, * RG = radio galaxy *Note (8): * g = Note that NED gives "Sy3" as classification, which corresponds to a LINER * (Veron-Cetty & Veron 1996, Cat. VII/258). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Details of observations: radio galaxies integer*4 nr__2 parameter (nr__2=148) ! Number of records character*99 ar__2 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 ! (deg) Right Ascension J2000 real*8 DEdeg_1 ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*23 Name_1 ! Source identification character*3 Class ! NED Classification (for table 5 only) integer*4 RAh_1 ! (h) NED Hour of Right Ascension (J2000) integer*4 RAm_1 ! (min) NED Minute of Right Ascension (J2000) real*4 RAs_1 ! (s) NED Second of Right Ascension (J2000) character*1 DE__1 ! Sign of the NED Declination (J2000) integer*4 DEd_1 ! (deg) NED Degree of Declination (J2000) integer*4 DEm_1 ! (arcmin) NED Arcminute of Declination (J2000) integer*4 DEs_1 ! (arcsec) NED Arcsecond of Declination (J2000) real*4 z_1 ! NED Heliocentric redshift real*8 nu_1 ! (MHz) Observed frequency real*4 rms_1 ! (mJy) Root mean square flux density integer*4 vmin_1 ! (km/s) Minimum velocity covered by observation integer*4 vmax_1 ! (km/s) Maximum velocity covered by observation real*4 dv_1 ! (km/s) Channel width character*10 Tel_1 ! Telescope used (G1) integer*4 Epoch_1 ! Date of observation in MMYY format c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Details of observations: miscellaneous sources integer*4 nr__3 parameter (nr__3=26) ! Number of records character*99 ar__3 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_2 ! (deg) Right Ascension J2000 real*8 DEdeg_2 ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*23 Name_2 ! Source identification character*3 Class_1 ! NED Classification (for table 5 only) integer*4 RAh_2 ! (h) NED Hour of Right Ascension (J2000) integer*4 RAm_2 ! (min) NED Minute of Right Ascension (J2000) real*4 RAs_2 ! (s) NED Second of Right Ascension (J2000) character*1 DE__2 ! Sign of the NED Declination (J2000) integer*4 DEd_2 ! (deg) NED Degree of Declination (J2000) integer*4 DEm_2 ! (arcmin) NED Arcminute of Declination (J2000) integer*4 DEs_2 ! (arcsec) NED Arcsecond of Declination (J2000) real*4 z_2 ! NED Heliocentric redshift real*8 nu_2 ! (MHz) Observed frequency real*4 rms_2 ! (mJy) Root mean square flux density integer*4 vmin_2 ! (km/s) Minimum velocity covered by observation integer*4 vmax_2 ! (km/s) Maximum velocity covered by observation real*4 dv_2 ! (km/s) Channel width character*10 Tel_2 ! Telescope used (G1) integer*4 Epoch_2 ! Date of observation in MMYY format c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References for table 2 integer*4 nr__4 parameter (nr__4=52) ! Number of records character*63 ar__4 ! Full-size record integer*4 Ref_1 ! Reference number character*19 BibCode ! Bibcode character*21 Aut ! Author's name character*18 Com ! Catalog reference in VizieR C============================================================================= C Loading file 'table1.dat' ! Details of observations: 274 SDSS type-2 AGNs C Format for file interpretation 1 format( + A18,1X,F5.3,1X,F4.2,1X,F7.2,1X,A1,1X,F8.2,1X,F4.1,1X,I5,1X,I4, + 1X,F3.1,1X,A10,1X,I4) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,288 read(1,'(A84)')ar__ read(ar__,1) + SDSS,z,L_OIII_,F20cm,f_F20cm,nu,rms,vmin,vmax,dv,Tel,Epoch if(ar__(31:37) .EQ. '') F20cm = rNULL__ c ..............Just test output........... write(6,1) + SDSS,z,L_OIII_,F20cm,f_F20cm,nu,rms,vmin,vmax,dv,Tel,Epoch c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! The 78 galaxies at D>=100kpc with known H_2_O masers C Format for file interpretation 2 format( + A16,1X,A8,1X,A1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X, + I5,A1,1X,F7.2,1X,F4.1,A1,1X,I3,1X,F4.1,A1,1X,A14,A1,1X,A12,A1, + 1X,A11) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,83 read(1,'(A121)')ar__1 read(ar__1,2) + Name,OName,f_Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,cz,f_cz,Dist, + LFIR,f_LFIR,Tdust,LH2O,f_LH2O,Mtype,f_Mtype,Otype,f_Otype,Ref if(ar__1(50:54) .EQ. '') cz = iNULL__ if(ar__1(57:63) .EQ. '') Dist = rNULL__ if(ar__1(65:68) .EQ. '') LFIR = rNULL__ if(ar__1(71:73) .EQ. '') Tdust = iNULL__ 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,2) + Name,OName,f_Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,cz,f_cz,Dist, + LFIR,f_LFIR,Tdust,LH2O,f_LH2O,Mtype,f_Mtype,Otype,f_Otype,Ref write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! Details of observations: radio galaxies C Format for file interpretation 3 format( + A23,1X,A3,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F5.3,1X, + F8.2,1X,F4.1,1X,I5,1X,I4,1X,F3.1,1X,A10,1X,I4) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,148 read(1,'(A99)')ar__2 read(ar__2,3) + Name_1,Class,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,z_1, + nu_1,rms_1,vmin_1,vmax_1,dv_1,Tel_1,Epoch_1 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,3) + Name_1,Class,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,z_1, + nu_1,rms_1,vmin_1,vmax_1,dv_1,Tel_1,Epoch_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 'table5.dat' ! Details of observations: miscellaneous sources C Format for file interpretation 4 format( + A23,1X,A3,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F5.3,1X, + F8.2,1X,F4.1,1X,I5,1X,I4,1X,F3.1,1X,A10,1X,I4) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,26 read(1,'(A99)')ar__3 read(ar__3,4) + Name_2,Class_1,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,z_2, + nu_2,rms_2,vmin_2,vmax_2,dv_2,Tel_2,Epoch_2 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,4) + Name_2,Class_1,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,z_2, + nu_2,rms_2,vmin_2,vmax_2,dv_2,Tel_2,Epoch_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 'refs.dat' ! References for table 2 C Format for file interpretation 5 format(I2,1X,A19,1X,A21,1X,A18) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,52 read(1,'(A63)')ar__4 read(ar__4,5)Ref_1,BibCode,Aut,Com c ..............Just test output........... write(6,5)Ref_1,BibCode,Aut,Com c .......End.of.Just test output........... end do close(1) C============================================================================= stop end