Conversion of standardized ReadMe file for
file /./ftp/cats/IX/16 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 2026-Oct-14
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. IX/16 Third Ariel X-Ray Catalogue (3A) (Warwick+ 1981)
*================================================================================
*The Ariel V (3A) catalogue of X-ray sources.
*I. Sources at low galactic latitude (|b|<10)
*II. Sources at high galactic latitude (|b|>10)
* Warwick R.S., Marshall N., Fraser G.W., Watson M.G., Lawrence A.,
* Page C.G., Pounds K.A., Ricketts M.J., Sims M.R., Smith A.;
* McHardy I.M., Lawrence A., Pye J.J., Pounds K.A.
* <Mon. Not. R. Astron. Soc. 197, 865 (1981); 197, 893 (1981)>
* =1981MNRAS.197..865W
* =1981MNRAS.197..893M
* =2015yCat.9016....0W
* =1991yCat.7058....0W
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'lowlat.dat' ! Low galactic latitude sources (|b|<10{deg})
(table 2 in Warwick et al. 1981MNRAS.197..865W)
integer*4 nr__
parameter (nr__=109) ! Number of records
character*256 ar__ ! Full-size record
C B1950 position composed of: RAdeg DEdeg
character*8 v3A (nr__) ! Ariel Name (HHMM+DDd)
character*32 Names (nr__) ! Alternative Names (1)
real*4 RAdeg (nr__) ! (deg) Right ascension (B1950)
real*4 DEdeg (nr__) ! (deg) Declination (B1950)
real*4 RA1_deg (nr__) ! (deg) ? Error Box Corner #1: R.A. (2)
real*4 DE1_deg (nr__) ! (deg) ? Error Box Corner #1: Dec. (2)
real*4 RA2_deg (nr__) ! (deg) ? Error Box Corner #2: R.A. (2)
real*4 DE2_deg (nr__) ! (deg) ? Error Box Corner #2: Dec. (2)
real*4 RA3_deg (nr__) ! (deg) ? Error Box Corner #3: R.A. (2)
real*4 DE3_deg (nr__) ! (deg) ? Error Box Corner #3: Dec. (2)
real*4 RA4_deg (nr__) ! (deg) ? Error Box Corner #4: R.A. (2)
real*4 DE4_deg (nr__) ! (deg) ? Error Box Corner #4: Dec. (2)
real*4 Area (nr__) ! (deg+2) [0/1.5] Area within the 90% confidence contour
character*5 Cpos (nr__) ! Position Code (3)
real*8 Fav (nr__) ! (ct/s) [0.1/4768]?=-99.99 Average Ariel Flux (2-18keV)
real*8 e_Fav (nr__) ! (ct/s) [0.04/21]?=-99.99 Error on Average Flux
real*8 Fmin (nr__) ! (ct/s) [0/3584]?=-99.99 Minimum Flux
real*8 e_Fmin (nr__) ! (ct/s) [0.2/114]?=-99.99 Error on Minimum Flux
real*8 Fmax (nr__) ! (ct/s) [1/50000]?=-99.99 Maximum Flux
real*8 e_Fmax (nr__) ! (ct/s) [0.1/210]?=-99.99 Error on Maximum Flux
character*1 fV (nr__) ! [SIT] Variability Code (4)
character*20 Ident (nr__) ! Identification of the source (5)
character*75 Info (nr__) ! Other Information (6)
*Note (1): Up to three other X-ray names are given, separated by a comma (,).
* Common X-ray names can be found in 4U (Forman et al., 1978ApJS...38..357F)
* and Bradt, Doxsey & Jernigan (1979xras.proc....3B). The designations
* are generally derived from observations by the following satellites:
* A = Ariel V; both earlier SSI (Sky Skurvey Instrument) and
* rotation collimator observations.
* 2A = Ariel V; see Cooke et al. 1978 (IX/2)
* H = HEAO-1; A2 and A3 experiments (IX/7)
* 1E = Einstein observatory
* MX = OSO-7 or SAS-3; see Markert et al. 1976ApJ...208L.115M
* 4U = Uhuru; see Forman et al. 1978ApJS...38..357F (IX/4)
*Note (2): the four corners of a rectangle enclosing an elliptical
* approximation to the 90% contour for the source location.
*Note (3):
* The position code indicates in what manner the position of the X-ray
* source was obtained. Thus, the source positions are not limited to
* those derived from SSI (Sky Skurvey Instrument) observations.
*
* The position codes are as follows:
* 3A = Position based on SSI observations.
* X-RAY = Position obtained from other published X-ray observations.
* OPT = Position obtained from published observations of the optical
* counterpart of the X-ray source.
* RAD = Position obtained from published observations of the radio
* counterpart of the X-ray source.
*
* References to these published source positions may be found in Bradt
* et al. (1979ApJ...230L...5B) unless a reference identification
* enclosed in brackets follows a "POSN" flag in the "Info" column;
* these references may be found in the "refs.dat" file.
*Note (4): Flux variability codes are assigned as follows:
* S = Steady.
* The average flux is the weighted mean flux from all observations.
* The minimum and maximum flux fields contain no data.
* I = Irregular.
* The average, minimum, and maximum flux values are listed. These
* are sources which the SSI determined to be periodic (e.g. HER X-1).
* This class also includes those sources "seen to exhibit flaring where
* emission was also observed by the SSI outside of the flares" and
* "those with a formal probability <1% that the X-ray light curve
* could result from steady X-ray emission."
* T = Transient.
* Only the maximum flux is listed.
* This class includes sources that would generally not be detected by
* SSI observations because of their short duration (<=50days).
* Such outbursts often exhibit dramatic flux increases, some of which
* are recurrent (e.g. A 0535+26). For a transient source, the SSI did
* not detect any X-ray emission except for that which was a result of
* the outburst.
*Note (5): The suggested identification of the X-ray source.
* The method by which these were obtained in the high latitude survey
* is described in section 5 of McHardy et al. (1981MNRAS.197..893M).
* Otherwise, references to identifications taken from previously
* published results are located in the reference file, referenced
* in brackets in "Info" column.
*
* The high latitude survey file contains a "star code" within this
* field which expresses confidence in the identification (the
* supporting evidence may be referenced in the "Info" column):
* **** = Almost certain.
* *** = Very likely: the source is contained within a
* "very small (dimensions <=1arcmin) error box".
* ** = Probable: the source is contained within or very close to a
* "small (<=0.1deg^2^) 3A error box or inside a larger 3A error box
* and has supporting evidence."
* * = Possible: the source identification is a result of positional
* coincidence only.
*Note (6): the "Info" field mainly contains additional information which is
* often followed by a reference identification in brackets. References
* for the identification and position code fields are listed in a
* similar fashion. The latter is always indicated by a "POSN" flag.
*
* Also listed is any periodic behaviour in the X-ray emission from the
* source. Note that "Seyfert" indicates a "Seyfert type I" galaxy,
* and "HEXELG" refers to any other type of high extinction emission line
* galaxy. It is probable that almost all of the latter are, in fact,
* "Seyfert type II" galaxies.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'hilat.dat' ! High galactic latitude sources (|b|>10{deg})
(table 1 in McHardy et al. 1981MNRAS.197..893M)
integer*4 nr__1
parameter (nr__1=142) ! Number of records
character*256 ar__1 ! Full-size record
C B1950 position composed of: RAdeg DEdeg
character*8 v3A_1 (nr__1) ! Ariel Name (HHMM+DDd)
character*32 Names_1 (nr__1) ! Alternative Names (1)
real*4 RAdeg_1 (nr__1) ! (deg) Right ascension (B1950)
real*4 DEdeg_1 (nr__1) ! (deg) Declination (B1950)
real*4 RA1_deg_1 (nr__1) ! (deg) ? Error Box Corner #1: R.A. (2)
real*4 DE1_deg_1 (nr__1) ! (deg) ? Error Box Corner #1: Dec. (2)
real*4 RA2_deg_1 (nr__1) ! (deg) ? Error Box Corner #2: R.A. (2)
real*4 DE2_deg_1 (nr__1) ! (deg) ? Error Box Corner #2: Dec. (2)
real*4 RA3_deg_1 (nr__1) ! (deg) ? Error Box Corner #3: R.A. (2)
real*4 DE3_deg_1 (nr__1) ! (deg) ? Error Box Corner #3: Dec. (2)
real*4 RA4_deg_1 (nr__1) ! (deg) ? Error Box Corner #4: R.A. (2)
real*4 DE4_deg_1 (nr__1) ! (deg) ? Error Box Corner #4: Dec. (2)
real*4 Area_1 (nr__1) ! (deg+2) [0/1.5] Area within the 90% confidence contour
character*5 Cpos_1 (nr__1) ! Position Code (3)
real*8 Fav_1 (nr__1) ! (ct/s) [0.1/4768]?=-99.99 Average Ariel Flux (2-18keV)
real*8 e_Fav_1 (nr__1) ! (ct/s) [0.04/21]?=-99.99 Error on Average Flux
real*8 Fmin_1 (nr__1) ! (ct/s) [0/3584]?=-99.99 Minimum Flux
real*8 e_Fmin_1 (nr__1) ! (ct/s) [0.2/114]?=-99.99 Error on Minimum Flux
real*8 Fmax_1 (nr__1) ! (ct/s) [1/50000]?=-99.99 Maximum Flux
real*8 e_Fmax_1 (nr__1) ! (ct/s) [0.1/210]?=-99.99 Error on Maximum Flux
character*1 fV_1 (nr__1) ! [SIT] Variability Code (4)
character*20 Ident_1 (nr__1) ! Identification of the source (5)
character*75 Info_1 (nr__1) ! Other Information (6)
*Note (1): Up to three other X-ray names are given, separated by a comma (,).
* Common X-ray names can be found in 4U (Forman et al., 1978ApJS...38..357F)
* and Bradt, Doxsey & Jernigan (1979xras.proc....3B). The designations
* are generally derived from observations by the following satellites:
* A = Ariel V; both earlier SSI (Sky Skurvey Instrument) and
* rotation collimator observations.
* 2A = Ariel V; see Cooke et al. 1978 (IX/2)
* H = HEAO-1; A2 and A3 experiments (IX/7)
* 1E = Einstein observatory
* MX = OSO-7 or SAS-3; see Markert et al. 1976ApJ...208L.115M
* 4U = Uhuru; see Forman et al. 1978ApJS...38..357F (IX/4)
*Note (2): the four corners of a rectangle enclosing an elliptical
* approximation to the 90% contour for the source location.
*Note (3):
* The position code indicates in what manner the position of the X-ray
* source was obtained. Thus, the source positions are not limited to
* those derived from SSI (Sky Skurvey Instrument) observations.
*
* The position codes are as follows:
* 3A = Position based on SSI observations.
* X-RAY = Position obtained from other published X-ray observations.
* OPT = Position obtained from published observations of the optical
* counterpart of the X-ray source.
* RAD = Position obtained from published observations of the radio
* counterpart of the X-ray source.
*
* References to these published source positions may be found in Bradt
* et al. (1979ApJ...230L...5B) unless a reference identification
* enclosed in brackets follows a "POSN" flag in the "Info" column;
* these references may be found in the "refs.dat" file.
*Note (4): Flux variability codes are assigned as follows:
* S = Steady.
* The average flux is the weighted mean flux from all observations.
* The minimum and maximum flux fields contain no data.
* I = Irregular.
* The average, minimum, and maximum flux values are listed. These
* are sources which the SSI determined to be periodic (e.g. HER X-1).
* This class also includes those sources "seen to exhibit flaring where
* emission was also observed by the SSI outside of the flares" and
* "those with a formal probability <1% that the X-ray light curve
* could result from steady X-ray emission."
* T = Transient.
* Only the maximum flux is listed.
* This class includes sources that would generally not be detected by
* SSI observations because of their short duration (<=50days).
* Such outbursts often exhibit dramatic flux increases, some of which
* are recurrent (e.g. A 0535+26). For a transient source, the SSI did
* not detect any X-ray emission except for that which was a result of
* the outburst.
*Note (5): The suggested identification of the X-ray source.
* The method by which these were obtained in the high latitude survey
* is described in section 5 of McHardy et al. (1981MNRAS.197..893M).
* Otherwise, references to identifications taken from previously
* published results are located in the reference file, referenced
* in brackets in "Info" column.
*
* The high latitude survey file contains a "star code" within this
* field which expresses confidence in the identification (the
* supporting evidence may be referenced in the "Info" column):
* **** = Almost certain.
* *** = Very likely: the source is contained within a
* "very small (dimensions <=1arcmin) error box".
* ** = Probable: the source is contained within or very close to a
* "small (<=0.1deg^2^) 3A error box or inside a larger 3A error box
* and has supporting evidence."
* * = Possible: the source identification is a result of positional
* coincidence only.
*Note (6): the "Info" field mainly contains additional information which is
* often followed by a reference identification in brackets. References
* for the identification and position code fields are listed in a
* similar fashion. The latter is always indicated by a "POSN" flag.
*
* Also listed is any periodic behaviour in the X-ray emission from the
* source. Note that "Seyfert" indicates a "Seyfert type I" galaxy,
* and "HEXELG" refers to any other type of high extinction emission line
* galaxy. It is probable that almost all of the latter are, in fact,
* "Seyfert type II" galaxies.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! References
integer*4 nr__2
parameter (nr__2=198) ! Number of records
character*339 ar__2 ! Full-size record
character*3 Ref (nr__2) ! Reference code
character*19 Bibcode (nr__2) ! 19-digit bibcode (ADS, CDS and NED)
character*315 Text (nr__2) ! Text of reference (includes all authors
* and journal reference)
C=============================================================================
C Loading file 'lowlat.dat' ! Low galactic latitude sources (|b|<10{deg})
* (table 2 in Warwick et al. 1981MNRAS.197..865W)
C Format for file interpretation
1 format(
+ 2X,A8,A32,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,
+ F5.3,A5,F8.2,F8.2,F8.2,F8.2,F8.2,F8.2,A1,A20,A75)
C Effective file loading
open(unit=1,status='old',file=
+'lowlat.dat')
write(6,*) '....Loading file: lowlat.dat'
do i__=1,109
read(1,'(A256)')ar__
read(ar__,1)
+ v3A(i__),Names(i__),RAdeg(i__),DEdeg(i__),RA1_deg(i__),
+ DE1_deg(i__),RA2_deg(i__),DE2_deg(i__),RA3_deg(i__),
+ DE3_deg(i__),RA4_deg(i__),DE4_deg(i__),Area(i__),Cpos(i__),
+ Fav(i__),e_Fav(i__),Fmin(i__),e_Fmin(i__),Fmax(i__),
+ e_Fmax(i__),fV(i__),Ident(i__),Info(i__)
if(ar__(55:60) .EQ. '') RA1_deg(i__) = rNULL__
if(ar__(61:66) .EQ. '') DE1_deg(i__) = rNULL__
if(ar__(67:72) .EQ. '') RA2_deg(i__) = rNULL__
if(ar__(73:78) .EQ. '') DE2_deg(i__) = rNULL__
if(ar__(79:84) .EQ. '') RA3_deg(i__) = rNULL__
if(ar__(85:90) .EQ. '') DE3_deg(i__) = rNULL__
if(ar__(91:96) .EQ. '') RA4_deg(i__) = rNULL__
if(ar__(97:102) .EQ. '') DE4_deg(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ v3A(i__),Names(i__),RAdeg(i__),DEdeg(i__),RA1_deg(i__),
+ DE1_deg(i__),RA2_deg(i__),DE2_deg(i__),RA3_deg(i__),
+ DE3_deg(i__),RA4_deg(i__),DE4_deg(i__),Area(i__),Cpos(i__),
+ Fav(i__),e_Fav(i__),Fmin(i__),e_Fmin(i__),Fmax(i__),
+ e_Fmax(i__),fV(i__),Ident(i__),Info(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'hilat.dat' ! High galactic latitude sources (|b|>10{deg})
* (table 1 in McHardy et al. 1981MNRAS.197..893M)
C Format for file interpretation
2 format(
+ 2X,A8,A32,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,
+ F5.3,A5,F8.2,F8.2,F8.2,F8.2,F8.2,F8.2,A1,A20,A75)
C Effective file loading
open(unit=1,status='old',file=
+'hilat.dat')
write(6,*) '....Loading file: hilat.dat'
do i__=1,142
read(1,'(A256)')ar__1
read(ar__1,2)
+ v3A_1(i__),Names_1(i__),RAdeg_1(i__),DEdeg_1(i__),
+ RA1_deg_1(i__),DE1_deg_1(i__),RA2_deg_1(i__),DE2_deg_1(i__),
+ RA3_deg_1(i__),DE3_deg_1(i__),RA4_deg_1(i__),DE4_deg_1(i__),
+ Area_1(i__),Cpos_1(i__),Fav_1(i__),e_Fav_1(i__),Fmin_1(i__),
+ e_Fmin_1(i__),Fmax_1(i__),e_Fmax_1(i__),fV_1(i__),
+ Ident_1(i__),Info_1(i__)
if(ar__1(55:60) .EQ. '') RA1_deg_1(i__) = rNULL__
if(ar__1(61:66) .EQ. '') DE1_deg_1(i__) = rNULL__
if(ar__1(67:72) .EQ. '') RA2_deg_1(i__) = rNULL__
if(ar__1(73:78) .EQ. '') DE2_deg_1(i__) = rNULL__
if(ar__1(79:84) .EQ. '') RA3_deg_1(i__) = rNULL__
if(ar__1(85:90) .EQ. '') DE3_deg_1(i__) = rNULL__
if(ar__1(91:96) .EQ. '') RA4_deg_1(i__) = rNULL__
if(ar__1(97:102) .EQ. '') DE4_deg_1(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ v3A_1(i__),Names_1(i__),RAdeg_1(i__),DEdeg_1(i__),
+ RA1_deg_1(i__),DE1_deg_1(i__),RA2_deg_1(i__),DE2_deg_1(i__),
+ RA3_deg_1(i__),DE3_deg_1(i__),RA4_deg_1(i__),DE4_deg_1(i__),
+ Area_1(i__),Cpos_1(i__),Fav_1(i__),e_Fav_1(i__),Fmin_1(i__),
+ e_Fmin_1(i__),Fmax_1(i__),e_Fmax_1(i__),fV_1(i__),
+ Ident_1(i__),Info_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! References
C Format for file interpretation
3 format(A3,1X,A19,1X,A315)
C Effective file loading
open(unit=1,status='old',file=
+'refs.dat')
write(6,*) '....Loading file: refs.dat'
do i__=1,198
read(1,'(A339)')ar__2
read(ar__2,3)Ref(i__),Bibcode(i__),Text(i__)
c ..............Just test output...........
write(6,3)Ref(i__),Bibcode(i__),Text(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end