Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/440/3430 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/MNRAS/440/3430 SDSS-2MASS-WISE stellar colour locus (Davenport+, 2014) *================================================================================ *The SDSS-2MASS-WISE 10-dimensional stellar colour locus. * Davenport J.R.A., Ivezic Z., Becker A.C., Ruan J.J., Hunt-Walker N.M., * Covey K.R., Lewis A.R., Alsayyad Y., Anderson L.M. * <Mon. Not. R. Astron. Soc., 440, 3430-3438 (2014)> * =2014MNRAS.440.3430D (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Optical and NIR colour locus as a function of g-i colour bins integer*4 nr__ parameter (nr__=135) ! Number of records character*97 ar__ ! Full-size record real*4 g_i (nr__) ! (mag) g-i colour index integer*4 Nstar (nr__) ! Number of stars in each bin real*4 u_g (nr__) ! (mag) u-g colour index real*4 e_u_g (nr__) ! (mag) rms uncertainty on u-g real*4 g_r (nr__) ! (mag) g-r colour index real*4 e_g_r (nr__) ! (mag) rms uncertainty on g-r real*4 r_i (nr__) ! (mag) r-i colour index real*4 e_r_i (nr__) ! (mag) rms uncertainty on r-i real*4 i_z (nr__) ! (mag) i-z colour index real*4 e_i_z (nr__) ! (mag) rms uncertainty on i-z real*4 z_J (nr__) ! (mag) z-J colour index real*4 e_z_J (nr__) ! (mag) rms uncertainty on z-J real*4 J_H (nr__) ! (mag) J-H colour index real*4 e_J_H (nr__) ! (mag) rms uncertainty on J-H real*4 H_Ks (nr__) ! (mag) H-Ks colour index real*4 e_H_Ks (nr__) ! (mag) rms uncertainty on H-Ks c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! The mid-IR colour locus as a function of g-i colour integer*4 nr__1 parameter (nr__1=135) ! Number of records character*71 ar__1 ! Full-size record real*4 g_i_1 (nr__1) ! (mag) g-i colour index integer*4 Nstars (nr__1) ! Number of stars in each bin from the * primary sample real*4 Ks_W1 (nr__1) ! (mag) Ks-W1 colour index real*4 e_Ks_W1 (nr__1) ! (mag) rms uncertainty on Ks-W1 real*4 W1_W2 (nr__1) ! (mag) W1-W2 colour index real*4 e_W1_W2 (nr__1) ! (mag) rms uncertainty on W1-W2 integer*4 NStarsW3 (nr__1) ! Number of stars in each bin from the * W3-limited subsample real*8 W2_W3 (nr__1) ! (mag) ?=-99 W2-W3 colour index real*4 e_W2_W3 (nr__1) ! (mag) ?=0 rms uncertainty on W2-W3 C============================================================================= C Loading file 'table1.dat' ! Optical and NIR colour locus as a function of * g-i colour bins C Format for file interpretation 1 format( + 1X,F4.2,3X,I5,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3, + F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,135 read(1,'(A97)')ar__ read(ar__,1) + g_i(i__),Nstar(i__),u_g(i__),e_u_g(i__),g_r(i__),e_g_r(i__), + r_i(i__),e_r_i(i__),i_z(i__),e_i_z(i__),z_J(i__),e_z_J(i__), + J_H(i__),e_J_H(i__),H_Ks(i__),e_H_Ks(i__) c ..............Just test output........... write(6,1) + g_i(i__),Nstar(i__),u_g(i__),e_u_g(i__),g_r(i__),e_g_r(i__), + r_i(i__),e_r_i(i__),i_z(i__),e_i_z(i__),z_J(i__),e_z_J(i__), + J_H(i__),e_J_H(i__),H_Ks(i__),e_H_Ks(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! The mid-IR colour locus as a function of * g-i colour C Format for file interpretation 2 format( + 3X,F4.2,2X,I5,3X,F5.3,3X,F5.3,2X,F6.3,3X,F5.3,3X,I3,2X,F7.3, + 5X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,135 read(1,'(A71)')ar__1 read(ar__1,2) + g_i_1(i__),Nstars(i__),Ks_W1(i__),e_Ks_W1(i__),W1_W2(i__), + e_W1_W2(i__),NStarsW3(i__),W2_W3(i__),e_W2_W3(i__) c ..............Just test output........... write(6,2) + g_i_1(i__),Nstars(i__),Ks_W1(i__),e_Ks_W1(i__),W1_W2(i__), + e_W1_W2(i__),NStarsW3(i__),W2_W3(i__),e_W2_W3(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end