Conversion of standardized ReadMe file for
file /./ftp/cats/J/BaltA/14/51 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/BaltA/14/51 Elemental abundances of 4 Lac and nu Cep (Yuce+, 2005) *================================================================================ *Elemental abundances of 4 Lacertae and {nu} Cephei * Yuce K. * <Baltic Astron., 14, 51 (2005)> * =2005BaltA..14...51Y C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'abund.dat' ! Atomic abundances integer*4 nr__ parameter (nr__=25) ! Number of records character*33 ar__ ! Full-size record character*6 Ion (nr__) ! Ion character*2 Element (nr__) ! Element (identical to bytes 1-2) real*4 log_Nel_Ntot_1(nr__) ! ? 4 Lac derived abundance of Element (1) real*4 e_log_Nel_Ntot_1(nr__) ! ? rms uncertainty on log(Nel/Ntot)1 real*4 log_Nel_Ntot_2(nr__) ! ? nu Cep derived abundance of Element (1) real*4 e_log_Nel_Ntot_2(nr__) ! ? rms uncertainty on log(Nel/Ntot)2 *Note (1): Ratio of number of atoms to the total number of atoms per unit volume c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea1.dat' ! Elemental abundances of 4 Lac and {nu} Cep integer*4 nr__1 parameter (nr__1=383) ! Number of records character*55 ar__1 ! Full-size record character*6 Ion_1 (nr__1) ! Ion character*6 Mult (nr__1) ! Multiplet number (1) real*8 Lambda (nr__1) ! (0.1nm) Laboratory wavelength real*4 log_gf (nr__1) ! log gf value character*2 r_log_gf (nr__1) ! loggf value reference (3) real*4 EW1 (nr__1) ! (0.1pm) ? Equivalent width for 4 Lacertae real*4 log_El_Ntot_1(nr__1) ! ? Derived abundance for 4 Lacertae (2) real*4 EW2 (nr__1) ! (0.1pm) ? Equivalent width for {nu} Cep real*4 log_El_Ntot_2(nr__1) ! ? Derived abundance for {nu} Cep (2) *Note (1): Multiplet number from Moore 1945 if first line of multiplet; * if not from Moore an initial indicating the paper *Note (2): Derived abundance in relative number of atoms per unit volume *Note (3): gf value references are as follows: * BG = Biemont et al. (1989A&A...209..391B) for V II, * Biemont et al. (1981ApJ...248..867B) for Zr II * FW = Fuhr & Wiese (1990, in Lide, D. R. ed, CRC Handbook of Chemistry * and Physics, CRC Press, Cleveland, OH) and * Fuhr & Wiese (1998, In ed. D. R. Lide, CRC Handbook of * Chemistry and Physics, 79th ed., CRC Press Inc., Boca Raton) * GB = Grevesse et al. (1981, Upper Main Sequence CP Stars, 23rd. * Liege Astrophys. Coll., 211) * HL = Hannaford et al. (1982ApJ...261..736H); * KG = Kurucz (guess-1995, In: Adelman S.J., Wiese W.L. (eds.) * Astrophysical Applications of Powerful New Databases. * ASP Conference Series, p. 205) * KP = Kurucz & Peytremann (1975, SAO Special Report No. 362, part. 1) * KX = Kurucz & Bell (1995, Kurucz CD-Rom No. 23) * LA = Lanz & Artru (1985PhyS...32..115L) * LD = Lawler & Dakin (1989, JOSA B, 6, 1457) * MF = Fuhr, Martin & Wiese, 1988, and Martin, Fuhr & Wiese, 1988, * Cat. <VI/72> * SG = Schulz-Gulde (1969, JQSRT, 9, 13) * WF = Wiese, Fuhr & Deters (1996, Atomic transition probabilities of * carbon, nitrogen, and oxygen : a critical data compilation. * Edited by W.L. Wiese, J.R. Fuhr, and T.M. Deters. * Washington, DC) * WM = Wiese & Martin (1980, NSRDS-NBS 68. Part 2, US Government * Printing Office, Washington, DC); * WS = Wiese, Smith & Glennon (1966, NSRDS-NBS 4, US Governement * Printing Office, Washington) and * Wiese, Smith & Miles (1969, NSRDS-NBS, D.C.: US Department of * Commerce, National Bureau of Standards) C============================================================================= C Loading file 'abund.dat' ! Atomic abundances C Format for file interpretation 1 format(A6,1X,A2,2X,F5.2,1X,F4.2,1X,F6.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'abund.dat') write(6,*) '....Loading file: abund.dat' do i__=1,25 read(1,'(A33)')ar__ read(ar__,1) + Ion(i__),Element(i__),log_Nel_Ntot_1(i__), + e_log_Nel_Ntot_1(i__),log_Nel_Ntot_2(i__), + e_log_Nel_Ntot_2(i__) if(ar__(12:16) .EQ. '') log_Nel_Ntot_1(i__) = rNULL__ if(ar__(18:21) .EQ. '') e_log_Nel_Ntot_1(i__) = rNULL__ if(ar__(23:28) .EQ. '') log_Nel_Ntot_2(i__) = rNULL__ if(ar__(30:33) .EQ. '') e_log_Nel_Ntot_2(i__) = rNULL__ c ..............Just test output........... write(6,1) + Ion(i__),Element(i__),log_Nel_Ntot_1(i__), + e_log_Nel_Ntot_1(i__),log_Nel_Ntot_2(i__), + e_log_Nel_Ntot_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea1.dat' ! Elemental abundances of 4 Lac and {nu} Cep C Format for file interpretation 2 format( + A6,1X,A6,1X,F7.2,1X,F5.2,1X,A2,1X,F5.1,1X,F5.2,1X,F5.1,1X,F6.2) C Effective file loading open(unit=1,status='old',file= +'tablea1.dat') write(6,*) '....Loading file: tablea1.dat' do i__=1,383 read(1,'(A55)')ar__1 read(ar__1,2) + Ion_1(i__),Mult(i__),Lambda(i__),log_gf(i__),r_log_gf(i__), + EW1(i__),log_El_Ntot_1(i__),EW2(i__),log_El_Ntot_2(i__) if(ar__1(32:36) .EQ. '') EW1(i__) = rNULL__ if(ar__1(38:42) .EQ. '') log_El_Ntot_1(i__) = rNULL__ if(ar__1(44:48) .EQ. '') EW2(i__) = rNULL__ if(ar__1(50:55) .EQ. '') log_El_Ntot_2(i__) = rNULL__ c ..............Just test output........... write(6,2) + Ion_1(i__),Mult(i__),Lambda(i__),log_gf(i__),r_log_gf(i__), + EW1(i__),log_El_Ntot_1(i__),EW2(i__),log_El_Ntot_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end