Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/132/271 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/AJ/132/271 SFR of M31 from resolved stars in near-IR (Olsen+, 2006) *================================================================================ *The star formation histories of the bulge and disk of M31 from resolved stars *in the near-infrared. * Olsen K.A.G., Blum R.D., Stephens A.W., Davidge T.J., Massey P., * Strom S.E., Rigaut F. * <Astron. J., 132, 271-289 (2006)> * =2006AJ....132..271O C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Summary of Luminosity Function Fits integer*4 nr__ parameter (nr__=480) ! Number of records character*115 ar__ ! Full-size record character*9 ID (nr__) ! Solution identifier real*4 AK (nr__) ! The K band dust extinction used in model integer*4 Age (nr__) ! (Gyr) Model age real*4 Z1e_4 (nr__) ! (solMass/yr) ? Best fit star formation rate for Z=0.0001 real*4 e_Z1e_4 (nr__) ! (solMass/yr) ? Error in Z1e-4 real*4 Z4e_4 (nr__) ! (solMass/yr) ? Best fit star formation rate for Z=0.0004 real*4 e_Z4e_4 (nr__) ! (solMass/yr) ? Error in Z4e-4 real*4 Z1e_3 (nr__) ! (solMass/yr) ? Best fit star formation rate for Z=0.001 real*4 e_Z1e_3 (nr__) ! (solMass/yr) ? Error in Z1e-3 real*4 Z8e_3 (nr__) ! (solMass/yr) ? Best fit star formation rate for Z=0.008 real*4 e_Z8e_3 (nr__) ! (solMass/yr) ? Error in Z8e-3 real*4 Z1_9e_2 (nr__) ! (solMass/yr) ? Best fit star formation rate for Z=0.019 real*4 e_Z1_9e_2 (nr__) ! (solMass/yr) ? Error in Z1.9e-2 real*4 Z3e_2 (nr__) ! (solMass/yr) ? Best fit star formation rate for Z=0.03 real*4 e_Z3e_2 (nr__) ! (solMass/yr) ? Error in Z3e-2 real*8 chi2 (nr__) ! ? Best fit model {chi}^2^ value (1) real*4 sigma (nr__) ! ? Extent that chi2 deviates from model * expectation (2) real*4 Prob (nr__) ! (%) ? Probability that chi2 arose by chance (3) *Note (1): Where {chi}^2^=2*Sum_i(m_i-n_i+n_i*ln(n_i/m_i)), see text. *Note (2): Calculated as ({chi}^2^-<{chi}^2^>)/{sigma}, where the bracketed * quantities are the expected mean and variance of {chi}^2^ for * each model. *Note (3): If the LFs were truly drawn from the given models, then we expect * Prob~50%; low values of Prob are indicative that the models are not * good fits. C============================================================================= C Loading file 'table3.dat' ! Summary of Luminosity Function Fits C Format for file interpretation 1 format( + A9,1X,F3.1,1X,I2,1X,F6.2,1X,F4.2,2X,F6.2,1X,F4.2,2X,F6.2,1X, + F4.2,2X,F5.2,1X,F4.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F7.2, + 1X,F6.2,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,480 read(1,'(A115)')ar__ read(ar__,1) + ID(i__),AK(i__),Age(i__),Z1e_4(i__),e_Z1e_4(i__),Z4e_4(i__), + e_Z4e_4(i__),Z1e_3(i__),e_Z1e_3(i__),Z8e_3(i__),e_Z8e_3(i__), + Z1_9e_2(i__),e_Z1_9e_2(i__),Z3e_2(i__),e_Z3e_2(i__),chi2(i__), + sigma(i__),Prob(i__) if(ar__(18:23) .EQ. '') Z1e_4(i__) = rNULL__ if(ar__(25:28) .EQ. '') e_Z1e_4(i__) = rNULL__ if(ar__(31:36) .EQ. '') Z4e_4(i__) = rNULL__ if(ar__(38:41) .EQ. '') e_Z4e_4(i__) = rNULL__ if(ar__(44:49) .EQ. '') Z1e_3(i__) = rNULL__ if(ar__(51:54) .EQ. '') e_Z1e_3(i__) = rNULL__ if(ar__(57:61) .EQ. '') Z8e_3(i__) = rNULL__ if(ar__(63:66) .EQ. '') e_Z8e_3(i__) = rNULL__ if(ar__(69:73) .EQ. '') Z1_9e_2(i__) = rNULL__ if(ar__(75:79) .EQ. '') e_Z1_9e_2(i__) = rNULL__ if(ar__(82:86) .EQ. '') Z3e_2(i__) = rNULL__ if(ar__(88:92) .EQ. '') e_Z3e_2(i__) = rNULL__ if(ar__(95:101) .EQ. '') chi2(i__) = rNULL__ if(ar__(103:108) .EQ. '') sigma(i__) = rNULL__ if(ar__(110:115) .EQ. '') Prob(i__) = rNULL__ c ..............Just test output........... write(6,1) + ID(i__),AK(i__),Age(i__),Z1e_4(i__),e_Z1e_4(i__),Z4e_4(i__), + e_Z4e_4(i__),Z1e_3(i__),e_Z1e_3(i__),Z8e_3(i__),e_Z8e_3(i__), + Z1_9e_2(i__),e_Z1_9e_2(i__),Z3e_2(i__),e_Z3e_2(i__),chi2(i__), + sigma(i__),Prob(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end