Conversion of standardized ReadMe file for
file /./ftp/cats/VII/224/ 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-Mar-29 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/224 Quasars and Active Galactic Nuclei (10th Ed.) (Veron+ 2001) *================================================================================ *Quasars and Active Galactic Nuclei (10th Ed.) * Veron-Cetty M.P., Veron P. * <Astron. Astrophys. 374, 92 (2001)> * =2001A&A...374...92V C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Quasars (brighter than absolute magnitude -23) integer*4 nr__ parameter (nr__=23760) ! Number of records character*142 ar__ ! 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*1 notRadio ! [*] '*' if not detected in radio (1) character*17 Name ! Most common name of the object integer*4 RAh ! (h) Right Ascension J2000 (hours) (see also n_RAh) integer*4 RAm ! (min) Right Ascension J2000 (minutes) real*4 RAs ! (s) Right Ascension J2000 (seconds) character*1 DE_ ! Declination J2000 (sign) integer*4 DEd ! (deg) Declination J2000 (degrees) integer*4 DEm ! (arcmin) Declination J2000 (minutes) integer*4 DEs ! (arcsec) Declination J2000 (seconds) character*1 n_RAh ! [AOR] Approximative/Optical/Radio position (2) real*4 F6cm ! (Jy) ? 6cm (5GHz) flux integer*4 r_F6cm ! [1,2173]? Reference of 6cm Flux real*4 F11cm ! (Jy) ? 11cm (2.7GHz) flux (Jy) integer*4 r_F11cm ! [1,2173]? Reference of 11cm flux character*1 l_z ! [>*] limit or method flag on z (4) real*4 z ! ? redshift character*4 Sp ! [S0-9?HPBLbhin. ] Spectrum classification (3) character*1 n_Vmag ! [*RIO] Photographic(*), red(R), infra-red * (I) or photographic O- or J- plates(O) real*4 Vmag ! (mag) ? magnitude, V or other (see n_Vmag) real*4 B_V ! (mag) ? colour index real*4 U_B ! (mag) ? colour index real*4 Mabs ! (mag) ? Absolute magnitude integer*4 FC ! [1,2173]? Reference of the Finding Chart integer*4 r_Vmag ! [1,2173]? Reference of the Photometry integer*4 r_z ! [1,2173]? Reference of the redshift integer*4 RA1950h ! (h) Right Ascension B1950 (hours) integer*4 RA1950m ! (min) Right Ascension B1950 (minutes) real*4 RA1950s ! (s) Right Ascension B1950 (seconds) character*1 DE1950_ ! Declination B1950 (sign) integer*4 DE1950d ! (deg) Declination B1950 (degrees) integer*4 DE1950m ! (arcmin) Declination B1950 (minutes) integer*4 DE1950s ! (arcsec) Declination B1950 (seconds) *Note (1): this flag is blank if the object has been detected as a * radio source, and is '*' if not. *Note (2): this flag related to the position takes the values: * 'O' for an Optical position with an accuracy better than 1arcsec * 'R' for a Radio position with an accuracy better than 1arcsec * 'A' for an approximative position *Note (3): the classification of the object is * S1 : Seyfert 1 spectrum * S1h: broad polarized Balmer lines detected * S1i: broad Paschen lines observed in the infrared * S1n: narrow-line Seyfert 1 * S1.0, S1.2, S1.5, S1.8, S1.9: intermediate Seyfert galaxies * S2 : Seyfert 2 spectrum * S3 : Seyfert 3 or liner * S3b: Seyfert 3 or liner with broad Balmer lines * S3h: Seyfert 3 or liner with broad polarized Balmer lines detected * S : unclassified Seyfert * S? : possibly a Seyfert * H2 : nuclear HII region * HP : high optical polarization (>3%) * BL : confirmed BL Lac object *Note (4): n_z may indicate a lower limit on z, or * '*', if the redshift is measured by slitless spectroscopy. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Confirmed, probable or possible BL Lac objects integer*4 nr__1 parameter (nr__1=608) ! Number of records character*142 ar__1 ! 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*1 notRadio_1 ! [*] '*' if not detected in radio (1) character*17 Name_1 ! Most common name of the object integer*4 RAh_1 ! (h) Right Ascension J2000 (hours) (see also n_RAh) integer*4 RAm_1 ! (min) Right Ascension J2000 (minutes) real*4 RAs_1 ! (s) Right Ascension J2000 (seconds) character*1 DE__1 ! Declination J2000 (sign) integer*4 DEd_1 ! (deg) Declination J2000 (degrees) integer*4 DEm_1 ! (arcmin) Declination J2000 (minutes) integer*4 DEs_1 ! (arcsec) Declination J2000 (seconds) character*1 n_RAh_1 ! [AOR] Approximative/Optical/Radio position (2) real*4 F6cm_1 ! (Jy) ? 6cm (5GHz) flux integer*4 r_F6cm_1 ! [1,2173]? Reference of 6cm Flux real*4 F11cm_1 ! (Jy) ? 11cm (2.7GHz) flux (Jy) integer*4 r_F11cm_1 ! [1,2173]? Reference of 11cm flux character*1 l_z_1 ! [>*] limit or method flag on z (4) real*4 z_1 ! ? redshift character*4 Sp_1 ! [S0-9?HPBLbhin. ] Spectrum classification (3) character*1 n_Vmag_1 ! [*RIO] Photographic(*), red(R), infra-red * (I) or photographic O- or J- plates(O) real*4 Vmag_1 ! (mag) ? magnitude, V or other (see n_Vmag) real*4 B_V_1 ! (mag) ? colour index real*4 U_B_1 ! (mag) ? colour index real*4 Mabs_1 ! (mag) ? Absolute magnitude integer*4 FC_1 ! [1,2173]? Reference of the Finding Chart integer*4 r_Vmag_1 ! [1,2173]? Reference of the Photometry integer*4 r_z_1 ! [1,2173]? Reference of the redshift integer*4 RA1950h_1 ! (h) Right Ascension B1950 (hours) integer*4 RA1950m_1 ! (min) Right Ascension B1950 (minutes) real*4 RA1950s_1 ! (s) Right Ascension B1950 (seconds) character*1 DE1950__1 ! Declination B1950 (sign) integer*4 DE1950d_1 ! (deg) Declination B1950 (degrees) integer*4 DE1950m_1 ! (arcmin) Declination B1950 (minutes) integer*4 DE1950s_1 ! (arcsec) Declination B1950 (seconds) *Note (1): this flag is blank if the object has been detected as a * radio source, and is '*' if not. *Note (2): this flag related to the position takes the values: * 'O' for an Optical position with an accuracy better than 1arcsec * 'R' for a Radio position with an accuracy better than 1arcsec * 'A' for an approximative position *Note (3): the classification of the object is * S1 : Seyfert 1 spectrum * S1h: broad polarized Balmer lines detected * S1i: broad Paschen lines observed in the infrared * S1n: narrow-line Seyfert 1 * S1.0, S1.2, S1.5, S1.8, S1.9: intermediate Seyfert galaxies * S2 : Seyfert 2 spectrum * S3 : Seyfert 3 or liner * S3b: Seyfert 3 or liner with broad Balmer lines * S3h: Seyfert 3 or liner with broad polarized Balmer lines detected * S : unclassified Seyfert * S? : possibly a Seyfert * H2 : nuclear HII region * HP : high optical polarization (>3%) * BL : confirmed BL Lac object *Note (4): n_z may indicate a lower limit on z, or * '*', if the redshift is measured by slitless spectroscopy. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Active galaxies (fainter than -23) integer*4 nr__2 parameter (nr__2=5751) ! Number of records character*142 ar__2 ! 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*1 notRadio_2 ! [*] '*' if not detected in radio (1) character*17 Name_2 ! Most common name of the object integer*4 RAh_2 ! (h) Right Ascension J2000 (hours) (see also n_RAh) integer*4 RAm_2 ! (min) Right Ascension J2000 (minutes) real*4 RAs_2 ! (s) Right Ascension J2000 (seconds) character*1 DE__2 ! Declination J2000 (sign) integer*4 DEd_2 ! (deg) Declination J2000 (degrees) integer*4 DEm_2 ! (arcmin) Declination J2000 (minutes) integer*4 DEs_2 ! (arcsec) Declination J2000 (seconds) character*1 n_RAh_2 ! [AOR] Approximative/Optical/Radio position (2) real*4 F6cm_2 ! (Jy) ? 6cm (5GHz) flux integer*4 r_F6cm_2 ! [1,2173]? Reference of 6cm Flux real*4 F11cm_2 ! (Jy) ? 11cm (2.7GHz) flux (Jy) integer*4 r_F11cm_2 ! [1,2173]? Reference of 11cm flux character*1 l_z_2 ! [>*] limit or method flag on z (4) real*4 z_2 ! ? redshift character*4 Sp_2 ! [S0-9?HPBLbhin. ] Spectrum classification (3) character*1 n_Vmag_2 ! [*RIO] Photographic(*), red(R), infra-red * (I) or photographic O- or J- plates(O) real*4 Vmag_2 ! (mag) ? magnitude, V or other (see n_Vmag) real*4 B_V_2 ! (mag) ? colour index real*4 U_B_2 ! (mag) ? colour index real*4 Mabs_2 ! (mag) ? Absolute magnitude integer*4 FC_2 ! [1,2173]? Reference of the Finding Chart integer*4 r_Vmag_2 ! [1,2173]? Reference of the Photometry integer*4 r_z_2 ! [1,2173]? Reference of the redshift integer*4 RA1950h_2 ! (h) Right Ascension B1950 (hours) integer*4 RA1950m_2 ! (min) Right Ascension B1950 (minutes) real*4 RA1950s_2 ! (s) Right Ascension B1950 (seconds) character*1 DE1950__2 ! Declination B1950 (sign) integer*4 DE1950d_2 ! (deg) Declination B1950 (degrees) integer*4 DE1950m_2 ! (arcmin) Declination B1950 (minutes) integer*4 DE1950s_2 ! (arcsec) Declination B1950 (seconds) *Note (1): this flag is blank if the object has been detected as a * radio source, and is '*' if not. *Note (2): this flag related to the position takes the values: * 'O' for an Optical position with an accuracy better than 1arcsec * 'R' for a Radio position with an accuracy better than 1arcsec * 'A' for an approximative position *Note (3): the classification of the object is * S1 : Seyfert 1 spectrum * S1h: broad polarized Balmer lines detected * S1i: broad Paschen lines observed in the infrared * S1n: narrow-line Seyfert 1 * S1.0, S1.2, S1.5, S1.8, S1.9: intermediate Seyfert galaxies * S2 : Seyfert 2 spectrum * S3 : Seyfert 3 or liner * S3b: Seyfert 3 or liner with broad Balmer lines * S3h: Seyfert 3 or liner with broad polarized Balmer lines detected * S : unclassified Seyfert * S? : possibly a Seyfert * H2 : nuclear HII region * HP : high optical polarization (>3%) * BL : confirmed BL Lac object *Note (4): n_z may indicate a lower limit on z, or * '*', if the redshift is measured by slitless spectroscopy. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Rejected quasars integer*4 nr__3 parameter (nr__3=71) ! Number of records character*130 ar__3 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_3 ! (deg) Right Ascension J2000 real*8 DEdeg_3 ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*1 notRadio_3 ! [*] '*' if not detected in radio (1) character*17 Name_3 ! Most common name of the object integer*4 RAh_3 ! (h) Right Ascension J2000 (hours) integer*4 RAm_3 ! (min) Right Ascension J2000 (minutes) real*4 RAs_3 ! (s) Right Ascension J2000 (seconds) character*1 DE__3 ! Declination J2000 (sign) integer*4 DEd_3 ! (deg) Declination J2000 (degrees) integer*4 DEm_3 ! (arcmin) Declination J2000 (minutes) integer*4 DEs_3 ! (arcsec) Declination J2000 (seconds) character*1 n_RAh_3 ! [OAR] Approximative/Optical/Radio position character*1 n_z ! [*] '*' for z measured by slitless * spectroscopy real*4 z_3 ! ? Original redshift character*2 Sp_3 ! [QG?BL ] Original classification character*1 n_Vmag_3 ! [*RIO] Photographic(*), red(R), infra-red(I) * or photographic O- or J- plates(O) real*4 Vmag_3 ! (mag) ? V (or photographic, see n_Vmag) magnitude real*4 B_V_3 ! (mag) ? colour index real*4 U_B_3 ! (mag) ? colour index integer*4 FC_3 ! [1,2173]? Reference of Finding Chart integer*4 r_Vmag_3 ! [1,2173]? Reference of the Photometry integer*4 r_Sp ! [1,2173]? Reference of Sp character*2 Sp2 ! [QG*? ] New classification integer*4 r_Sp2 ! [1,2173]? Reference of New classification integer*4 RA1950h_3 ! (h) Right Ascension B1950 (hours) integer*4 RA1950m_3 ! (min) Right Ascension B1950 (minutes) real*4 RA1950s_3 ! (s) Right Ascension B1950 (seconds) character*1 DE1950__3 ! Declination B1950 (sign) integer*4 DE1950d_3 ! (deg) Declination B1950 (degrees) integer*4 DE1950m_3 ! (arcmin) Declination B1950 (minutes) integer*4 DE1950s_3 ! (arcsec) Declination B1950 (seconds) *Note (1): this flag is blank if the object has been detected as a * radio source, and is '*' if not. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References to tables 1 to 4 integer*4 nr__4 parameter (nr__4=4468) ! Number of records character*90 ar__4 ! Full-size record integer*4 RefCode ! [1,2173]+= Reference Number character*85 Text ! *Text of reference (may be on several lines); * the last line is the "bibcode" *Note on Text: the last line of a reference is the "bibcode", a 19-digit code * referencing the reference used by SIMBAD, NED, and ADS. * When the text cannot fit on a single line, continuation lines are * used and the RefCode is repeated, C============================================================================= C Loading file 'table1.dat' ! Quasars (brighter than absolute magnitude -23) C Format for file interpretation 1 format( + 1X,A1,A17,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A1,2X, + F6.3,1X,I4,2X,F5.2,1X,I4,1X,A1,F5.3,1X,A4,1X,A1,F5.2,1X,F5.2, + 1X,F5.2,1X,F5.1,1X,I4,1X,I4,1X,I4,2X,I2,1X,I2,1X,F4.1,1X,A1, + I2,1X,I2,1X,I2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,23760 read(1,'(A142)')ar__ read(ar__,1) + notRadio,Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,n_RAh,F6cm,r_F6cm, + F11cm,r_F11cm,l_z,z,Sp,n_Vmag,Vmag,B_V,U_B,Mabs,FC,r_Vmag,r_z, + RA1950h,RA1950m,RA1950s,DE1950_,DE1950d,DE1950m,DE1950s if(ar__(46:51) .EQ. '') F6cm = rNULL__ if(ar__(53:56) .EQ. '') r_F6cm = iNULL__ if(ar__(59:63) .EQ. '') F11cm = rNULL__ if(ar__(65:68) .EQ. '') r_F11cm = iNULL__ if(ar__(71:75) .EQ. '') z = rNULL__ if(ar__(83:87) .EQ. '') Vmag = rNULL__ if(ar__(89:93) .EQ. '') B_V = rNULL__ if(ar__(95:99) .EQ. '') U_B = rNULL__ if(ar__(101:105) .EQ. '') Mabs = rNULL__ if(ar__(107:110) .EQ. '') FC = iNULL__ if(ar__(112:115) .EQ. '') r_Vmag = iNULL__ if(ar__(117:120) .EQ. '') r_z = 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,1) + notRadio,Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,n_RAh,F6cm,r_F6cm, + F11cm,r_F11cm,l_z,z,Sp,n_Vmag,Vmag,B_V,U_B,Mabs,FC,r_Vmag,r_z, + RA1950h,RA1950m,RA1950s,DE1950_,DE1950d,DE1950m,DE1950s write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Confirmed, probable or possible BL Lac objects C Format for file interpretation 2 format( + 1X,A1,A17,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A1,2X, + F6.3,1X,I4,2X,F5.2,1X,I4,1X,A1,F5.3,1X,A4,1X,A1,F5.2,1X,F5.2, + 1X,F5.2,1X,F5.1,1X,I4,1X,I4,1X,I4,2X,I2,1X,I2,1X,F4.1,1X,A1, + I2,1X,I2,1X,I2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,608 read(1,'(A142)')ar__1 read(ar__1,2) + notRadio_1,Name_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1, + n_RAh_1,F6cm_1,r_F6cm_1,F11cm_1,r_F11cm_1,l_z_1,z_1,Sp_1, + n_Vmag_1,Vmag_1,B_V_1,U_B_1,Mabs_1,FC_1,r_Vmag_1,r_z_1, + RA1950h_1,RA1950m_1,RA1950s_1,DE1950__1,DE1950d_1,DE1950m_1, + DE1950s_1 if(ar__1(46:51) .EQ. '') F6cm_1 = rNULL__ if(ar__1(53:56) .EQ. '') r_F6cm_1 = iNULL__ if(ar__1(59:63) .EQ. '') F11cm_1 = rNULL__ if(ar__1(65:68) .EQ. '') r_F11cm_1 = iNULL__ if(ar__1(71:75) .EQ. '') z_1 = rNULL__ if(ar__1(83:87) .EQ. '') Vmag_1 = rNULL__ if(ar__1(89:93) .EQ. '') B_V_1 = rNULL__ if(ar__1(95:99) .EQ. '') U_B_1 = rNULL__ if(ar__1(101:105) .EQ. '') Mabs_1 = rNULL__ if(ar__1(107:110) .EQ. '') FC_1 = iNULL__ if(ar__1(112:115) .EQ. '') r_Vmag_1 = iNULL__ if(ar__1(117:120) .EQ. '') r_z_1 = iNULL__ 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,2) + notRadio_1,Name_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1, + n_RAh_1,F6cm_1,r_F6cm_1,F11cm_1,r_F11cm_1,l_z_1,z_1,Sp_1, + n_Vmag_1,Vmag_1,B_V_1,U_B_1,Mabs_1,FC_1,r_Vmag_1,r_z_1, + RA1950h_1,RA1950m_1,RA1950s_1,DE1950__1,DE1950d_1,DE1950m_1, + DE1950s_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 'table3.dat' ! Active galaxies (fainter than -23) C Format for file interpretation 3 format( + 1X,A1,A17,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A1,2X, + F6.3,1X,I4,2X,F5.2,1X,I4,1X,A1,F5.3,1X,A4,1X,A1,F5.2,1X,F5.2, + 1X,F5.2,1X,F5.1,1X,I4,1X,I4,1X,I4,2X,I2,1X,I2,1X,F4.1,1X,A1, + I2,1X,I2,1X,I2) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,5751 read(1,'(A142)')ar__2 read(ar__2,3) + notRadio_2,Name_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2, + n_RAh_2,F6cm_2,r_F6cm_2,F11cm_2,r_F11cm_2,l_z_2,z_2,Sp_2, + n_Vmag_2,Vmag_2,B_V_2,U_B_2,Mabs_2,FC_2,r_Vmag_2,r_z_2, + RA1950h_2,RA1950m_2,RA1950s_2,DE1950__2,DE1950d_2,DE1950m_2, + DE1950s_2 if(ar__2(46:51) .EQ. '') F6cm_2 = rNULL__ if(ar__2(53:56) .EQ. '') r_F6cm_2 = iNULL__ if(ar__2(59:63) .EQ. '') F11cm_2 = rNULL__ if(ar__2(65:68) .EQ. '') r_F11cm_2 = iNULL__ if(ar__2(71:75) .EQ. '') z_2 = rNULL__ if(ar__2(83:87) .EQ. '') Vmag_2 = rNULL__ if(ar__2(89:93) .EQ. '') B_V_2 = rNULL__ if(ar__2(95:99) .EQ. '') U_B_2 = rNULL__ if(ar__2(101:105) .EQ. '') Mabs_2 = rNULL__ if(ar__2(107:110) .EQ. '') FC_2 = iNULL__ if(ar__2(112:115) .EQ. '') r_Vmag_2 = iNULL__ if(ar__2(117:120) .EQ. '') r_z_2 = iNULL__ 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,3) + notRadio_2,Name_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2, + n_RAh_2,F6cm_2,r_F6cm_2,F11cm_2,r_F11cm_2,l_z_2,z_2,Sp_2, + n_Vmag_2,Vmag_2,B_V_2,U_B_2,Mabs_2,FC_2,r_Vmag_2,r_z_2, + RA1950h_2,RA1950m_2,RA1950s_2,DE1950__2,DE1950d_2,DE1950m_2, + DE1950s_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 'table4.dat' ! Rejected quasars C Format for file interpretation 4 format( + 1X,A1,A17,4X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A1,4X, + A1,F5.3,2X,A2,2X,A1,F5.2,2X,F5.2,2X,F5.2,2X,I4,1X,I4,1X,I4,3X, + A2,2X,I4,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,71 read(1,'(A130)')ar__3 read(ar__3,4) + notRadio_3,Name_3,RAh_3,RAm_3,RAs_3,DE__3,DEd_3,DEm_3,DEs_3, + n_RAh_3,n_z,z_3,Sp_3,n_Vmag_3,Vmag_3,B_V_3,U_B_3,FC_3, + r_Vmag_3,r_Sp,Sp2,r_Sp2,RA1950h_3,RA1950m_3,RA1950s_3, + DE1950__3,DE1950d_3,DE1950m_3,DE1950s_3 if(ar__3(51:55) .EQ. '') z_3 = rNULL__ if(ar__3(63:67) .EQ. '') Vmag_3 = rNULL__ if(ar__3(70:74) .EQ. '') B_V_3 = rNULL__ if(ar__3(77:81) .EQ. '') U_B_3 = rNULL__ if(ar__3(84:87) .EQ. '') FC_3 = iNULL__ if(ar__3(89:92) .EQ. '') r_Vmag_3 = iNULL__ if(ar__3(94:97) .EQ. '') r_Sp = iNULL__ if(ar__3(105:108) .EQ. '') r_Sp2 = iNULL__ 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,4) + notRadio_3,Name_3,RAh_3,RAm_3,RAs_3,DE__3,DEd_3,DEm_3,DEs_3, + n_RAh_3,n_z,z_3,Sp_3,n_Vmag_3,Vmag_3,B_V_3,U_B_3,FC_3, + r_Vmag_3,r_Sp,Sp2,r_Sp2,RA1950h_3,RA1950m_3,RA1950s_3, + DE1950__3,DE1950d_3,DE1950m_3,DE1950s_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 'refs.dat' ! References to tables 1 to 4 C Format for file interpretation 5 format(I4,1X,A85) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,4468 read(1,'(A90)')ar__4 read(ar__4,5)RefCode,Text c ..............Just test output........... write(6,5)RefCode,Text c .......End.of.Just test output........... end do close(1) C============================================================================= stop end