Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/309/749 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-19 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/A+A/309/749 Fundamental plane of early type galaxies (Prugniel+ 1996) *================================================================================ *The fundamental plane of early-type galaxies: stellar populations and *mass-to-light ratio * Prugniel P., Simien F. * <Astron. Astrophys. 309, 749 (1996)> * =1996A&A...309..749P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea1.dat' ! Catalogue of central velocity dispersion integer*4 nr__ parameter (nr__=3147) ! Number of records character*95 ar__ ! Full-size record C 1950 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension 1950 real*8 DEdeg (nr__) ! (deg) Declination 1950 C ---------------------------------- ! (position vector(s) in degrees) character*11 Name (nr__) ! Galaxy identifier (1) integer*4 RAh (nr__) ! (h) ? Right Ascension 1950 (hours) integer*4 RAm (nr__) ! (min) ? Right Ascension 1950 (min) real*4 RAs (nr__) ! (s) ? Right Ascension 1950 (sec) character*1 DE_ (nr__) ! [+-] Sign of declination integer*4 DEd (nr__) ! (deg) ? Declination 1950 (degrees) integer*4 DEm (nr__) ! (arcmin) ? Declination 1950 (minutes) integer*4 DEs (nr__) ! (arcsec) ? Declination 1950 (seconds) integer*4 sigmam (nr__) ! (km/s) ? Adopted central velocity dispersion (2) character*1 l_sigma (nr__) ! ? Upper (<) or lower (>) limit real*4 sigma (nr__) ! (km/s) Central velocity dispersion (raw) (3) real*4 e_sigma (nr__) ! (km/s) ? Mean error on sigma character*7 Ref_a (nr__) ! Acronym of the source reference (4) integer*4 Ref_c (nr__) ! Numerical code of the source ref (5) integer*4 Reject (nr__) ! ? [1 ] Rejection flag, 1=rejected character*33 Note (nr__) ! Descriptive note or alternative name *Note (1): The Name has been adopted by descending the hierarchy: * (1) Usual name for the dwarf spheroidal galaxy and the Milky Way, * (2) NGC name, * (3) IC, * (4) UGC or ESO, * (5) PGC (Principal Galaxies Catalogue) * (6) LEDA (Lyon- Meudon Extragalactic Database) internal identifier. * For about 50 object left unfolted into this hierarchy we kept the * designation from the original reference. When Name differed from the * original designation, the latter is indicated in the field Note. *Note (2): The velocity dispersions reported here are from absorption lines, * except for Milky Way and the dwarf spheroidal galaxy: from individual * stellar velocity, and for the references Hui93 (Hui, X. 1993) and * Arna+94 (Arnaboldi et al., 1994): from planetary nebulae. *Note (3): sigmam is a mean of the re-scaled measured velocity dispersion, * (sigma) weighted by the inverse of the squared mean error (e_sigma). * The scaling factors are listed in tablea3 (scale). *Note (4): Refers to tablea3 *Note (5): Refers to tablea3 c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea2.dat' ! Catalogue of maximum velocity of rotation integer*4 nr__1 parameter (nr__1=883) ! Number of records character*58 ar__1 ! Full-size record character*11 Name_1 (nr__1) ! Galaxy identifier (1) character*2 Axis (nr__1) ! [MJ MI PA] Axis used for rotation measure (2) character*15 Note_1 (nr__1) ! Note on the galaxy character*1 l_Vmax (nr__1) ! ? Upper (<) or lower (>) limit integer*4 Vmax (nr__1) ! (km/s) ? Maximum velocity of Rotation integer*4 e_Vmax (nr__1) ! (km/s) ? Mean error on Vmax character*17 Ref_a_1 (nr__1) ! Acronym of the source reference (3) *Note (1): See tablea1 *Note (2): Indicate the axis along which the rotation has been measured, * coded as follow: * MJ: Major axis * MI: Minor axis * PA: Pair axis, for binary galaxies *Note (3): Refers to tablea3 c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea3.dat' ! Bibliographic references for tablea1 and tablea2 integer*4 nr__2 parameter (nr__2=287) ! Number of records character*165 ar__2 ! Full-size record integer*4 Ref_c_1 (nr__2) ! Numerical code of the source ref (1) character*7 Ref_a_2 (nr__2) ! Acronym of the source reference real*4 Scale (nr__2) ! ? Scaling factor to be applied (2) character*147 Ref (nr__2) ! Full text of the reference *Note (1): References codes in the range [1-138] are present in McElroy * (1995ApJS..100..105M); numbers in the range [201-351] are not; * reference 500 gathers new unpublished measurements from * Observatoire de Haute-Provence observations *Note (2): The raw measurement of the velocity dispersion (sigma in tablea1) * has to be multiplied by the scaling factor Scale to convert it in a * homogeneous scale. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tableb1.dat' ! Fundamental parameters for the galaxies in the sample integer*4 nr__3 parameter (nr__3=427) ! Number of records character*72 ar__3 ! Full-size record character*11 Name_2 (nr__3) ! Galaxy identifier (1) integer*4 SSample (nr__3) ! [1-6] Sub-sample real*4 Dmod (nr__3) ! (mag) Distance modulus real*4 Bt (nr__3) ! (mag) Total apparent B magnitude (2) real*4 mue (nr__3) ! (mag/arcsec2) Mean B surface brightness with r_e (3) real*4 U_B (nr__3) ! (mag) ?=9.99 U-B color within r_e, corrected (4) real*4 B_V (nr__3) ! (mag) ?=9.99 B-V color within r_e, corrected (5) real*4 V_R (nr__3) ! (mag) ?=9.99 V-R color within r_e, corrected (6) real*4 V_I (nr__3) ! (mag) ?=9.99 V-I color within r_e, corrected (7) real*4 Mg2 (nr__3) ! (mag) ?=9.999 Mg2 index integer*4 sigmam_1 (nr__3) ! (km/s) Adopted central velocity dispersion (8) integer*4 Vmax_1 (nr__3) ! (km/s) ?=999 Maximum velocity of rotation, (9) real*4 Rfp (nr__3) ! Residual from the Fundamental Plane *Note (1): See tablea1. *Note (2): Corrected for galactic absorption (Burstein & Heiles) and k. *Note (3): Mean B surface brightness within the effective circular aperture. * Corrected for galactic absorption (Burstein & Heiles), k and * cosmologic (1+z)**4 dimming. *Note (4): corrected for Galactic absorption with: E(U-B)=0.20 Ab * k-corrected with: (U-B)corr=(U-B)raw+0.055*velocity[km/s]*1.e-4 *Note (5): corrected for Galactic absorption with: E(B-V)=0.25 Ab * k-corrected with: (B-V)corr=(B-V)raw+0.095*velocity[km/s]*1.e-4 *Note (6): corrected for Galactic absorption with: E(V-R)=0.20 Ab * k-corrected with: (V-R)corr=(V-R)raw+0.030*velocity[km/s]*1.e-4 *Note (7): corrected for Galactic absorption with: E(V-I)=0.35 Ab * k-corrected with: (V-I)corr=(V-I)raw+0.030*velocity[km/s]*1.e-4 *Note (8): average weighted by the inverse square error of the re-scaled * measurements *Note (9): average weighted by the inverse square error of the MJ measurements C============================================================================= C Loading file 'tablea1.dat' ! Catalogue of central velocity dispersion C Format for file interpretation 1 format( + 1X,A11,1X,I2,I2,F4.1,A1,I2,I2,I2,1X,I3,3X,A1,F5.1,F5.1,2X,A7, + 1X,I3,1X,I1,1X,A33) C Effective file loading open(unit=1,status='old',file= +'tablea1.dat') write(6,*) '....Loading file: tablea1.dat' do i__=1,3147 read(1,'(A95)')ar__ read(ar__,1) + Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),sigmam(i__),l_sigma(i__),sigma(i__), + e_sigma(i__),Ref_a(i__),Ref_c(i__),Reject(i__),Note(i__) if(ar__(14:15) .EQ. '') RAh(i__) = iNULL__ if(ar__(16:17) .EQ. '') RAm(i__) = iNULL__ if(ar__(18:21) .EQ. '') RAs(i__) = rNULL__ if(ar__(23:24) .EQ. '') DEd(i__) = iNULL__ if(ar__(25:26) .EQ. '') DEm(i__) = iNULL__ if(ar__(27:28) .EQ. '') DEs(i__) = iNULL__ if(ar__(30:32) .EQ. '') sigmam(i__) = iNULL__ if(ar__(42:46) .EQ. '') e_sigma(i__) = rNULL__ if(ar__(61:61) .EQ. '') Reject(i__) = iNULL__ RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),sigmam(i__),l_sigma(i__),sigma(i__), + e_sigma(i__),Ref_a(i__),Ref_c(i__),Reject(i__),Note(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea2.dat' ! Catalogue of maximum velocity of rotation C Format for file interpretation 2 format(1X,A11,1X,A2,1X,A15,1X,A1,I3,1X,I3,1X,A17) C Effective file loading open(unit=1,status='old',file= +'tablea2.dat') write(6,*) '....Loading file: tablea2.dat' do i__=1,883 read(1,'(A58)')ar__1 read(ar__1,2) + Name_1(i__),Axis(i__),Note_1(i__),l_Vmax(i__),Vmax(i__), + e_Vmax(i__),Ref_a_1(i__) if(ar__1(34:36) .EQ. '') Vmax(i__) = iNULL__ if(ar__1(38:40) .EQ. '') e_Vmax(i__) = iNULL__ c ..............Just test output........... write(6,2) + Name_1(i__),Axis(i__),Note_1(i__),l_Vmax(i__),Vmax(i__), + e_Vmax(i__),Ref_a_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea3.dat' ! Bibliographic references for tablea1 and tablea2 C Format for file interpretation 3 format(1X,I3,1X,A7,F5.3,1X,A147) C Effective file loading open(unit=1,status='old',file= +'tablea3.dat') write(6,*) '....Loading file: tablea3.dat' do i__=1,287 read(1,'(A165)')ar__2 read(ar__2,3)Ref_c_1(i__),Ref_a_2(i__),Scale(i__),Ref(i__) if(ar__2(13:17) .EQ. '') Scale(i__) = rNULL__ c ..............Just test output........... write(6,3)Ref_c_1(i__),Ref_a_2(i__),Scale(i__),Ref(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tableb1.dat' ! Fundamental parameters for the galaxies * in the sample C Format for file interpretation 4 format( + 1X,A11,1X,I1,1X,F5.2,1X,F5.2,1X,F5.2,F5.2,1X,F4.2,1X,F4.2,1X, + F4.2,1X,F5.3,1X,I3,1X,I3,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'tableb1.dat') write(6,*) '....Loading file: tableb1.dat' do i__=1,427 read(1,'(A72)')ar__3 read(ar__3,4) + Name_2(i__),SSample(i__),Dmod(i__),Bt(i__),mue(i__),U_B(i__), + B_V(i__),V_R(i__),V_I(i__),Mg2(i__),sigmam_1(i__),Vmax_1(i__), + Rfp(i__) c ..............Just test output........... write(6,4) + Name_2(i__),SSample(i__),Dmod(i__),Bt(i__),mue(i__),U_B(i__), + B_V(i__),V_R(i__),V_I(i__),Mg2(i__),sigmam_1(i__),Vmax_1(i__), + Rfp(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end