Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/470/3071 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 2026-Oct-12
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/MNRAS/470/3071 PAH features of AGN (Jensen+, 2017)
*================================================================================
*PAH features within few hundred parsecs of active galactic nuclei.
* Jensen J., Hoenig S.F., Rakshit S., Alonso-Herrero A., Asmus D., Gandhi P.,
* Kishimoto M., Smette A., Tristram K.R.W.
* <Mon. Not. R. Astron. Soc. 470, 3071 (2017)>
* =2017MNRAS.470.3071J (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Characteristics of our AGN mid-IR spectroscopic
sample
integer*4 nr__
parameter (nr__=28) ! Number of records
character*221 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*12 Object ! Object name
character*4 Type ! AGN type (1)
integer*4 RAh ! (h) Right ascension (J2000)
integer*4 RAm ! (min) Right ascension (J2000)
real*4 RAs ! (s) RAm Right ascension (J2000)
character*1 DE_ ! Declination sign (J2000)
integer*4 DEd ! (deg) Declination (J2000)
integer*4 DEm ! (arcmin) Declination (J2000)
integer*4 DEs ! (arcsec) Declination (J2000)
real*4 z ! Redshift from NED
real*4 DL ! (Mpc) Luminosity distance (2)
integer*4 Slit ! (deg) Slit orientation
real*4 logLX ! ([10-7W]) Absorption-corrected 2-10keV luminosity from
* Asmus et al. (2015MNRAS.454..766A)
real*4 e_logLX ! ([10-7W]) rms uncertainty on logLX
real*4 rsub ! (pc) Dust sublimation radius (3)
real*4 e_rsub ! (pc) rms uncertainty on rsub
integer*4 Ref ! [1/3] Reference (4)
character*3 PAH ! [yes/no ] PAH detected ?
character*11 sp0 ! Name of spectrum file extracted slit position
* r=0" in subdirectory sp
character*13 sp0_4 ! Name of spectrum file extracted slit position
* r=0.4" in subdirectory sp
character*13 sp0_8 ! Name of spectrum file extracted slit position
* r=0.8" in subdirectory sp
character*13 sp1_2 ! Name of spectrum file extracted slit position
* r=1.2" in subdirectory sp
character*13 sp1_6 ! Name of spectrum file extracted slit position
* r=1.6" in subdirectory sp
character*12 sp2 ! Name of spectrum file extracted slit position
* r=2" in subdirectory sp
character*13 sp2_4 ! Name of spectrum file extracted slit position
* r=2.4" in subdirectory sp
character*13 sp2_8 ! Name of spectrum file extracted slit position
* r=2.8" in subdirectory sp
character*13 sp3_2 ! Name of spectrum file extracted slit position
* r=3.2" in subdirectory sp
character*13 sp3_6 ! Name of spectrum file extracted slit position
* r=3.6" in subdirectory sp
*Note (1): from Veron-Cetty and Veron (2010A&A...518A..10V, Cat. VII/258)
*Note (2): luminosity distance based on CMB reference frame redshifts from NED
* and H_0_ = 73 km s^-1^ Mpc^-1^, {Omega}__m = 0.27, and {Omega}_vac_ = 0.73
*Note (3): dust sublimation radius calculated from equation ??? in this work,
* except for IC4329 A (kishimoto et al., 2011A&A...527A.121K),
* NGC 3783 (Glass, 1992MNRAS.256p..23G), and
* Mark 509, NGC 3227, and NGC 4593 (Koshida et al., 2014ApJ...788..159K).
*Note (4): Reference for the VISIR spectroscopic data as follows:
* 1 = This work
* 2 = Honig et al., 2010A&A...515A..23H
* 3 = Burtscher et al., 2013, Cat. J/A+A/558/A149
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'sp/*' ! Individual spectra
integer*4 nr__1
parameter (nr__1=250) ! Number of records
character*35 ar__1 ! Full-size record
real*8 lambda ! (um) Wavelength
real*4 S ! (Jy) Flux density
real*4 e_S ! (Jy) rms uncertainty on S
C=============================================================================
C Loading file 'table2.dat' ! Characteristics of our AGN mid-IR spectroscopic
* sample
C Format for file interpretation
1 format(
+ A12,1X,A4,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F6.4,1X,
+ F5.1,1X,I3,1X,F5.2,1X,F4.2,1X,F5.3,1X,F5.3,1X,I1,1X,A3,1X,A11,
+ 1X,A13,1X,A13,1X,A13,1X,A13,A12,1X,A13,1X,A13,1X,A13,1X,A13)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,28
read(1,'(A221)')ar__
read(ar__,1)
+ Object,Type,RAh,RAm,RAs,DE_,DEd,DEm,DEs,z,DL,Slit,logLX,
+ e_logLX,rsub,e_rsub,Ref,PAH,sp0,sp0_4,sp0_8,sp1_2,sp1_6,sp2,
+ sp2_4,sp2_8,sp3_2,sp3_6
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)
+ Object,Type,RAh,RAm,RAs,DE_,DEd,DEm,DEs,z,DL,Slit,logLX,
+ e_logLX,rsub,e_rsub,Ref,PAH,sp0,sp0_4,sp0_8,sp1_2,sp1_6,sp2,
+ sp2_4,sp2_8,sp3_2,sp3_6
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'sp/*' ! Individual spectra
C Format for file interpretation
2 format(F8.5,2X,E12.10,2X,E11.10)
C Effective file loading
open(unit=1,status='old',file=
+'sp/*')
write(6,*) '....Loading file: sp/*'
do i__=1,250
read(1,'(A35)')ar__1
read(ar__1,2)lambda,S,e_S
c ..............Just test output...........
write(6,2)lambda,S,e_S
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end