Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/872/21 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-Apr-10
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/872/21 SDSS RM project: <10day CIV BAL variability (Hemler+, 2019)
*================================================================================
*The Sloan Digital Sky Survey Reverberation Mapping project: systematic
*investigations of short-timescale CIV broad absorption line variability.
* Hemler Z.S., Grier C.J., Brandt W.N., Hall P.B., Horne K., Shen Y.,
* Trump J.R., Schneider D.P., Vivek M., Bizyaev D., Oravetz A., Oravetz D.,
* Pan K.
* <Astrophys. J., 872, 21 (2019)>
* =2019ApJ...872...21H
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Final quasar sample information
integer*4 nr__
parameter (nr__=27) ! Number of records
character*78 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*19 SDSS (nr__) ! SDSS DR10 designation (JHHMMSS.ss+DDMMSS.s)
integer*4 RMID (nr__) ! [39/786] Reverberation Mapping (RM) ID
* (from Shen+, 2015, J/ApJS/216/4)
real*8 RAdeg (nr__) ! (deg) [211.47/216.1] Right Ascension (J2000) (1)
real*8 DEdeg (nr__) ! (deg) [52/54.5] Declination (J2000) (1)
real*4 z (nr__) ! [1.62/3.72] Redshift (Shen+ 2019ApJS..241...34S)
real*4 imag (nr__) ! (mag) [16.4/20.4] SDSS i-band (AB) magnitude,
* SDSS DR10 (1)
real*4 SN1700 (nr__) ! [6/52] Median signal-to-noise (2)
integer*4 Nep (nr__) ! [3/69] Number of epochs
real*4 dtRest (nr__) ! (d) [2/13.8] Median rest-frame time separation
* between observations
character*1 cFit (nr__) ! Continuum Fit (3)
character*4 eFit (nr__) ! Emission-Line Fit (4)
*Note (1): J2000 Position and magnitude measurements were obtained
* from SDSS Data Release 10 (Ahn+ 2014ApJS..211...17A). The
* i-magnitudes provided are point-spread function magnitudes that have not
* been corrected for Galactic extinction.
*Note (2): The median SN of the pixels in the 1650-1750{AA} region in the quasar
* rest frame.
*Note (3): Continuum Fit explanations as follows:
* R = a reddened power law continuum fit was used for this quasar;
* U = an unreddened power law was used.
*Note (4): Emission-Line explanations as follows:
* V = A Voigt profile to was used to represent the CIV emission line;
* DG = A double-Gaussian profile was used;
* GH = A Gauss-Hermite profile was used;
* None = Unable to obtain any acceptable emission-line fit, so the
* continuum-only fit was adopted.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! CIV BAL measurements from 2014 mean spectra
integer*4 nr__1
parameter (nr__1=37) ! Number of records
character*50 ar__1 ! Full-size record
integer*4 RMID_1 (nr__1) ! [39/786] Reverberation Mapping (RM) ID
* (from Shen+, 2015, J/ApJS/216/4)
character*1 m_RMID (nr__1) ! [AB] BAL ID
integer*4 Vmax (nr__1) ! (km/s) [2464/29148] BAL velocity bounds, max
integer*4 Vmin (nr__1) ! (km/s) [-338/21819] BAL velocity bounds, min
integer*4 Vcent (nr__1) ! (km/s) [1371/23559] Absorbed-flux weighted centroid
* velocity
real*4 Depth (nr__1) ! [0.12/0.75] Normalized mean fractional depth
real*4 EW (nr__1) ! (0.1nm) [2.2/88.5] CIV equivalent width;
* in Angstrom units
real*4 e_EW (nr__1) ! (0.1nm) [0.1/1.3] Uncertainty in EW
character*7 FA14 (nr__1) ! BAL designation (1)
character*1 Pv (nr__1) ! Flag on PV or mini-BAL (2)
*Note (1): BAL designation according to whether or not BALs or mini-BALs are
* present for SiIV and AlIII, as defined by Filiz Ak+ (2014, J/ApJ/791/8);
* Classification as follows:
* CIV_00_ = neither SiIV{lambda}{lambda}1393,1403 nor
* AlIII{lambda}{lambda}1855,1863 is present at velocities
* corresponding to an identified CIV BAL (15 occurrences);
* CIV_S0_ = a SiIV BAL is present but AlIII is not detected (13 occurrences);
* CIV_SA_ = both SiIV and AlIII BALs are present at corresponding velocities
* (6 occurrences);
* CIV_N0_ = the SiIV line is not completely covered by our spectrum at those
* velocities or we are unable to otherwise determine whether or not it
* is present, so we are unsure of the designation.
* See Section 4.3.3 for further explanations.
*Note (2): This column indicates whether or not there is a suspected
* corresponding PV BAL or mini-BAL (see Section 4.3.4). Code as follows:
* Y = PV{lambda}{lambda}1112,1118 is suspected to be present (6 occurrences);
* N = not suspected.
* Entries with no data indicate that the PV region is not covered by the
* SDSS spectra.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! CIV BAL measurements per epoch
integer*4 nr__2
parameter (nr__2=1587) ! Number of records
character*38 ar__2 ! Full-size record
integer*4 RMID_2 (nr__2) ! [39/786] Reverberation Mapping (RM) ID
* (from Shen+, 2015, J/ApJS/216/4)
character*1 m_RMID_1 (nr__2) ! [AB] BAL ID
real*8 MJD (nr__2) ! (d) Modified Julian Date (JD-2400000.5)
integer*4 Vcent_1 (nr__2) ! (km/s) [1320/33680] Absorbed-flux weighted centroid
* velocity
real*4 Depth_1 (nr__2) ! [-0.02/0.8] Normalized mean fractional depth
real*4 EW_1 (nr__2) ! (0.1nm) [-0.2/94.3] CIV equivalent width;
* in Angstrom units
real*4 e_EW_1 (nr__2) ! (0.1nm) [0/1.4] Uncertainty in EW; in Angstrom units
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Short-timescale variability among epoch pairs
integer*4 nr__3
parameter (nr__3=54) ! Number of records
character*93 ar__3 ! Full-size record
integer*4 RMID_3 (nr__3) ! [128/786] Reverberation Mapping (RM) ID
* (from Shen+, 2015, J/ApJS/216/4)
character*1 m_RMID_2 (nr__3) ! [AB] BAL ID
real*8 MJD1 (nr__3) ! (d) First Epoch, Modified Julian Date
real*8 MJD2 (nr__3) ! (d) Second Epoch, Modified Julian Date
real*4 dtRest_1 (nr__3) ! (d) [0.5/8.3] Rest-frame time separation
* between first and second epochs
real*4 EW1 (nr__3) ! (0.1nm) [0.6/47.1] CIV equivalent width at MJD1;
* in Angstrom units
real*4 e_EW1 (nr__3) ! (0.1nm) [0/0.7] Uncertainty in EW1
real*4 EW2 (nr__3) ! (0.1nm) [0.6/47.1] CIV equivalent width at MJD2;
* in Angstrom units
real*4 e_EW2 (nr__3) ! (0.1nm) [0/0.7] Uncertainty in EW2
real*4 dEW (nr__3) ! (0.1nm) [-5.8/6.4] Change in equivalent width;
* in Angstrom units
real*4 e_dEW (nr__3) ! (0.1nm) [0.1/1] Uncertainty in dEW
real*4 sigdEW (nr__3) ! [-22.4/10.1] Significance of the change in EW
real*4 GB (nr__3) ! [4.1/105.3] G value, BAL region (1)
real*4 GC (nr__3) ! [-1.4/1.9] G value, continuum region (1)
real*4 fchip1 (nr__3) ! (%) [0/0.93] fraction of pixels, {chi}>1
real*4 fchim1 (nr__3) ! (%) [0/0.86] fraction of pixels, {chi}{<}-1
integer*4 dVco (nr__3) ! (km/s) [290/7250] Coordinated velocity (2)
*Note (1): Following Equation (3), G=({chi}^2^-(N-1))/(2(N-1)^0.5^)
* where the {chi}^2^ quantity is the square of the difference between fluxes
* at two spectral epochs divided by their combined uncertainty, summed
* over the N pixels within a specified region. See Section 3.3.
*Note (2): Largest velocity width with "coordinated" variability across an
* individual trough. See Section 4.3.1.
C=============================================================================
C Loading file 'table2.dat' ! Final quasar sample information
C Format for file interpretation
1 format(
+ A19,4X,I3,1X,F9.5,1X,F8.5,1X,F4.2,1X,F5.2,1X,F5.2,1X,I2,1X,
+ F5.2,1X,A1,1X,A4)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,27
read(1,'(A78)')ar__
read(ar__,1)
+ SDSS(i__),RMID(i__),RAdeg(i__),DEdeg(i__),z(i__),imag(i__),
+ SN1700(i__),Nep(i__),dtRest(i__),cFit(i__),eFit(i__)
c ..............Just test output...........
write(6,1)
+ SDSS(i__),RMID(i__),RAdeg(i__),DEdeg(i__),z(i__),imag(i__),
+ SN1700(i__),Nep(i__),dtRest(i__),cFit(i__),eFit(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! CIV BAL measurements from 2014 mean spectra
C Format for file interpretation
2 format(
+ 3X,I3,1X,A1,1X,I5,1X,I5,1X,I5,1X,F4.2,1X,F4.1,1X,F3.1,1X,A7,
+ 1X,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,37
read(1,'(A50)')ar__1
read(ar__1,2)
+ RMID_1(i__),m_RMID(i__),Vmax(i__),Vmin(i__),Vcent(i__),
+ Depth(i__),EW(i__),e_EW(i__),FA14(i__),Pv(i__)
c ..............Just test output...........
write(6,2)
+ RMID_1(i__),m_RMID(i__),Vmax(i__),Vmin(i__),Vcent(i__),
+ Depth(i__),EW(i__),e_EW(i__),FA14(i__),Pv(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! CIV BAL measurements per epoch
C Format for file interpretation
3 format(3X,I3,1X,A1,1X,F8.2,1X,I5,1X,F5.2,1X,F4.1,1X,F3.1)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,1587
read(1,'(A38)')ar__2
read(ar__2,3)
+ RMID_2(i__),m_RMID_1(i__),MJD(i__),Vcent_1(i__),Depth_1(i__),
+ EW_1(i__),e_EW_1(i__)
c ..............Just test output...........
write(6,3)
+ RMID_2(i__),m_RMID_1(i__),MJD(i__),Vcent_1(i__),Depth_1(i__),
+ EW_1(i__),e_EW_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Short-timescale variability among epoch pairs
C Format for file interpretation
4 format(
+ 3X,I3,1X,A1,1X,F8.2,1X,F8.2,1X,F4.2,1X,F4.1,1X,F3.1,1X,F4.1,
+ 1X,F3.1,1X,F4.1,1X,F3.1,1X,F6.2,1X,F6.2,1X,F5.2,1X,F4.2,1X,
+ F4.2,1X,I4)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,54
read(1,'(A93)')ar__3
read(ar__3,4)
+ RMID_3(i__),m_RMID_2(i__),MJD1(i__),MJD2(i__),dtRest_1(i__),
+ EW1(i__),e_EW1(i__),EW2(i__),e_EW2(i__),dEW(i__),e_dEW(i__),
+ sigdEW(i__),GB(i__),GC(i__),fchip1(i__),fchim1(i__),dVco(i__)
c ..............Just test output...........
write(6,4)
+ RMID_3(i__),m_RMID_2(i__),MJD1(i__),MJD2(i__),dtRest_1(i__),
+ EW1(i__),e_EW1(i__),EW2(i__),e_EW2(i__),dEW(i__),e_dEW(i__),
+ sigdEW(i__),GB(i__),GC(i__),fchip1(i__),fchim1(i__),dVco(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end