Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/283/911 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/A+A/283/911 Abundances in NGC 2243 and Mel 66 (Gratton+ 1994) *================================================================================ *Elemental abundances in the old open clusters NGC 2243 and Melotte 66 * GRATTON R.G., CONTARINI G. * <Astron. Astrophys. 283, 911 (1994)> * =1994A&A...283..911G C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1' ! Equivalent widths and abundances of lines in the spectra of giants in NGC 2243 and Mel 66 integer*4 nr__ parameter (nr__=258) ! Number of records character*77 ar__ ! Full-size record character*5 Specie (nr__) ! Specie real*8 Lambda (nr__) ! (0.1nm) Line wavelength real*4 EP (nr__) ! (eV) Excitation energy real*4 log_gf (nr__) ! Oscillator strength character*1 n (nr__) ! [ *] A * marks lines with detailed HFS * analysis real*4 EW4110 (nr__) ! (0.1pm) []? Equivalent width for star 4110 in NGC2243 character*1 n_EW4110 (nr__) ! [ s] When s, the line was saturated real*4 log_A4110 (nr__) ! []? Abundance for star 4110 in NGC2243 (1) real*4 EW4209 (nr__) ! (0.1pm) []? Equivalent width for star 4209 in NGC2243 character*1 n_EW4209 (nr__) ! [ s] When s, the line was saturated real*4 log_A4209 (nr__) ! []? Abundance for star 4209 in NGC2243 (1) real*4 EW1242 (nr__) ! (0.1pm) []? Equivalent width for star 1242 in Mel 66 character*1 n_EW1242 (nr__) ! [ s] When s, the line was saturated real*4 log_A1242 (nr__) ! []? Abundance for star 1242 in Mel 66 (1) real*4 EW4151 (nr__) ! (0.1pm) []? Equivalent width for star 4151 in Mel 66 character*1 n_EW4151 (nr__) ! [ s] When s, the line was saturated real*4 log_A4154 (nr__) ! []? Abundance for star 4154 in Mel 66 (1) *Note (1): The abundances are in the scale where log n(H)=12 C============================================================================= C Loading file 'table1' ! Equivalent widths and abundances of lines in * the spectra of giants in NGC 2243 and Mel 66 C Format for file interpretation 1 format( + A5,2X,F7.2,2X,F4.2,1X,F6.2,1X,A1,1X,F5.1,A1,1X,F4.2,1X,F5.1, + A1,1X,F4.2,1X,F5.1,A1,1X,F4.2,1X,F5.1,A1,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table1') write(6,*) '....Loading file: table1' do i__=1,258 read(1,'(A77)')ar__ read(ar__,1) + Specie(i__),Lambda(i__),EP(i__),log_gf(i__),n(i__), + EW4110(i__),n_EW4110(i__),log_A4110(i__),EW4209(i__), + n_EW4209(i__),log_A4209(i__),EW1242(i__),n_EW1242(i__), + log_A1242(i__),EW4151(i__),n_EW4151(i__),log_A4154(i__) if(ar__(31:35) .EQ. '') EW4110(i__) = rNULL__ if(ar__(38:41) .EQ. '') log_A4110(i__) = rNULL__ if(ar__(43:47) .EQ. '') EW4209(i__) = rNULL__ if(ar__(50:53) .EQ. '') log_A4209(i__) = rNULL__ if(ar__(55:59) .EQ. '') EW1242(i__) = rNULL__ if(ar__(62:65) .EQ. '') log_A1242(i__) = rNULL__ if(ar__(67:71) .EQ. '') EW4151(i__) = rNULL__ if(ar__(74:77) .EQ. '') log_A4154(i__) = rNULL__ c ..............Just test output........... write(6,1) + Specie(i__),Lambda(i__),EP(i__),log_gf(i__),n(i__), + EW4110(i__),n_EW4110(i__),log_A4110(i__),EW4209(i__), + n_EW4209(i__),log_A4209(i__),EW1242(i__),n_EW1242(i__), + log_A1242(i__),EW4151(i__),n_EW4151(i__),log_A4154(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end