Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/653/127 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-20 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/653/127 9.7um silicate features in AGNs (Shi+, 2006) *================================================================================ *9.7{mu}m silicate features in active galactic nuclei: *new insights into unification models. * Shi Y., Rieke G.H., Hines D.C., Gorjian V., Werner M.W., Cleary K., * Low F.J., Smith P.S., Bouwman J. * <Astrophys. J., 653, 127-136 (2006)> * =2006ApJ...653..127S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Source Characteristics integer*4 nr__ parameter (nr__=97) ! Number of records character*83 ar__ ! Full-size record character*23 Name (nr__) ! Source name real*4 z (nr__) ! Redshift character*5 Type (nr__) ! AGN type (1) real*4 Str (nr__) ! Silicate feature strength (2) real*4 E_Str (nr__) ! ? Upper uncertainty limit in Str real*4 e_Str_1 (nr__) ! ? Lower uncertainty limit in Str integer*4 r_Str (nr__) ! Reference on Str, in refs.dat file character*1 l_NH (nr__) ! Limit flag on NH real*8 NH (nr__) ! (10+22/cm2) ? Intrinsic H I column density real*8 E_NH (nr__) ! (10+22/cm2) ? Upper uncertainty limit in NH real*8 e_NH_1 (nr__) ! (10+22/cm2) ? Lower uncertainty limit in NH integer*4 r_NH (nr__) ! ? Reference on NH, in refs.dat file *Note (1): AGN type as follows: * PG = PG quasar * RLQ = radio-loud quasar * Sy1 = Seyfert 1 galaxies * Sy2 = Seyfert 2 galaxies * BALQ = broad absorption-line quasar * FRII = FR II radio galaxies * LINER = low-ionization nuclear emission-line region * 2MQ = 2MASS quasar *Note (2): The strength of the 9.7um silicate feature is defined as * (Ff-Fc)/Fc , where Ff and Fc and are the observed flux density and * underlying continuum flux density, respectively, at the peak (for * emission) or the minimum (for absorption) of the silicate feature. * The feature strength in this definition is a direct measure of the * optical depth for the silicate absorption. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References integer*4 nr__1 parameter (nr__1=25) ! Number of records character*42 ar__1 ! Full-size record integer*4 Ref (nr__1) ! Reference number character*19 BibCode (nr__1) ! BibCode character*19 Aut (nr__1) ! Author's name C============================================================================= C Loading file 'table1.dat' ! Source Characteristics C Format for file interpretation 1 format( + A23,1X,F5.3,1X,A5,1X,F5.2,1X,F4.2,1X,F4.2,1X,I1,1X,A1,1X,F8.3, + 1X,F7.3,1X,F7.3,1X,I2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,97 read(1,'(A83)')ar__ read(ar__,1) + Name(i__),z(i__),Type(i__),Str(i__),E_Str(i__),e_Str_1(i__), + r_Str(i__),l_NH(i__),NH(i__),E_NH(i__),e_NH_1(i__),r_NH(i__) if(ar__(43:46) .EQ. '') E_Str(i__) = rNULL__ if(ar__(48:51) .EQ. '') e_Str_1(i__) = rNULL__ if(ar__(57:64) .EQ. '') NH(i__) = rNULL__ if(ar__(66:72) .EQ. '') E_NH(i__) = rNULL__ if(ar__(74:80) .EQ. '') e_NH_1(i__) = rNULL__ if(ar__(82:83) .EQ. '') r_NH(i__) = iNULL__ c ..............Just test output........... write(6,1) + Name(i__),z(i__),Type(i__),Str(i__),E_Str(i__),e_Str_1(i__), + r_Str(i__),l_NH(i__),NH(i__),E_NH(i__),e_NH_1(i__),r_NH(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References C Format for file interpretation 2 format(I2,1X,A19,1X,A19) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,25 read(1,'(A42)')ar__1 read(ar__1,2)Ref(i__),BibCode(i__),Aut(i__) c ..............Just test output........... write(6,2)Ref(i__),BibCode(i__),Aut(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end