Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/527/A18 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/A+A/527/A18 EW of 6 subgiants of {omega} Cen (Pancino+, 2011) *================================================================================ *The subgiant branch of omega Cen seen through high-resolution spectroscopy. *I. The first stellar generation in omega Centauri? * Pancino E., Mucciarelli A., Sbordone L., Bellazzini M., Monaco L., * Ferraro F.R. * <Astron. Astrophys. 527, A18 (2011)> * =2011A&A...527A..18P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Observing logs integer*4 nr__ parameter (nr__=6) ! Number of records character*79 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 WFI ! WFI identification number of subgiant real*8 RAdeg ! (deg) Right ascension (J2000) real*8 DEdeg ! (deg) Declination (J2000) real*4 Vmag ! (mag) V magnitude real*4 v_B_V_0 ! (mag) Deredenned B-V colour index real*4 v_V_I_0 ! (mag) Deredenned V-I colour index integer*4 R ! Resolution ({lambda}/{dlta}{lambda} ratio) integer*4 Texp ! (s) Exposure time integer*4 S_N ! Signal-to-noise ratio at 550nm real*4 RV ! (km/s) Radial velocity real*4 e_RV ! (km/s) rms uncertainty on RV character*9 Notes ! Notes c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Equivalent widths and atomic data integer*4 nr__1 parameter (nr__1=507) ! Number of records character*146 ar__1 ! Full-size record real*8 lambda ! (0.1nm) Wavelength in Angstroms character*4 Ion ! Element name and ionization stage real*4 EP ! (eV) Excitation potential real*4 loggf ! ([-]) Logarithm of the oscillator strength real*4 W503358 ! (0.1pm) ?=0 Equivalent width of star WFI 503358 (1) real*4 e_W503358 ! (0.1pm) ?=0 formal error on W503358 (in m{AA}) (1) real*4 q_W503358 ! ?=0 DAOSPEC Q parameter for star WFI 503358 (1) real*4 W503951 ! (0.1pm) ?=0 Equivalent width of star WFI 503951 (1) real*4 e_W503951 ! (0.1pm) ?=0 formal error on W503951 (in m{AA}) (1) real*4 q_W503951 ! ?=0 DAOSPEC Q parameter for star WFI 503951 (1) real*4 W507109 ! (0.1pm) ?=0 Equivalent width of star WFI 507109 (1) real*4 e_W507109 ! (0.1pm) ?=0 formal error on W507109 (in m{AA}) (1) real*4 q_W507109 ! ?=0 DAOSPEC Q parameter for star WFI 507109 (1) real*4 W507633 ! (0.1pm) ?=0 Equivalent width of star WFI 507633 (1) real*4 e_W507633 ! (0.1pm) ?=0 formal error on W507633 (in m{AA}) (1) real*4 q_W507633 ! ?=0 DAOSPEC Q parameter for star WFI 507633 (1) real*4 W512115 ! (0.1pm) ?=0 Equivalent width of star WFI 512115 (1) real*4 e_W512115 ! (0.1pm) ?=0 formal error on W512115 (in m{AA}) (1) real*4 q_W512115 ! ?=0 DAOSPEC Q parameter for star WFI 512115 (1) real*4 W512938 ! (0.1pm) ?=0 Equivalent width of star WFI 512938 (1) real*4 e_W512938 ! (0.1pm) ?=0 formal error on W512938 (in m{AA}) (1) real*4 q_W512938 ! ?=0 DAOSPEC Q parameter for star WFI 512938 (1) *Note (1): A value of zero in EW, EW error and Q parameter means that a line * was not measured or not used for the abundance analysis of that star. * The quality parameter Q measures the deviations from a gaussian line, * and is high (Q>1) for problematic lines (introduced by Stetson & Pancino * 2008PASP..120.1332S) C============================================================================= C Loading file 'table1.dat' ! Observing logs C Format for file interpretation 1 format( + I6,1X,F10.6,1X,F10.6,1X,F5.2,1X,F4.2,1X,F4.2,1X,I5,1X,I5,1X, + I2,1X,F5.1,1X,F3.1,1X,A9) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,6 read(1,'(A79)')ar__ read(ar__,1) + WFI,RAdeg,DEdeg,Vmag,v_B_V_0,v_V_I_0,R,Texp,S_N,RV,e_RV,Notes c ..............Just test output........... write(6,1) + WFI,RAdeg,DEdeg,Vmag,v_B_V_0,v_V_I_0,R,Texp,S_N,RV,e_RV,Notes c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Equivalent widths and atomic data C Format for file interpretation 2 format( + F7.2,2X,A4,2X,F4.2,2X,F5.2,2X,F5.1,2X,F4.1,2X,F5.3,2X,F5.1,2X, + F4.1,2X,F5.3,2X,F5.1,2X,F4.1,2X,F5.3,2X,F5.1,2X,F4.1,2X,F5.3, + 2X,F5.1,2X,F4.1,2X,F5.3,2X,F5.1,2X,F4.1,2X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,507 read(1,'(A146)')ar__1 read(ar__1,2) + lambda,Ion,EP,loggf,W503358,e_W503358,q_W503358,W503951, + e_W503951,q_W503951,W507109,e_W507109,q_W507109,W507633, + e_W507633,q_W507633,W512115,e_W512115,q_W512115,W512938, + e_W512938,q_W512938 c ..............Just test output........... write(6,2) + lambda,Ion,EP,loggf,W503358,e_W503358,q_W503358,W503951, + e_W503951,q_W503951,W507109,e_W507109,q_W507109,W507633, + e_W507633,q_W507633,W512115,e_W512115,q_W512115,W512938, + e_W512938,q_W512938 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end