Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/493/913 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-18 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/493/913 Abundances of 9 HB stars in NGC 6352 (Feltzing+, 2009) *================================================================================ *Stellar abundances and ages for metal-rich Milky Way globular clusters. *Stellar parameters and elemental abundances for 9 HB stars in NGC 6352. * Feltzing S., Primas F., Johnson R.A. * <Astron. Astrophys. 493, 913 (2009)> * =2009A&A...493..913F C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Data for our sample integer*4 nr__ parameter (nr__=9) ! Number of records character*61 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 Seq (nr__) ! [01/09] Star number, as in Fig. 1 integer*4 ALC (nr__) ! ? Alcaino (1971A&A....11....7A) number, * Cl* NGC 6352 ALC NNN in Simbad integer*4 HH (nr__) ! ? Hartwick & Hesser (1972ApJ...175...77H) * number, NGC 6352 NNN in Simbad real*8 RAdeg (nr__) ! (deg) Right ascension in decimal degrees (J2000) (1) real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000) (1) real*4 Vmag (nr__) ! (mag) HST V555 magnitude real*4 V_I (nr__) ! (mag) HST V555-I814 colour index real*4 Kmag (nr__) ! (mag) 2MASS K magnitude *Note (1): Positions from 2MASS (Skrutskie et al., 2006AJ....131.1163S). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'abun.dat' ! Elemental abundances for the nine stars in NGC 6352 integer*4 nr__1 parameter (nr__1=143) ! Number of records character*26 ar__1 ! Full-size record integer*4 Seq_1 (nr__1) ! [01/09]? Star number, as in Fi.g 1 character*4 n_Seq (nr__1) ! [Mean Med] Mean or Median abundance for all stars character*4 El (nr__1) ! Element and ionizational stage * (I for neutral, II for singly ionized) real*4 Abund (nr__1) ! ([Sun]) Abundance of the element real*4 sigma (nr__1) ! ([Sun]) ? The associate line-to-line scatter (1) integer*4 NLine (nr__1) ! ? Number of lines used in the determination * of the abundance *Note (1): Note that this is the line-to-line scatter. The error in the mean * for the abundance is hence sigma/sqrt(NLine). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'ew.dat' ! Measured equivalent widths for 13 elements integer*4 nr__2 parameter (nr__2=3222) ! Number of records character*32 ar__2 ! Full-size record integer*4 Seq_2 (nr__2) ! [01/09] Star number, as in Fig. 1 character*4 El_1 (nr__2) ! Element and ionizational stage * (I for neutral, II for singly ionized) real*8 Lambda (nr__2) ! (0.1nm) Wavelength for the line, in Angstrom real*4 Chi (nr__2) ! (eV) Excitation energy of the lower level real*4 log_gf (nr__2) ! Oscillator strengths used in the * abundance analysis real*4 EW (nr__2) ! (0.1pm) Equivalenth widths C============================================================================= C Loading file 'table1.dat' ! Data for our sample C Format for file interpretation 1 format( + 9X,I2,2X,I3,2X,I3,1X,F10.6,1X,F10.6,1X,F5.2,1X,F4.2,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,9 read(1,'(A61)')ar__ read(ar__,1) + Seq(i__),ALC(i__),HH(i__),RAdeg(i__),DEdeg(i__),Vmag(i__), + V_I(i__),Kmag(i__) if(ar__(14:16) .EQ. '') ALC(i__) = iNULL__ if(ar__(19:21) .EQ. '') HH(i__) = iNULL__ c ..............Just test output........... write(6,1) + Seq(i__),ALC(i__),HH(i__),RAdeg(i__),DEdeg(i__),Vmag(i__), + V_I(i__),Kmag(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'abun.dat' ! Elemental abundances for the nine stars in NGC 6352 C Format for file interpretation 2 format(I2,A4,1X,A4,1X,F5.2,1X,F4.2,1X,I3) C Effective file loading open(unit=1,status='old',file= +'abun.dat') write(6,*) '....Loading file: abun.dat' do i__=1,143 read(1,'(A26)')ar__1 read(ar__1,2) + Seq_1(i__),n_Seq(i__),El(i__),Abund(i__),sigma(i__),NLine(i__) if(ar__1(1:2) .EQ. '') Seq_1(i__) = iNULL__ if(ar__1(19:22) .EQ. '') sigma(i__) = rNULL__ if(ar__1(24:26) .EQ. '') NLine(i__) = iNULL__ c ..............Just test output........... write(6,2) + Seq_1(i__),n_Seq(i__),El(i__),Abund(i__),sigma(i__),NLine(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'ew.dat' ! Measured equivalent widths for 13 elements C Format for file interpretation 3 format(I2,1X,A4,1X,F7.2,1X,F4.2,1X,F5.2,1X,F5.1) C Effective file loading open(unit=1,status='old',file= +'ew.dat') write(6,*) '....Loading file: ew.dat' do i__=1,3222 read(1,'(A32)')ar__2 read(ar__2,3) + Seq_2(i__),El_1(i__),Lambda(i__),Chi(i__),log_gf(i__),EW(i__) c ..............Just test output........... write(6,3) + Seq_2(i__),El_1(i__),Lambda(i__),Chi(i__),log_gf(i__),EW(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end