Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/679/86 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/ApJ/679/86 AGN-host connection in partially obscured AGNs. I. (Wang+, 2008) *================================================================================ *Understanding the AGN-host connection in partially obscured active galactic *nuclei. *I. The nature of AGN+H II composites. * Wang J., Wei J.Y. * <Astrophys. J., 679, 86-100 (2008)> * =2008ApJ...679...86W C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! List of properties of the composite AGNs from SDSS integer*4 nr__ parameter (nr__=85) ! Number of records character*87 ar__ ! Full-size record character*19 SDSS (nr__) ! SDSS name (JHHMMSS.ss+DDMMSS.s) character*1 f_SDSS (nr__) ! [ab] Flag on SDSS J095030.53+011313.7 (1) real*4 z (nr__) ! SDSS redshift real*4 NII_Ha (nr__) ! Line ratio of [NII]/H{alpha} real*4 SII_Ha (nr__) ! ?=- [SII]/H{alpha} line ratio real*4 OI_Ha (nr__) ! ?=- [OI]/H{alpha} line ratio real*4 OIII_Hb (nr__) ! Line ratio of [OIII]/H{beta} real*4 Dn4000 (nr__) ! 4000{AA} break (2) real*4 HdA (nr__) ! (0.1nm) Equivalent width of the H{delta} absorption real*4 LHa (nr__) ! (10-35W) H{alpha} broad component intrinsic luminosity * in 10^42^erg/s (3) real*4 logM (nr__) ! ([solMass]) ?=- Logarithm of Mass real*4 L_LEdd (nr__) ! ?=- Eddington ratio real*4 LOIII (nr__) ! (10-33W) Intrinsic luminosity of the [OIII]{lambda}5007 * line in 10^40^erg/s (3) *Note (1): Flag as follows: * a = The spectra ID is spSpec51608-0267-405, given by the SDSS. * b = The spectra ID is spSpec51989-0480-120, given by the SDSS. *Note (2): The 4000{AA} break is a strong discontinuity in the optical * spectrum of a galaxy. The break is mainly caused by the absorption * features of ionized metal lines blueward of 4000{AA}. The popular * definition of D_n_(4000) is (Balogh et al., 1999ApJ...527...54B; * Bruzual, 1983ApJ...273..105B). See sect. 3.2 for further details. *Note (3): Luminosities are corrected for local extinction. The extinction * is inferred from the narrow-line ratio H{alpha}/H{beta} for each * object, assuming the Balmer decrement for standard case B * recombination and a Galactic extinction curve with R_V_=3.1. C============================================================================= C Loading file 'table1.dat' ! List of properties of the composite AGNs from SDSS C Format for file interpretation 1 format( + 5X,A19,A1,1X,F5.3,1X,F4.2,1X,F4.2,1X,F5.3,1X,F4.2,1X,F4.2,1X, + F6.3,1X,F4.2,1X,F4.2,1X,F5.3,1X,F6.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,85 read(1,'(A87)')ar__ read(ar__,1) + SDSS(i__),f_SDSS(i__),z(i__),NII_Ha(i__),SII_Ha(i__), + OI_Ha(i__),OIII_Hb(i__),Dn4000(i__),HdA(i__),LHa(i__), + logM(i__),L_LEdd(i__),LOIII(i__) if (idig(ar__(38:41)).EQ.0) SII_Ha(i__) = rNULL__ if (idig(ar__(43:47)).EQ.0) OI_Ha(i__) = rNULL__ if (idig(ar__(71:74)).EQ.0) logM(i__) = rNULL__ if (idig(ar__(76:80)).EQ.0) L_LEdd(i__) = rNULL__ c ..............Just test output........... write(6,1) + SDSS(i__),f_SDSS(i__),z(i__),NII_Ha(i__),SII_Ha(i__), + OI_Ha(i__),OIII_Hb(i__),Dn4000(i__),HdA(i__),LHa(i__), + logM(i__),L_LEdd(i__),LOIII(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end C Locate position of first digit in string; or return 0 integer function idig(c) character*(*) c character*1 c1 integer lc,i lc=len(c) idig=0 do i=1,lc if(c(i:i).ne.' ') go to 1 end do 1 if(i.gt.lc) return c1=c(i:i) if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1 if(i.gt.lc) return c1=c(i:i) if(c1.ge.'0'.and.c1.le.'9') idig=i return end