Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/127/2856 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-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/127/2856 Brown dwarfs in the 2MASS Survey (Burgasser+, 2004) *================================================================================ *The 2MASS wide-field T dwarf search. *III. Seven new T dwarfs and other cool dwarf discoveries. * Burgasser A.J., Mcelwain M.W., Kirkpatrick J.D., Cruz K.L., Tinney C.G., * Reid I.N. * <Astron. J., 127, 2856-2870 (2004)> * =2004AJ....127.2856B C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Log of SpeX Prism Observations: T Dwarf Candidates integer*4 nr__ parameter (nr__=67) ! Number of records character*138 ar__ ! Full-size record character*17 v2MASS ! 2MASS name (3) character*1 m_2MASS ! [AB] Component real*4 Jmag ! (mag) 2MASS ADR J magnitude real*4 e_Jmag ! (mag) rms uncertainty on Jmag real*4 J_H ! (mag) 2MASS ADR J-H colour index real*4 e_J_H ! (mag) rms uncertainty on J-H character*1 l_H_Ks ! Limit flag on H-Ks real*4 H_Ks ! (mag) 2MASS ADR H-Ks colour index real*4 e_H_Ks ! (mag) ? rms uncertainty on H-Ks character*10 Date ! ("YYYY/MM/DD") UT observation date integer*4 ExpTime ! (s) Exposure time real*4 AirMass ! Airmass real*4 AirMass2 ! ? Upper limit of airmass when interval character*9 Calib ! Calibrator name character*5 SpCal ! MK spectral type of Calibrator character*20 Class ! Spectral Classification of star (1) character*1 n_Class ! [b] Note on Class for variable giants (2) character*5 Refs ! References detailed in refs.dat file character*9 VName ! Variable name (3) *Note (1): Classifications are based on comparison to spectral templates * (Table 3) and for M dwarfs are accurate to within 0.5-1.0 subclasses * (see Chap. 3.1.1). Classification terms followed by a colon are more * uncertain because of poor S/N data or lack of adequate comparison stars. *Note (2): * Spectral types for variable giant stars may vary by several subclasses * over time, and given classifications may not accurately represent the * actual spectrum observed. *Note (3): * The 2MASS name has been added at CDS in the last 3 rows of table3; * the original name was shifted to the "VName" column. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Log of SpeX Prism Observations: Comparison Stars integer*4 nr__1 parameter (nr__1=33) ! Number of records character*138 ar__1 ! Full-size record character*17 v2MASS_1 ! 2MASS name (3) character*1 m_2MASS_1 ! [AB] Component real*4 Jmag_1 ! (mag) 2MASS ADR J magnitude real*4 e_Jmag_1 ! (mag) rms uncertainty on Jmag real*4 J_H_1 ! (mag) 2MASS ADR J-H colour index real*4 e_J_H_1 ! (mag) rms uncertainty on J-H character*1 l_H_Ks_1 ! Limit flag on H-Ks real*4 H_Ks_1 ! (mag) 2MASS ADR H-Ks colour index real*4 e_H_Ks_1 ! (mag) ? rms uncertainty on H-Ks character*10 Date_1 ! ("YYYY/MM/DD") UT observation date integer*4 ExpTime_1 ! (s) Exposure time real*4 AirMass_1 ! Airmass real*4 AirMass2_1 ! ? Upper limit of airmass when interval character*9 Calib_1 ! Calibrator name character*5 SpCal_1 ! MK spectral type of Calibrator character*20 Class_1 ! Spectral Classification of star (1) character*1 n_Class_1 ! [b] Note on Class for variable giants (2) character*5 Refs_1 ! References detailed in refs.dat file character*9 VName_1 ! Variable name (3) *Note (1): Classifications are based on comparison to spectral templates * (Table 3) and for M dwarfs are accurate to within 0.5-1.0 subclasses * (see Chap. 3.1.1). Classification terms followed by a colon are more * uncertain because of poor S/N data or lack of adequate comparison stars. *Note (2): * Spectral types for variable giant stars may vary by several subclasses * over time, and given classifications may not accurately represent the * actual spectrum observed. *Note (3): * The 2MASS name has been added at CDS in the last 3 rows of table3; * the original name was shifted to the "VName" column. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References integer*4 nr__2 parameter (nr__2=23) ! Number of records character*80 ar__2 ! Full-size record integer*4 Ref ! Reference code character*19 BibCode ! BibCode character*21 Aut ! Author's name character*30 Com ! Comments C============================================================================= C Loading file 'table2.dat' ! Log of SpeX Prism Observations: T Dwarf Candidates C Format for file interpretation 1 format( + 6X,A17,A1,2X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,A1,F5.2,1X,F4.2, + 1X,A10,1X,I4,1X,F4.2,1X,F3.1,1X,A9,1X,A5,1X,A20,A1,1X,A5,1X,A9) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,67 read(1,'(A138)')ar__ read(ar__,1) + v2MASS,m_2MASS,Jmag,e_Jmag,J_H,e_J_H,l_H_Ks,H_Ks,e_H_Ks,Date, + ExpTime,AirMass,AirMass2,Calib,SpCal,Class,n_Class,Refs,VName if(ar__(56:59) .EQ. '') e_H_Ks = rNULL__ if(ar__(82:84) .EQ. '') AirMass2 = rNULL__ c ..............Just test output........... write(6,1) + v2MASS,m_2MASS,Jmag,e_Jmag,J_H,e_J_H,l_H_Ks,H_Ks,e_H_Ks,Date, + ExpTime,AirMass,AirMass2,Calib,SpCal,Class,n_Class,Refs,VName c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Log of SpeX Prism Observations: Comparison Stars C Format for file interpretation 2 format( + 6X,A17,A1,2X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,A1,F5.2,1X,F4.2, + 1X,A10,1X,I4,1X,F4.2,1X,F3.1,1X,A9,1X,A5,1X,A20,A1,1X,A5,1X,A9) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,33 read(1,'(A138)')ar__1 read(ar__1,2) + v2MASS_1,m_2MASS_1,Jmag_1,e_Jmag_1,J_H_1,e_J_H_1,l_H_Ks_1, + H_Ks_1,e_H_Ks_1,Date_1,ExpTime_1,AirMass_1,AirMass2_1,Calib_1, + SpCal_1,Class_1,n_Class_1,Refs_1,VName_1 if(ar__1(56:59) .EQ. '') e_H_Ks_1 = rNULL__ if(ar__1(82:84) .EQ. '') AirMass2_1 = rNULL__ c ..............Just test output........... write(6,2) + v2MASS_1,m_2MASS_1,Jmag_1,e_Jmag_1,J_H_1,e_J_H_1,l_H_Ks_1, + H_Ks_1,e_H_Ks_1,Date_1,ExpTime_1,AirMass_1,AirMass2_1,Calib_1, + SpCal_1,Class_1,n_Class_1,Refs_1,VName_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References C Format for file interpretation 3 format(I2,1X,A19,1X,A21,2X,A30) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,23 read(1,'(A80)')ar__2 read(ar__2,3)Ref,BibCode,Aut,Com c ..............Just test output........... write(6,3)Ref,BibCode,Aut,Com c .......End.of.Just test output........... end do close(1) C============================================================================= stop end