Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/154/112 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-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/AJ/154/112 NIR spectroscopy of new L and T dwarf candidates (Kellogg+, 2017) *================================================================================ *A statistical survey of peculiar L and T dwarfs in SDSS, 2MASS, and WISE. * Kellogg K., Metchev S., Miles-Paez P.A., Tannock M.E. * <Astron. J., 154, 112-112 (2017)> * =2017AJ....154..112K (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Infrared Telescope Facility/SpeX (IRTF/SpeX) observations integer*4 nr__ parameter (nr__=91) ! Number of records character*61 ar__ ! Full-size record character*17 v2MASS (nr__) ! 2MASS identifier (JHHMMSS.ss+DDMMSS.s) character*1 f_2MASS (nr__) ! [ab] Flag for independent reports (a or b) (G1) character*11 Date (nr__) ! ("Y:M:D") UT observation date real*4 Jmag (nr__) ! (mag) [14.51/17.56] 2MASS J band magnitude real*4 Slit (nr__) ! (arcsec) [0.8/1.6] Slit width integer*4 Exp (nr__) ! (min) [10/76] Exposure time character*10 A0 (nr__) ! Name of A0 type calibrator c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Gemini/Gemini Near-Infrared Spectrograph (Gemini/GNIRS) observations integer*4 nr__1 parameter (nr__1=13) ! Number of records character*57 ar__1 ! Full-size record character*17 v2MASS_1 (nr__1) ! 2MASS identifier (JHHMMSS.ss+DDMMSS.s) character*1 f_2MASS_1 (nr__1) ! [a] Flag for independent reports (a) (G1) character*11 Date_1 (nr__1) ! ("Y:M:D") UT observation date real*4 Jmag_1 (nr__1) ! (mag) [15.9/17.4] 2MASS J band magnitude integer*4 Exp_1 (nr__1) ! (min) [40/124] Exposure time character*9 A0_1 (nr__1) ! Name of A0 type Calibrator c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Results from spectroscopic classification and synthetic photometry integer*4 nr__2 parameter (nr__2=116) ! Number of records character*78 ar__2 ! Full-size record character*17 v2MASS_2 (nr__2) ! 2MASS identifier (JHHMMSS.ss+DDMMSS.s) integer*4 Type (nr__2) ! [1/5] Candidate type (1) character*5 SpT (nr__2) ! Infrared Spectral type character*10 n_SpT (nr__2) ! Note on SpT (interpretation of spectrum) character*1 f_z_J (nr__2) ! [ab] Flag on z-J when synthetic color calculations * are limited by spectrum (2) real*4 z_J (nr__2) ! (mag) [0.9/4.4]? Synthetic z-J color index computed from * spectrum real*4 e_z_J (nr__2) ! (mag) [0.03/0.16]? Uncertainty in z-J real*4 J_H (nr__2) ! (mag) [0.3/2.7] Synthetic J-H color index computed from * spectrum real*4 e_J_H (nr__2) ! (mag) [0.03/0.3] Uncertainty in J-H real*4 J_Ks (nr__2) ! (mag) [0.3/3.7] Synthetic J-Ks color index computed from * spectrum real*4 e_J_Ks (nr__2) ! (mag) [0.02/0.26] Uncertainty in J-Ks character*1 v1sig (nr__2) ! Object greater than 1{sigma} outlier in * color (3) character*1 v2sig (nr__2) ! Object greater than 2{sigma} outlier in * color (3) *Note (1): * The objects were divided into the different categories based on their * photometric colors. The objects in the "Peculiarly Red and Candidate * Binary" category passed both the peculiarly red and candidate L+T binary * selection criteria: * 1 = Peculiarly Red; * 2 = Candidate Binary; * 3 = Peculiarly Red and Candidate Binary; * 4 = General Ultra-cool Dwarf Candidates; * 5 = False positive. *Note (2): Synthetic color calculations are defined as follows: * a = The spectra of these objects are from the Gemini Near-InfraRed * Spectrograph (GNIRS), and do not cover the entire SDSS z-band, so we * are unable to calculate synthetic z-J colors; * b = The spectra of these objects are from Magellan/FIRE. The FIRE prism * spectra do not cover the entire SDSS z-band so we are unable to * calculate the z-J colors. *Note (3): We identify color outliers by comparing the synthetic J-K_s_ color * of each object to the median J-K_s_ colors of M7--M9 and T0--T8 dwarfs * from Faherty et al. 2009 (Cat. J/AJ/137/1) and for L0--L9 dwarfs from * Faherty et al. (2013ApJ..888..33F). The + and - signs indicate whether * the object is above or below the average, respectively. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Unknown object properties integer*4 nr__3 parameter (nr__3=12) ! Number of records character*106 ar__3 ! Full-size record character*17 v2MASS_3 (nr__3) ! 2MASS identifier (JHHMMSS.ss+DDMMSS.s) character*13 Tel (nr__3) ! Telescope+Instrument setup character*2 Survey (nr__3) ! Survey in which identified (P1=Kellogg et al. * 2015AJ....150..182K or P2=this work) real*4 zmag (nr__3) ! (mag) [18.8/20.5] SDSS z band magnitude real*4 e_zmag (nr__3) ! (mag) [0.04/0.16] Uncertainty in zmag real*4 Jmag_2 (nr__3) ! (mag) [15.8/17.5] 2MASS J band magnitude real*4 e_Jmag (nr__3) ! (mag) [0.07/0.3] Uncertainty in Jmag real*4 Hmag (nr__3) ! (mag) [13.9/16.5] 2MASS H band magnitude real*4 e_Hmag (nr__3) ! (mag) [0.03/0.3] Uncertainty in Hmag real*4 Ksmag (nr__3) ! (mag) [13/15.6] 2MASS Ks band magnitude real*4 e_Ksmag (nr__3) ! (mag) [0.02/0.2] Uncertainty in Ksmag real*4 W1mag (nr__3) ! (mag) [12/15.4] WISE W1 band magnitude real*4 e_W1mag (nr__3) ! (mag) [0.02/0.04] Uncertainty in W1mag real*4 W2mag (nr__3) ! (mag) [11.1/15] WISE W2 band magnitude real*4 e_W2mag (nr__3) ! (mag) [0.02/0.07] Uncertainty in W2mag C============================================================================= C Loading file 'table1.dat' ! Infrared Telescope Facility/SpeX (IRTF/SpeX) * observations C Format for file interpretation 1 format(6X,A17,1X,A1,1X,A11,1X,F5.2,1X,F3.1,1X,I2,1X,A10) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,91 read(1,'(A61)')ar__ read(ar__,1) + v2MASS(i__),f_2MASS(i__),Date(i__),Jmag(i__),Slit(i__), + Exp(i__),A0(i__) c ..............Just test output........... write(6,1) + v2MASS(i__),f_2MASS(i__),Date(i__),Jmag(i__),Slit(i__), + Exp(i__),A0(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Gemini/Gemini Near-Infrared Spectrograph * (Gemini/GNIRS) observations C Format for file interpretation 2 format(6X,A17,1X,A1,1X,A11,1X,F5.2,1X,I3,1X,A9) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,13 read(1,'(A57)')ar__1 read(ar__1,2) + v2MASS_1(i__),f_2MASS_1(i__),Date_1(i__),Jmag_1(i__), + Exp_1(i__),A0_1(i__) c ..............Just test output........... write(6,2) + v2MASS_1(i__),f_2MASS_1(i__),Date_1(i__),Jmag_1(i__), + Exp_1(i__),A0_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Results from spectroscopic classification and * synthetic photometry C Format for file interpretation 3 format( + 6X,A17,1X,I1,1X,A5,1X,A10,1X,A1,1X,F4.2,1X,F4.2,1X,F4.2,1X, + F4.2,1X,F4.2,1X,F4.2,1X,A1,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,116 read(1,'(A78)')ar__2 read(ar__2,3) + v2MASS_2(i__),Type(i__),SpT(i__),n_SpT(i__),f_z_J(i__), + z_J(i__),e_z_J(i__),J_H(i__),e_J_H(i__),J_Ks(i__),e_J_Ks(i__), + v1sig(i__),v2sig(i__) if(ar__2(46:49) .EQ. '') z_J(i__) = rNULL__ if(ar__2(51:54) .EQ. '') e_z_J(i__) = rNULL__ c ..............Just test output........... write(6,3) + v2MASS_2(i__),Type(i__),SpT(i__),n_SpT(i__),f_z_J(i__), + z_J(i__),e_z_J(i__),J_H(i__),e_J_H(i__),J_Ks(i__),e_J_Ks(i__), + v1sig(i__),v2sig(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! Unknown object properties C Format for file interpretation 4 format( + 6X,A17,1X,A13,1X,A2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2, + 1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,12 read(1,'(A106)')ar__3 read(ar__3,4) + v2MASS_3(i__),Tel(i__),Survey(i__),zmag(i__),e_zmag(i__), + Jmag_2(i__),e_Jmag(i__),Hmag(i__),e_Hmag(i__),Ksmag(i__), + e_Ksmag(i__),W1mag(i__),e_W1mag(i__),W2mag(i__),e_W2mag(i__) c ..............Just test output........... write(6,4) + v2MASS_3(i__),Tel(i__),Survey(i__),zmag(i__),e_zmag(i__), + Jmag_2(i__),e_Jmag(i__),Hmag(i__),e_Hmag(i__),Ksmag(i__), + e_Ksmag(i__),W1mag(i__),e_W1mag(i__),W2mag(i__),e_W2mag(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end