Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/640/L43 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-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/ApJ/640/L43 Metallicities of RR Lyrae stars in Omega Cen (Sollima+, 2006) *================================================================================ *New metallicities of RR Lyrae stars in {omega} Centauri: evidence for a *non-He-enhanced metal-intermediate population. * Sollima A., Borissova J., Catelan M., Smith H.A., Minniti D., Cacciari C., * Ferraro F.R. * <Astrophys. J., 640, L43-L46 (2006)> * =2006ApJ...640L..43S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Metallicities and properties of the target RRLyrae integer*4 nr__ parameter (nr__=74) ! Number of records character*53 ar__ ! Full-size record integer*4 Seq (nr__) ! The OGLE number * (Cl* NGC 5139 SAW VNNN in Simbad) real*4 v_Fe_H_ (nr__) ! ([Sun]) Metallicity real*4 e__Fe_H_ (nr__) ! ([Sun]) Error in [Fe/H] real*4 Vmag (nr__) ! (mag) Mean V magnitude from Kaluzny et al. * (2004, Cat. <J/A+A/424/1101>) real*4 Kmag (nr__) ! (mag) Mean K magnitude from Sollima et al. * (2004, Cat. <J/A+A/420/173>) real*4 log_T (nr__) ! ([K]) Logarithm of the mean temperature real*4 log_L (nr__) ! ([solLum]) Logarithm of the mean luminosity * in solar units integer*4 RRt (nr__) ! The RR type: 1=RRab, 0=RRc real*4 Vamp (nr__) ! (d) The V band amplitude real*4 Per (nr__) ! (d) Period C============================================================================= C Loading file 'table1.dat' ! Metallicities and properties of the target RRLyrae C Format for file interpretation 1 format( + I3,1X,F5.2,1X,F4.2,1X,F6.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,I1,1X, + F4.2,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,74 read(1,'(A53)')ar__ read(ar__,1) + Seq(i__),v_Fe_H_(i__),e__Fe_H_(i__),Vmag(i__),Kmag(i__), + log_T(i__),log_L(i__),RRt(i__),Vamp(i__),Per(i__) c ..............Just test output........... write(6,1) + Seq(i__),v_Fe_H_(i__),e__Fe_H_(i__),Vmag(i__),Kmag(i__), + log_T(i__),log_L(i__),RRt(i__),Vamp(i__),Per(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end