Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJS/143/315 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/ApJS/143/315 IRAS 1Jy sample of ultraluminous galaxies. II. (Veilleux+, 2002) *================================================================================ *Optical and near-infrared imaging of the IRAS 1Jy sample of ultraluminous *galaxies. II. The analysis. * Veilleux S., Kim D.-C., Sanders D.B. * <Astrophys. J. Suppl. Ser. 143, 315 (2002)> * =2002ApJS..143..315V C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Morphological Parameters integer*4 nr__ parameter (nr__=118) ! Number of records character*34 ar__ ! Full-size record character*11 IRAS (nr__) ! IRAS FSC name real*4 NS (nr__) ! (kpc) ? Nuclear separation integer*4 TL (nr__) ! (kpc) ? Tail length character*4 IC (nr__) ! Interaction class character*3 MType (nr__) ! Spectral type (1) *Note (1): Spectral type: * HII: H II region galaxy * L: LINER * S2: Seyfert 2 * S1: Seyfert 1 c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Parameters of Surface Brightness Profiles integer*4 nr__1 parameter (nr__1=127) ! Number of records character*80 ar__1 ! Full-size record character*11 IRAS_1 (nr__1) ! IRAS name (1) character*2 m_IRAS (nr__1) ! Component (1) integer*4 RPSF (nr__1) ! (%) ? Percent of R band PSF relative to the galaxy integer*4 KPSF (nr__1) ! (%) ? Percent of K' band PSF relative to the galaxy real*4 Rexp (nr__1) ! Reduced R band {chi}^2^ value fitted to the * exponential profile real*4 RdeV (nr__1) ! Reduced R band {chi}^2^ value fitted to the * de Vaucouleurs's r^1/4^ law profile real*4 Kexp (nr__1) ! Reduced K' band {chi}^2^ value fitted to the * exponential profile real*4 KdeV (nr__1) ! Reduced K' band {chi}^2^ value fitted to the * de Vaucouleurs's r^1/4^ law profile character*3 BFit (nr__1) ! Best fitted profile (2) real*4 RRad (nr__1) ! (kpc) ? R band seeing-deconvolved half-light * (effective) radius for E and E/D objects real*4 KRad (nr__1) ! (kpc) ? K' band seeing-deconvolved half-light * (effective) radius for E and E/D objects real*4 RSB (nr__1) ! (mag/arcsec2) ? R band effective surface brightness (3) real*4 KSB (nr__1) ! (mag/arcsec2) ? K' band effective surface brightness (3) real*4 RMag (nr__1) ! (mag) ? Absolute R band host galaxy magnitude real*4 KMag (nr__1) ! (mag) Absolute K' band host galaxy magnitude *Note (1): See text for details. [KVS2002] HHMMm+DDMM WW in Simbad. *Note (2): Best fitted profile code: * A = ambiguous; * E = elliptical-like; * D = disk-like; * E/D = border-line object between E and D. *Note (3): Not corrected for cosmological dimming. C============================================================================= C Loading file 'table1.dat' ! Morphological Parameters C Format for file interpretation 1 format(A11,1X,F4.1,1X,I2,1X,A4,2X,A3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,118 read(1,'(A34)')ar__ read(ar__,1)IRAS(i__),NS(i__),TL(i__),IC(i__),MType(i__) if(ar__(13:16) .EQ. '') NS(i__) = rNULL__ if(ar__(18:19) .EQ. '') TL(i__) = iNULL__ c ..............Just test output........... write(6,1)IRAS(i__),NS(i__),TL(i__),IC(i__),MType(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Parameters of Surface Brightness Profiles C Format for file interpretation 2 format( + A11,1X,A2,1X,I2,1X,I2,1X,F4.1,1X,F5.1,1X,F5.1,1X,F5.1,1X,A3, + 1X,F3.1,1X,F3.1,1X,F4.1,1X,F4.1,1X,F6.2,1X,F6.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,127 read(1,'(A80)')ar__1 read(ar__1,2) + IRAS_1(i__),m_IRAS(i__),RPSF(i__),KPSF(i__),Rexp(i__), + RdeV(i__),Kexp(i__),KdeV(i__),BFit(i__),RRad(i__),KRad(i__), + RSB(i__),KSB(i__),RMag(i__),KMag(i__) if(ar__1(16:17) .EQ. '') RPSF(i__) = iNULL__ if(ar__1(19:20) .EQ. '') KPSF(i__) = iNULL__ if(ar__1(49:51) .EQ. '') RRad(i__) = rNULL__ if(ar__1(53:55) .EQ. '') KRad(i__) = rNULL__ if(ar__1(57:60) .EQ. '') RSB(i__) = rNULL__ if(ar__1(62:65) .EQ. '') KSB(i__) = rNULL__ if(ar__1(67:72) .EQ. '') RMag(i__) = rNULL__ c ..............Just test output........... write(6,2) + IRAS_1(i__),m_IRAS(i__),RPSF(i__),KPSF(i__),Rexp(i__), + RdeV(i__),Kexp(i__),KdeV(i__),BFit(i__),RRad(i__),KRad(i__), + RSB(i__),KSB(i__),RMag(i__),KMag(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end