Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/679/1549 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/679/1549 Spectroscopy of metal-poor star CS 17435-00532 (Roederer+, 2008) *================================================================================ *The Hobby-Eberly telescope Chemical Abundances of Stars in the Halo (CASH) *project. *I. The lithium-, s-, and r-enhanced metal-poor giant HKII 17435-00532. * Roederer I.U., Frebel A., Shetrone M.D., Allende Prieto C., Rhee J., * Gallino R., Bisterzo S., Sneden C., Beers T.C., Cowan J.J. * <Astrophys. J., 679, 1549-1565 (2008)> * =2008ApJ...679.1549R C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Equivalent width measurements integer*4 nr__ parameter (nr__=141) ! Number of records character*35 ar__ ! Full-size record character*5 Ion (nr__) ! Species identification integer*4 Z (nr__) ! Atomic number real*8 Wave (nr__) ! (0.1nm) Wavelength real*4 ExPot (nr__) ! (eV) Excitation potential real*4 loggf (nr__) ! ([-]) Log of the oscillator strength real*4 EW (nr__) ! (10-13m) Equivalent width in milliAngstroms C============================================================================= C Loading file 'table3.dat' ! Equivalent width measurements C Format for file interpretation 1 format(A5,1X,I2,1X,F7.2,1X,F5.3,1X,F6.3,1X,F5.1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,141 read(1,'(A35)')ar__ read(ar__,1) + Ion(i__),Z(i__),Wave(i__),ExPot(i__),loggf(i__),EW(i__) c ..............Just test output........... write(6,1) + Ion(i__),Z(i__),Wave(i__),ExPot(i__),loggf(i__),EW(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end