Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/132/2665 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/AJ/132/2665 QUEST2 BRI photometry of Taurus-Auriga PMS (Slesnick+, 2006) *================================================================================ *A distributed population of low-mass pre-main-sequence stars near the *Taurus molecular clouds. * Slesnick C.L., Carpenter J.M., Hillenbrand L.A., Mamajek E.E. * <Astron. J., 132, 2665-2674 (2006)> * =2006AJ....132.2665S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Measured quantities for new PMS stars integer*4 nr__ parameter (nr__=42) ! Number of records character*86 ar__ ! Full-size record character*16 v_SCH2006b_(nr__) ! Stellar identification, JHHMMSSs+DDMMSSs character*1 f__SCH2006b_(nr__) ! [b] Flag on [SCH2006b] (1) real*4 Bmag (nr__) ! (mag) ? Quest-2 B band magnitude real*4 Rmag (nr__) ! (mag) Quest-2 R band magnitude real*4 Imag (nr__) ! (mag) Quest-2 I band magnitude real*4 Jmag (nr__) ! (mag) 2MASS J band magnitude real*4 Hmag (nr__) ! (mag) 2MASS H band magnitude real*4 Ksmag (nr__) ! (mag) 2MASS K_S_ band magnitude real*4 TiO_7140 (nr__) ! The TiO-7140 spectral index real*4 TiO_8165 (nr__) ! The TiO-8165 spectral index real*4 Na_8195 (nr__) ! The Na-8195 spectral index character*5 SpType (nr__) ! MK spectral type integer*4 EWHa (nr__) ! (0.1nm) ? The H{alpha} equivalent width in Angstroms character*5 Age (nr__) ! Stellar age, as young (1-2Myr) * or int (5-10Myr) *Note (1): Three of our PMS objects were previously identified in the literature: * SCH J0429595+2433080 = Gueiu et al., 2006, Cat. J/A+A/446/485 * SCH J0431191+2335048 = Luhman, 2006, Cat. J/ApJ/645/676 * SCH J0416272+2053093 = Wichmann et al., 1996, Cat. J/A+A/312/439 c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea1.dat' ! Measured quantities for candidates spectroscopically confirmed as field dwarfs integer*4 nr__1 parameter (nr__1=148) ! Number of records character*72 ar__1 ! Full-size record character*18 v_SCH2006b__1(nr__1) ! Stellar identification, JHHMMSSss+DDMMSSss character*1 f__SCH2006b__1(nr__1) ! [b] Flag on [SCH2006b] (1) real*4 Bmag_1 (nr__1) ! (mag) ? Quest-2 B band magnitude real*4 Rmag_1 (nr__1) ! (mag) ? Quest-2 R band magnitude real*4 Imag_1 (nr__1) ! (mag) Quest-2 I band magnitude real*4 Jmag_1 (nr__1) ! (mag) 2MASS J band magnitude real*4 Hmag_1 (nr__1) ! (mag) 2MASS H band magnitude real*4 Ksmag_1 (nr__1) ! (mag) 2MASS K_S_ band magnitude real*4 TiO_7140_1 (nr__1) ! The TiO-7140 index real*4 TiO_8165_1 (nr__1) ! The TiO-8165 spectral index real*4 Na_8195_1 (nr__1) ! The Na-8195 spectral index *Note (1): Two faint candidates observed during the first spectroscopic * observing run before the final photometric calibrations were finished * do not have R-band photometry. C============================================================================= C Loading file 'table1.dat' ! Measured quantities for new PMS stars C Format for file interpretation 1 format( + 4X,A16,1X,A1,1X,F4.1,1X,F4.1,1X,F4.1,1X,F5.2,1X,F5.2,1X,F5.2, + 1X,F4.2,1X,F4.2,1X,F4.2,1X,A5,1X,I3,1X,A5) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,42 read(1,'(A86)')ar__ read(ar__,1) + v_SCH2006b_(i__),f__SCH2006b_(i__),Bmag(i__),Rmag(i__), + Imag(i__),Jmag(i__),Hmag(i__),Ksmag(i__),TiO_7140(i__), + TiO_8165(i__),Na_8195(i__),SpType(i__),EWHa(i__),Age(i__) if(ar__(24:27) .EQ. '') Bmag(i__) = rNULL__ if(ar__(78:80) .EQ. '') EWHa(i__) = iNULL__ c ..............Just test output........... write(6,1) + v_SCH2006b_(i__),f__SCH2006b_(i__),Bmag(i__),Rmag(i__), + Imag(i__),Jmag(i__),Hmag(i__),Ksmag(i__),TiO_7140(i__), + TiO_8165(i__),Na_8195(i__),SpType(i__),EWHa(i__),Age(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea1.dat' ! Measured quantities for candidates * spectroscopically confirmed as field dwarfs C Format for file interpretation 2 format( + 4X,A18,1X,A1,1X,F4.1,1X,F4.1,1X,F4.1,1X,F5.2,1X,F5.2,1X,F5.2, + 1X,F4.2,1X,F4.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'tablea1.dat') write(6,*) '....Loading file: tablea1.dat' do i__=1,148 read(1,'(A72)')ar__1 read(ar__1,2) + v_SCH2006b__1(i__),f__SCH2006b__1(i__),Bmag_1(i__), + Rmag_1(i__),Imag_1(i__),Jmag_1(i__),Hmag_1(i__),Ksmag_1(i__), + TiO_7140_1(i__),TiO_8165_1(i__),Na_8195_1(i__) if(ar__1(26:29) .EQ. '') Bmag_1(i__) = rNULL__ if(ar__1(31:34) .EQ. '') Rmag_1(i__) = rNULL__ c ..............Just test output........... write(6,2) + v_SCH2006b__1(i__),f__SCH2006b__1(i__),Bmag_1(i__), + Rmag_1(i__),Imag_1(i__),Jmag_1(i__),Hmag_1(i__),Ksmag_1(i__), + TiO_7140_1(i__),TiO_8165_1(i__),Na_8195_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end