Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/687/A205 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 2026-Oct-08
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/687/A205 Stellar parameters of 286 CARMENES M dwarfs (Mas-Buitrago+, 2024)
*================================================================================
*Using autoencoders and deep transfer learning to determine the stellar
*parameters of 286 CARMENES M dwarfs.
* Mas-Buitrago P., Gonzalez-Marcos A., Solano E., Passegger V.M.,
* Cortes-Contreras M., Ordieres-Mere J., Bello-Garcia A., Caballero J.A.,
* Schweitzer A., Tabernero H.M., Montes D., Cifuentes C.
* <Astron. Astrophys. 687, A205 (2024)>
* =2024A&A...687A.205M (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea1.dat' ! The catalogue
integer*4 nr__
parameter (nr__=286) ! Number of records
character*128 ar__ ! Full-size record
C J2000.0 position composed of: RAdeg DEdeg (Epoch=J2016.0)
character*11 Karmn ! CARMENES identifier (JHHMMm+DDdA)
character*23 Name ! Discovery or most common name (1)
real*8 RAdeg ! (deg) ? Right ascension (J2000.0) (2)
real*8 DEdeg ! (deg) ? Declination (J2000.0) (2)
integer*4 Teff ! (K) Effective temperature from our methodology
integer*4 e_Teff ! (K) Delta Teff for -1 sigma
integer*4 E_Teff_1 ! (K) Delta Teff for +1 sigma
real*4 logg ! ([cm/s2]) Surface gravity from our methodology
real*4 e_logg ! ([cm/s2]) Delta logg for -1 sigma
real*4 E_logg_1 ! ([cm/s2]) Delta logg for +1 sigma
real*4 v_M_H_ ! ([Sun]) Metallicity from our methodology
real*4 e__M_H_ ! ([Sun]) Delta [M/H] for -1 sigma
real*4 E__M_H__1 ! ([Sun]) Delta [M/H] for +1 sigma
real*4 vsini ! ([km/s]) Projected rotational velocity from our
* methodology
real*4 e_vsini ! ([km/s]) Delta vsini for -1 sigma
real*4 E_vsini_1 ! ([km/s]) Delta vsini for +1 sigma
*Note (1): From Cifuentes et al. (2020A&A...642A.115C, Cat. J/A+A/642/A115)
*Note (2): Equatorial coordinates at epoch J2016.0 in equinox J2000,
* from Gaia DR3.
C=============================================================================
C Loading file 'tablea1.dat' ! The catalogue
C Format for file interpretation
1 format(
+ A11,1X,A23,1X,F16.11,1X,F15.11,1X,I4,1X,I3,1X,I3,1X,F4.2,1X,
+ F4.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'tablea1.dat')
write(6,*) '....Loading file: tablea1.dat'
do i__=1,286
read(1,'(A128)')ar__
read(ar__,1)
+ Karmn,Name,RAdeg,DEdeg,Teff,e_Teff,E_Teff_1,logg,e_logg,
+ E_logg_1,v_M_H_,e__M_H_,E__M_H__1,vsini,e_vsini,E_vsini_1
if(ar__(37:52) .EQ. '') RAdeg = rNULL__
if(ar__(54:68) .EQ. '') DEdeg = rNULL__
c ..............Just test output...........
write(6,1)
+ Karmn,Name,RAdeg,DEdeg,Teff,e_Teff,E_Teff_1,logg,e_logg,
+ E_logg_1,v_M_H_,e__M_H_,E__M_H__1,vsini,e_vsini,E_vsini_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end