Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/520/A47 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-17 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/A+A/520/A47 Blazars in the Swift-BAT hard X-ray sky (Maselli+, 2010) *================================================================================ *The blazar content of the Swift-BAT hard X-ray sky. * Maselli A., Cusumano G., Massaro E., La Parola V., Segreto A., Sbarufatti B. * <Astron. Astrophys. 520, A47 (2010)> * =2010A&A...520A..47M C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Blazars detected at sigma>3 integer*4 nr__ parameter (nr__=121) ! Number of records character*90 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*13 Name (nr__) ! Source name (1) character*21 OName (nr__) ! Other designation real*8 RAdeg (nr__) ! (deg) Right ascension (J2000) real*8 DEdeg (nr__) ! (deg) Declination (J2000) real*4 z (nr__) ! ? Redshift character*1 u_z (nr__) ! [?] Comment (uncertainty) on redshift real*4 FX (nr__) ! (fW/m2) ? X-ray flux (in 10^-12^erg/cm2/s) (2) character*1 n_FX (nr__) ! [*] Comment on X-ray flux (2) real*4 X_R (nr__) ! ? Ratio between X-ray and radio emission (3) real*4 Sigma (nr__) ! Significance in the 39-month 15-150keV map character*1 T (nr__) ! [y] Included in the list of Tueller et al. * (2010, Cat. J/ApJS/186/378) character*1 A (nr__) ! [y] Included in the list of Ajello et al. * (2009ApJ...699..603A) character*1 C (nr__) ! [y] Included in the list of Cusumano et al. * (2010, Cat. J/A+A/510/A48) *Note (1): The classifications are: * BZB = BL Lac objects, used for AGNs with a featureless optical * spectrum or only with absorption lines of galaxian origin * and weak and narrow emission lines * BZQ = flat-spectrum radio quasars, with an optical spectrum showing * broad emission lines and dominant blazar characteristics * BZU = blazars of uncertain type, adopted for sources with peculiar * characteristics but also showing blazar activity: for * instance, occasional presence/absence of broad spectral lines * or features, transition objects between a radio galaxy and a * BL Lac, galaxies hosting a low luminosity blazar nucleus, etc. *Note (2): X-ray flux in the 0.1-2.4keV energy band, or in the 0.5-2.0keV * band in the case of a recent Swift-XRT observation (marked with * ). *Note (3): The adimensional factor PHI_XR represents the ratio between the * X-ray and the radio emission; the formula is given in the text. This * ratio has proved to be a reliable index to determine the LBL or HBL * classification of BL Lac objects (Giommi et al., 1999MNRAS.310..465G) * and the value phiXR=1 can be considered a lower limit for HBL sources C============================================================================= C Loading file 'table2.dat' ! Blazars detected at sigma>3 C Format for file interpretation 1 format( + A13,1X,A21,3X,F7.3,1X,F7.3,1X,F5.3,A1,1X,F6.2,A1,1X,E8.4,1X, + F6.2,1X,A1,1X,A1,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,121 read(1,'(A90)')ar__ read(ar__,1) + Name(i__),OName(i__),RAdeg(i__),DEdeg(i__),z(i__),u_z(i__), + FX(i__),n_FX(i__),X_R(i__),Sigma(i__),T(i__),A(i__),C(i__) if(ar__(55:59) .EQ. '') z(i__) = rNULL__ if(ar__(62:67) .EQ. '') FX(i__) = rNULL__ if(ar__(70:77) .EQ. '') X_R(i__) = rNULL__ c ..............Just test output........... write(6,1) + Name(i__),OName(i__),RAdeg(i__),DEdeg(i__),z(i__),u_z(i__), + FX(i__),n_FX(i__),X_R(i__),Sigma(i__),T(i__),A(i__),C(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end