Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/601/A97 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-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/A+A/601/A97 Gaia-ESO Survey: Cha I members (Sacco+, 2017) *================================================================================ *The Gaia-ESO Survey: *Structural and dynamical properties of the young cluster Chamaeleon I. * Sacco G.G., Spina L., Randich S., Palla F., Parker R.J., Jeffries R. D., * Jackson R., Meyer M.R., Mapelli M.,Lanzafame A.C., Bonito R., Damiani F., * Franciosini E., Frasca A., Klutsch A., Prisinzano L., Tognelli E., * Degl'Innocenti S., Prada Moroni P.G., Alfaro E.J., Micela G., Prusti T., * Barrado D., Biazzo K., Bouy H., Bravi L., Lopez-Santiago J., Wright N.J., * Bayo A., Gilmore G., Bragaglia A., Flaccomio E., Koposov S.E., Pancino E., * Casey A.R. Costado M.T., Donati P., Hourihane A., Jofre P., Lardo C., * Lewis J., Magrini L., Monaco L., Morbidelli L., Sousa S.G., Worley C.C., * Zaggia S. * <Astron. Astrophys. 601, A97 (2017)> * =2017A&A...601A..97S (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Members of Cha I observed by the Gaia-ESO Survey integer*4 nr__ parameter (nr__=120) ! Number of records character*94 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*18 Name ! Common name of Gaia-ESO targets, * HHMMSSss+DDMMSSs real*8 RAdeg ! (deg) Right ascension (J2000) real*8 DEdeg ! (deg) Declination (J2000) real*8 HRV ! (km/s) ? Heliocentric radial velocity (1) real*4 e_HRV ! (km/s) ? Error on heliocentric velocity (1) integer*4 Teff ! (K) ? Effective temperature integer*4 e_Teff ! (K) ? Error on effective temperature real*4 Gamma ! ? Empirical gravity index (2) real*4 e_Gamma ! ? Error on empirical gravity index (2) integer*4 EW_Li ! (0.1pm) ? Equivalent width of the Li line at 607.8nm integer*4 e_EW_Li ! (0.1pm) ? Error on EW(Li) integer*4 Ha10 ! (km/s) ? Width of the Halpha at 10% of the peak integer*4 e_Ha10 ! (km/s) ? Error on Ha10 character*1 Spec ! Spectrograph used for the observation (3) character*2 Memb ! [YNS ] Membership flag (4) *Note (1): Radial Velocities and their errors derived from the Gaia-ESO spectra * as described in Jackson et et al. (2015A&A...580A..75J, Cat. J/A+A/580/A75) * for GIRAFFE spectra and Sacco et al. (2014A&A...565A.113S) for UVES spectra. *Note (2): Empirical gravity indexes and their errors measured from GIRAFFE HR15N * spectra (647-679nm) as described in Damiani et al. (2014A&A...566A..50D, * Cat. J/A+A/566/A50) *Note (3): Spectrograph used in the observation. U for UVES and G for GIRAFFE. *Note (4): Flag as follows: * Y = star is a known member from the literature * N = new member discovered with this work * NS = star 10563146-7618334 is likely a new member of the young stellar * association epsilon Cha. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Members of Cha I used for the structural analysis integer*4 nr__1 parameter (nr__1=155) ! Number of records character*38 ar__1 ! Full-size record C J2000 position composed of: RAdeg DEdeg real*8 RAdeg_1 ! (deg) Right ascension (J2000) real*8 DEdeg_1 ! (deg) Declination (J2000) integer*4 Teff_1 ! (K) Effective temperature real*4 logLbol ! ([Lsun]) Bolometric luminosity (1) character*1 Prov ! [GL] Origin of the parameters (2) real*4 Mass ! (Msun) ? Stellar mass *Note (1): Log of the ratio between bolometric luminosity and solar luminosity, * assuming a solar bolometric magnitude 4.55mag and a distance of 160pc. *Note (2): Origin of the parameters as follows: * G = parameters are retrieved by the Gaia-ESO catalogue * L = parameters are retrieved by Luhman (2004, Cat. J/ApJ/602/816) and * Luhman (2007, Cat. J/ApJS/173/104) C============================================================================= C Loading file 'table1.dat' ! Members of Cha I observed by the Gaia-ESO Survey C Format for file interpretation 1 format( + A18,1X,F9.5,1X,F9.5,1X,F7.2,1X,F4.2,1X,I4,1X,I4,1X,F5.3,1X, + F5.3,1X,I3,1X,I3,1X,I3,1X,I3,1X,A1,1X,A2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,120 read(1,'(A94)')ar__ read(ar__,1) + Name,RAdeg,DEdeg,HRV,e_HRV,Teff,e_Teff,Gamma,e_Gamma,EW_Li, + e_EW_Li,Ha10,e_Ha10,Spec,Memb if(ar__(40:46) .EQ. '') HRV = rNULL__ if(ar__(48:51) .EQ. '') e_HRV = rNULL__ if(ar__(53:56) .EQ. '') Teff = iNULL__ if(ar__(58:61) .EQ. '') e_Teff = iNULL__ if(ar__(63:67) .EQ. '') Gamma = rNULL__ if(ar__(69:73) .EQ. '') e_Gamma = rNULL__ if(ar__(75:77) .EQ. '') EW_Li = iNULL__ if(ar__(79:81) .EQ. '') e_EW_Li = iNULL__ if(ar__(83:85) .EQ. '') Ha10 = iNULL__ if(ar__(87:89) .EQ. '') e_Ha10 = iNULL__ c ..............Just test output........... write(6,1) + Name,RAdeg,DEdeg,HRV,e_HRV,Teff,e_Teff,Gamma,e_Gamma,EW_Li, + e_EW_Li,Ha10,e_Ha10,Spec,Memb c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Members of Cha I used for the structural analysis C Format for file interpretation 2 format(F9.5,1X,F9.5,1X,I5,1X,F5.2,1X,A1,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,155 read(1,'(A38)')ar__1 read(ar__1,2)RAdeg_1,DEdeg_1,Teff_1,logLbol,Prov,Mass if(ar__1(35:38) .EQ. '') Mass = rNULL__ c ..............Just test output........... write(6,2)RAdeg_1,DEdeg_1,Teff_1,logLbol,Prov,Mass c .......End.of.Just test output........... end do close(1) C============================================================================= stop end