Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/445/2223 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-Mar-28 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/445/2223 Mass estimation for FGK stars (Pinheiro+, 2014) *================================================================================ *On the mass estimation for FGK stars: comparison of several methods. * Pinheiro F.J.G., Fernandes J.M., Cunha M.S., Monteiro M.J.P.F.G., * Santos N.C., Sousa S.G., Marques J.P., Fang J.-J., Mortier A., Sousa J. * <Mon. Not. R. Astron. Soc., 445, 2223-2231 (2014)> * =2014MNRAS.445.2223P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea1.dat' ! Mass estimate for the targets from Sousa et al. 2008 (J/A+A/487/373) according to different methods integer*4 nr__ parameter (nr__=451) ! Number of records character*98 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 Seq (nr__) ! [1/451] Sequential number character*10 Name (nr__) ! Star's identifier integer*4 RAh (nr__) ! (h) Right ascension (J2000) integer*4 RAm (nr__) ! (min) Right ascension (J2000) real*4 RAs (nr__) ! (s) Right ascension (J2000) character*1 DE_ (nr__) ! Declination sign (J2000) integer*4 DEd (nr__) ! (deg) Declination (J2000) integer*4 DEm (nr__) ! (arcmin) Declination (J2000) real*4 DEs (nr__) ! (arcsec) Declination (J2000) real*4 M1 (nr__) ! (Msun) [0.6/1.4] Direct estimation of the stellar * mass using the spectroscopic surface gravity real*4 e_M1 (nr__) ! (Msun) [0.04/0.12] Error in M1 real*4 M2 (nr__) ! (Msun) [0.1/2.9] Estimation of the stellar mass using * the method of Torres et al. (2010AJ....140.1158T) real*4 e_M2 (nr__) ! (Msun) [0.03/2.5] Error in M2 real*4 M3 (nr__) ! (Msun) [0.6/1.5] Estimation of the stellar mass * using the method of Henry & McCarthy * (1993AJ....106..773H) real*4 e_M3 (nr__) ! (Msun) [0.05/0.11] Error in M3 real*4 M4 (nr__) ! (Msun) [0.5/1.4] Estimation of the stellar mass using * the Padova models real*4 e_M4 (nr__) ! (Msun) [0.05/0.08] Error in M4 real*4 M (nr__) ! (Msun) [0.6/1.5] Median of the previous 4 mass estimates real*4 e_M (nr__) ! (Msun) [0.03/0.08] Error in M c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea2.dat' ! Mass estimate for the targets from Sousa et al. 2011 (J/A+A/533/A141) according to different methods integer*4 nr__1 parameter (nr__1=582) ! Number of records character*97 ar__1 ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 Seq_1 (nr__1) ! [1/582] Sequential number character*10 Name_1 (nr__1) ! Star's identifier real*8 RAdeg_1 (nr__1) ! (deg) Right ascension (J2000) real*8 DEdeg_1 (nr__1) ! (deg) Declination (J2000) real*4 M1_1 (nr__1) ! (Msun) [0.6/1.5] Direct estimation of the stellar mass * using the spectroscopic surface gravity real*4 e_M1_1 (nr__1) ! (Msun) [0.03/0.1] Error in M1 real*4 M2_1 (nr__1) ! (Msun) [0.037/4.1] Estimation of the stellar mass using * the method of Torres et al. (2010AJ....140.1158T) real*8 e_M2_1 (nr__1) ! (Msun) [0.03/1049] Error in M2 real*4 M3_1 (nr__1) ! (Msun) [0.6/1.8] Estimation of the stellar mass using * method of Henry & McCarthy (1993AJ....106..773H) real*4 e_M3_1 (nr__1) ! (Msun) [0.03/0.13] Error in M3 real*4 M4_1 (nr__1) ! (Msun) [0.5/1.8] Estimation of the stellar mass using * the Padova models real*4 e_M4_1 (nr__1) ! (Msun) [0.03/0.11] Error in M4 real*4 M_1 (nr__1) ! (Msun) [0.5/1.8] Median of the previous 4 mass estimates real*4 e_M_1 (nr__1) ! (Msun) [0.02/0.12] Error in M c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea3.dat' ! Mass estimate for the targets from Bruntt et al. (2010MNRAS.405.1907B) according to different methods integer*4 nr__2 parameter (nr__2=22) ! Number of records character*75 ar__2 ! Full-size record integer*4 Seq_2 (nr__2) ! [1/22] Sequential number character*11 Name_2 (nr__2) ! Star's identifier real*4 M1_2 (nr__2) ! (Msun) [0.7/2.2] Direct estimation of the stellar mass * using the spectroscopic surface gravity real*4 e_M1_2 (nr__2) ! (Msun) [0.05/0.3] Error in M1 real*4 M2_2 (nr__2) ! (Msun) [0.9/2.9] Estimation of the stellar mass using * the method of Torres et al. (2010AJ....140.1158T) real*4 e_M2_2 (nr__2) ! (Msun) [0.4/1.4] Error in M2 real*4 M3_2 (nr__2) ! (Msun) [0.9/2.5] Estimation of the stellar mass using * method of Henry & McCarthy (1993AJ....106..773H) real*4 e_M3_2 (nr__2) ! (Msun) [0.06/0.2] Error in M3 real*4 M4_2 (nr__2) ! (Msun) [0.7/2.9] Estimation of the stellar mass using * the Padova models real*4 e_M4_2 (nr__2) ! (Msun) [0.05/0.2] Error in M4 real*4 M_2 (nr__2) ! (Msun) [0.8/2.7] Median of the previous 4 mass estimates real*4 e_M_2 (nr__2) ! (Msun) [0.05/0.24] Error in M C============================================================================= C Loading file 'tablea1.dat' ! Mass estimate for the targets from Sousa et al. * 2008 (J/A+A/487/373) according to different methods C Format for file interpretation 1 format( + I3,1X,A10,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.3, + 1X,F5.3,1X,F5.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= +'tablea1.dat') write(6,*) '....Loading file: tablea1.dat' do i__=1,451 read(1,'(A98)')ar__ read(ar__,1) + Seq(i__),Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),M1(i__),e_M1(i__),M2(i__), + e_M2(i__),M3(i__),e_M3(i__),M4(i__),e_M4(i__),M(i__),e_M(i__) RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + Seq(i__),Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),M1(i__),e_M1(i__),M2(i__), + e_M2(i__),M3(i__),e_M3(i__),M4(i__),e_M4(i__),M(i__),e_M(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea2.dat' ! Mass estimate for the targets from Sousa et al. * 2011 (J/A+A/533/A141) according to different methods C Format for file interpretation 2 format( + I3,1X,A10,1X,F9.5,1X,F9.5,1X,F5.3,1X,F5.3,1X,F5.3,1X,F8.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= +'tablea2.dat') write(6,*) '....Loading file: tablea2.dat' do i__=1,582 read(1,'(A97)')ar__1 read(ar__1,2) + Seq_1(i__),Name_1(i__),RAdeg_1(i__),DEdeg_1(i__),M1_1(i__), + e_M1_1(i__),M2_1(i__),e_M2_1(i__),M3_1(i__),e_M3_1(i__), + M4_1(i__),e_M4_1(i__),M_1(i__),e_M_1(i__) c ..............Just test output........... write(6,2) + Seq_1(i__),Name_1(i__),RAdeg_1(i__),DEdeg_1(i__),M1_1(i__), + e_M1_1(i__),M2_1(i__),e_M2_1(i__),M3_1(i__),e_M3_1(i__), + M4_1(i__),e_M4_1(i__),M_1(i__),e_M_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea3.dat' ! Mass estimate for the targets from Bruntt et al. * (2010MNRAS.405.1907B) according to different methods C Format for file interpretation 3 format( + I3,1X,A11,1X,F5.3,1X,F5.3,1X,F5.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= +'tablea3.dat') write(6,*) '....Loading file: tablea3.dat' do i__=1,22 read(1,'(A75)')ar__2 read(ar__2,3) + Seq_2(i__),Name_2(i__),M1_2(i__),e_M1_2(i__),M2_2(i__), + e_M2_2(i__),M3_2(i__),e_M3_2(i__),M4_2(i__),e_M4_2(i__), + M_2(i__),e_M_2(i__) c ..............Just test output........... write(6,3) + Seq_2(i__),Name_2(i__),M1_2(i__),e_M1_2(i__),M2_2(i__), + e_M2_2(i__),M3_2(i__),e_M3_2(i__),M4_2(i__),e_M4_2(i__), + M_2(i__),e_M_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end