Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/791/107 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-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/ApJ/791/107 Parameters of NGC 5139 SGBs stars (Villanova+, 2014) *================================================================================ *The metallicity spread and the age-metallicity relation of {omega} Centauri. * Villanova S., Geisler D., Gratton R.G., Cassisi S. * <Astrophys. J., 791, 107 (2014)> * =2014ApJ...791..107V (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Parameters of the observed stars integer*4 nr__ parameter (nr__=172) ! Number of records character*81 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*9 ID (nr__) ! SGB identifier (SGB_A.NNN) real*8 RAdeg (nr__) ! (deg) Right Ascension in decimal degrees (J2000) real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000) real*4 F435Wmag (nr__) ! (mag) HST/ACS F435W band magnitude real*4 F625Wmag (nr__) ! (mag) HST/ACS F625W band magnitude integer*4 Teff (nr__) ! (K) Effective temperature real*4 log_g (nr__) ! ([cm/s2]) Log surface gravity real*4 VTurb (nr__) ! (km/s) Turbulent velocity real*4 v_Fe_H_ (nr__) ! ([-]) Metallicity real*4 RVel (nr__) ! (km/s) Radial velocity real*4 Age (nr__) ! (Gyr) Age C============================================================================= C Loading file 'table3.dat' ! Parameters of the observed stars C Format for file interpretation 1 format( + A9,1X,F12.8,1X,F12.8,1X,F6.3,1X,F6.3,1X,I4,1X,F4.2,1X,F4.2,1X, + F5.2,1X,F5.1,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,172 read(1,'(A81)')ar__ read(ar__,1) + ID(i__),RAdeg(i__),DEdeg(i__),F435Wmag(i__),F625Wmag(i__), + Teff(i__),log_g(i__),VTurb(i__),v_Fe_H_(i__),RVel(i__), + Age(i__) c ..............Just test output........... write(6,1) + ID(i__),RAdeg(i__),DEdeg(i__),F435Wmag(i__),F625Wmag(i__), + Teff(i__),log_g(i__),VTurb(i__),v_Fe_H_(i__),RVel(i__), + Age(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end