Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/504/635 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/A+A/504/635 Dimethyl ether laboratory spectra up to 2.1THz (Endres+, 2009) *================================================================================ *Dimethyl ether: laboratory spectra up to 2.1 THz. * Endres C.P., Drouin B.J., Pearson J.C., Muller H.S.P., Lewen F., * Schlemmer S., Giesen T.F. * <Astron. Astrophys. 504, 635 (2009)> * =2009A&A...504..635E C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea1.dat' ! Assigned and fitted transition frequencies of dimethyl ether in the ground vibrational state integer*4 nr__ parameter (nr__=6830) ! Number of records character*57 ar__ ! Full-size record integer*4 t (nr__) ! Torsional substates (1) integer*4 J_ (nr__) ! J' rotational quantum number integer*4 K_a (nr__) ! K'a rotational quantum number integer*4 K_c (nr__) ! K'c rotational quantum number integer*4 J__1 (nr__) ! J" rotational quantum number integer*4 K_a_1 (nr__) ! K"a rotational quantum number integer*4 K_c_1 (nr__) ! K"c rotational quantum number real*8 Freq (nr__) ! (MHz) Frequency real*4 e_Freq (nr__) ! (MHz) rms uncertainty on Freq real*4 O_C (nr__) ! (MHz) Observed minus calculated frequency character*11 Source (nr__) ! Source (2) *Note (1): Torsional substates are: * 00 = AA * 01 = EE * 11 = AE * 12 = EA *Note (2): Sources as follows: * Lovas = Lovas et al. 1979, J. Phys. Chem. Ref. Data 8, 1051 * Durig = Durig et al. 1976, J. Molec. Spectrosc. 62, 159 * Neustock = Neustock et al. 1990, Z. Naturforsch. 45a, 702 * Niide = Niide et al. 2003, J. Molec. Spectrosc. 220, 65 * Klystron = Groner et al. 1998, Cat. J/ApJ/500/1059 * klystron-based measurements * FASSST = Groner et al. 1998, Cat. J/ApJ/500/1059 * FASSST-based measurements * BWO = this work, BWO-based measurements done in Cologne * BWO_SL = this work, BWO + Superlattice multiplier based * measurements done in Cologne * Synthesizer = this work, Synthesizer-based measurements done in Cologne * JPL = this work, Multiplier chain-based measurements done at JPL C============================================================================= C Loading file 'tablea1.dat' ! Assigned and fitted transition frequencies of * dimethyl ether in the ground vibrational state C Format for file interpretation 1 format( + I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,F11.3,1X,F5.3,1X, + F6.3,1X,A11) C Effective file loading open(unit=1,status='old',file= +'tablea1.dat') write(6,*) '....Loading file: tablea1.dat' do i__=1,6830 read(1,'(A57)')ar__ read(ar__,1) + t(i__),J_(i__),K_a(i__),K_c(i__),J__1(i__),K_a_1(i__), + K_c_1(i__),Freq(i__),e_Freq(i__),O_C(i__),Source(i__) c ..............Just test output........... write(6,1) + t(i__),J_(i__),K_a(i__),K_c(i__),J__1(i__),K_a_1(i__), + K_c_1(i__),Freq(i__),e_Freq(i__),O_C(i__),Source(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end