Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/603/A81 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/A+A/603/A81 Trumpler 14 and 16 in the Carina nebula (Damiani+, 2017) *================================================================================ *Gaia-ESO Survey: *Global properties of clusters Trumpler 14 and 16 in the Carina nebula. * Damiani F., Klutsch A., Jeffries R.D., Randich S., Prisinzano L., * Maiz-Apellaniz J., Micela G., Kalari V., Frasca A., Zwitter T., Bonito R., * Gilmore G., Flaccomio E., Francois P., Koposov S., Lanzafame A.C., * Sacco G.G., Bayo A., Carraro G., Casey A.R., Alfaro E.J., Costado M.T., * Donati P., Franciosini E., Hourihane A., Jofre P., Lardo C., Lewis J., * Magrini L., Monaco L., Morbidelli L., Worley C.C., Vink J.S., Zaggia S. * <Astron. Astrophys. 603, A81 (2017)> * =2017A&A...603A..81D (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Carina member identifications integer*4 nr__ parameter (nr__=298) ! Number of records character*87 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 v_HSB2012_ (nr__) ! Identifier in Hur et al. * (2012, Cat. J/AJ/143/41) character*18 CXOGNC (nr__) ! ? Identifier in Broos et al. * (2011, Cat. J/ApJS/194/2) integer*4 v_ADM2008_ (nr__) ! ? Identifier in Albacete-Colombo et al. * (2008, Cat. J/A+A/490/1055) character*18 YSO (nr__) ! Identifier in Zeidler et al. * (2016, Cat. J/A+A/585/A49) 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 sign (J2000) integer*4 DEm (nr__) ! (arcmin) Declination sign (J2000) real*4 DEs (nr__) ! (arcsec) Declination sign (J2000) real*4 Vmag (nr__) ! (mag) V magnitude from Hur et al. * (2012, Cat. J/AJ/143/41) real*4 B_V (nr__) ! (mag) ? B-V color from Hur et al. * (2012, Cat. J/AJ/143/41) real*4 V_I (nr__) ! (mag) V-I color from Hur et al. * (2012, Cat. J/AJ/143/41) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Carina member properties integer*4 nr__1 parameter (nr__1=298) ! Number of records character*79 ar__1 ! Full-size record integer*4 v_HSB2012__1(nr__1) ! Identifier in Hur et al. * (2012, Cat. J/AJ/143/41) real*4 S_N (nr__1) ! Signal/noise ratio in optical spectrum real*4 HRV (nr__1) ! (km/s) ? Stellar heliocentric radial velocity real*4 e_HRV (nr__1) ! (km/s) ? Error on HRV real*4 vsini (nr__1) ! (km/s) ? Rotational velocity vsini real*4 e_vsini (nr__1) ! (km/s) ? Error on vsini integer*4 Teff (nr__1) ! (K) ? Effective temperature integer*4 e_Teff (nr__1) ! (K) ? Error on Teff real*4 A_V (nr__1) ! (mag) ? Optical extinction real*4 EWLi (nr__1) ! (0.1pm) ? Lithium 670.7nm equivalent width real*4 e_EWLi (nr__1) ! (0.1pm) ? Error on EWLi real*4 gamma (nr__1) ! Gravity index from Damiani et al. * (2014, Cat. J/A+A/566/A50) real*4 e_gamma (nr__1) ! Error on gamma real*4 logAge (nr__1) ! ([yr]) ? Isochronal age (log) character*1 Halpha (nr__1) ! [Y/N] Classical T Tauri star candidate character*1 SB2 (nr__1) ! [Y/N] SB2 binary c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table7.dat' ! Carina early-type stars integer*4 nr__2 parameter (nr__2=110) ! Number of records character*105 ar__2 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 (nr__2) ! (deg) Right Ascension J2000 real*8 DEdeg_1 (nr__2) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*16 v2MASS (nr__2) ! Identifier from 2MASS character*28 SIMBAD (nr__2) ! Identifier from SIMBAD integer*4 RAh_1 (nr__2) ! (h) Right Ascension (J2000) integer*4 RAm_1 (nr__2) ! (min) Right Ascension (J2000) real*4 RAs_1 (nr__2) ! (s) Right Ascension (J2000) character*1 DE__1 (nr__2) ! Declination sign (J2000) integer*4 DEd_1 (nr__2) ! (deg) Declination sign (J2000) integer*4 DEm_1 (nr__2) ! (arcmin) Declination sign (J2000) real*4 DEs_1 (nr__2) ! (arcsec) Declination sign (J2000) real*4 Vmag_1 (nr__2) ! (mag) V magnitude from Hur et al. * (2012, Cat. J/AJ/143/41) real*4 B_V_1 (nr__2) ! (mag) B-V color from Hur et al. * (2012, Cat. J/AJ/143/41) real*4 V_I_1 (nr__2) ! (mag) V-I color from Hur et al. * (2012, Cat. J/AJ/143/41) character*3 SpType (nr__2) ! MK spectral type from SIMBAD character*15 Notes (nr__2) ! New spectral classification (1) *Note (1): Spectroscopic classification as follows: * B type = main-sequence B-type stars * O type = O-type stars * B SG = candidate B supergiants * near A0 = stars of late-B/early-A type * HAeBe = Herbig Ae/Be stars C============================================================================= C Loading file 'table1.dat' ! Carina member identifications C Format for file interpretation 1 format( + I4,1X,A18,1X,I4,1X,A18,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X, + F4.1,1X,F5.2,1X,F4.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,298 read(1,'(A87)')ar__ read(ar__,1) + v_HSB2012_(i__),CXOGNC(i__),v_ADM2008_(i__),YSO(i__),RAh(i__), + RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),DEs(i__), + Vmag(i__),B_V(i__),V_I(i__) if(ar__(25:28) .EQ. '') v_ADM2008_(i__) = iNULL__ if(ar__(79:82) .EQ. '') B_V(i__) = rNULL__ 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) + v_HSB2012_(i__),CXOGNC(i__),v_ADM2008_(i__),YSO(i__),RAh(i__), + RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),DEs(i__), + Vmag(i__),B_V(i__),V_I(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 'table2.dat' ! Carina member properties C Format for file interpretation 2 format( + I4,1X,F5.1,1X,F5.1,1X,F4.1,1X,F5.1,1X,F4.1,1X,I4,1X,I4,1X, + F4.2,1X,F5.1,1X,F4.1,1X,F5.3,1X,F5.3,1X,F4.2,1X,A1,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,298 read(1,'(A79)')ar__1 read(ar__1,2) + v_HSB2012__1(i__),S_N(i__),HRV(i__),e_HRV(i__),vsini(i__), + e_vsini(i__),Teff(i__),e_Teff(i__),A_V(i__),EWLi(i__), + e_EWLi(i__),gamma(i__),e_gamma(i__),logAge(i__),Halpha(i__), + SB2(i__) if(ar__1(12:16) .EQ. '') HRV(i__) = rNULL__ if(ar__1(18:21) .EQ. '') e_HRV(i__) = rNULL__ if(ar__1(23:27) .EQ. '') vsini(i__) = rNULL__ if(ar__1(29:32) .EQ. '') e_vsini(i__) = rNULL__ if(ar__1(34:37) .EQ. '') Teff(i__) = iNULL__ if(ar__1(39:42) .EQ. '') e_Teff(i__) = iNULL__ if(ar__1(44:47) .EQ. '') A_V(i__) = rNULL__ if(ar__1(49:53) .EQ. '') EWLi(i__) = rNULL__ if(ar__1(55:58) .EQ. '') e_EWLi(i__) = rNULL__ if(ar__1(72:75) .EQ. '') logAge(i__) = rNULL__ c ..............Just test output........... write(6,2) + v_HSB2012__1(i__),S_N(i__),HRV(i__),e_HRV(i__),vsini(i__), + e_vsini(i__),Teff(i__),e_Teff(i__),A_V(i__),EWLi(i__), + e_EWLi(i__),gamma(i__),e_gamma(i__),logAge(i__),Halpha(i__), + SB2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table7.dat' ! Carina early-type stars C Format for file interpretation 3 format( + A16,1X,A28,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2, + 1X,F4.2,1X,F4.2,1X,A3,1X,A15) C Effective file loading open(unit=1,status='old',file= +'table7.dat') write(6,*) '....Loading file: table7.dat' do i__=1,110 read(1,'(A105)')ar__2 read(ar__2,3) + v2MASS(i__),SIMBAD(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__), + DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),Vmag_1(i__), + B_V_1(i__),V_I_1(i__),SpType(i__),Notes(i__) RAdeg_1(i__) = rNULL__ DEdeg_1(i__) = rNULL__ c Derive coordinates RAdeg_1 and DEdeg_1 from input data c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown) if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15. if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4. if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240. if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__) if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60. if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600. if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__) c ..............Just test output........... write(6,3) + v2MASS(i__),SIMBAD(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__), + DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),Vmag_1(i__), + B_V_1(i__),V_I_1(i__),SpType(i__),Notes(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end