Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/405/783 into FORTRAN code for reading data files line by line.
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-18 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/MNRAS/405/783 Passive red spirals in Galaxy Zoo (Masters+, 2010) *================================================================================ *Galaxy Zoo: passive red spirals. * Masters K.L., Mosleh M., Romer A.K., Nichol R.C., Bamford S.P., * Schawinski K., Lintott C.J., Andreescu D., Campbell H.C., Crowcroft B., * Doyle I., Edmondson E.M., Murray P., Raddick M.J., Slosar A., Szalay A.S., * Vandenberg J. * <Mon. Not. R. Astron. Soc., 405, 783-799 (2010)> * =2010MNRAS.405..783M C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea1.dat' ! Data for red spiral sample integer*4 nr__ parameter (nr__=294) ! Number of records character*89 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*18 SDSS ! SDSS object identification number real*8 RAdeg ! (deg) Right ascension in decimal degrees (J2000) real*8 DEdeg ! (deg) Declination in decimal degrees (J2000) real*4 z ! Redshift real*4 rMAG ! (mag) Absolute r-band (Petrosian) magnitude real*4 e_rMAG ! (mag) rms uncertainty on rMAG real*4 g_r ! (mag) g-r colour index (from model magnitudes) real*4 e_g_r ! (mag) rms uncertainty on g-r real*4 Red ! Redness, defined as the distance in magnitudes * from the blue limit of the (g-r) versus rMAG * red sequence real*4 log_a_b ! Major-to-minor axis ratio rom the r-band * isophotal measurement real*4 fdeV ! Fraction of the best-fitting light profile * made up by a de Vaucouleur profile (as * opposed to an exponential disc) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea2.dat' ! Data for blue spiral sample integer*4 nr__1 parameter (nr__1=5139) ! Number of records character*89 ar__1 ! Full-size record C J2000 position composed of: RAdeg DEdeg character*18 SDSS_1 ! SDSS object identification number real*8 RAdeg_1 ! (deg) Right ascension in decimal degrees (J2000) real*8 DEdeg_1 ! (deg) Declination in decimal degrees (J2000) real*4 z_1 ! Redshift real*4 rMAG_1 ! (mag) Absolute r-band (Petrosian) magnitude real*4 e_rMAG_1 ! (mag) rms uncertainty on rMAG real*4 g_r_1 ! (mag) g-r colour index (from model magnitudes) real*4 e_g_r_1 ! (mag) rms uncertainty on g-r real*4 Red_1 ! Redness, defined as the distance in magnitudes * from the blue limit of the (g-r) versus rMAG * red sequence real*4 log_a_b_1 ! Major-to-minor axis ratio rom the r-band * isophotal measurement real*4 fdeV_1 ! Fraction of the best-fitting light profile * made up by a de Vaucouleur profile (as * opposed to an exponential disc) C============================================================================= C Loading file 'tablea1.dat' ! Data for red spiral sample C Format for file interpretation 1 format( + A18,1X,F10.6,1X,F10.6,1X,F6.4,1X,F6.2,1X,F4.2,1X,F5.3,1X,F5.3, + 1X,F6.3,1X,F5.3,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'tablea1.dat') write(6,*) '....Loading file: tablea1.dat' do i__=1,294 read(1,'(A89)')ar__ read(ar__,1) + SDSS,RAdeg,DEdeg,z,rMAG,e_rMAG,g_r,e_g_r,Red,log_a_b,fdeV c ..............Just test output........... write(6,1) + SDSS,RAdeg,DEdeg,z,rMAG,e_rMAG,g_r,e_g_r,Red,log_a_b,fdeV c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea2.dat' ! Data for blue spiral sample C Format for file interpretation 2 format( + A18,1X,F10.6,1X,F10.6,1X,F6.4,1X,F6.2,1X,F4.2,1X,F5.3,1X,F5.3, + 1X,F6.3,1X,F5.3,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'tablea2.dat') write(6,*) '....Loading file: tablea2.dat' do i__=1,5139 read(1,'(A89)')ar__1 read(ar__1,2) + SDSS_1,RAdeg_1,DEdeg_1,z_1,rMAG_1,e_rMAG_1,g_r_1,e_g_r_1, + Red_1,log_a_b_1,fdeV_1 c ..............Just test output........... write(6,2) + SDSS_1,RAdeg_1,DEdeg_1,z_1,rMAG_1,e_rMAG_1,g_r_1,e_g_r_1, + Red_1,log_a_b_1,fdeV_1 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end