Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/520/A64 into FORTRAN code for reading data files line by line.
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-Mar-29 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/520/A64 Trans-HCOOH hyperfine structure (Cazzoli+, 2010) *================================================================================ *Hyperfine structure in the rotational spectra of trans-formic acid: *Lamb-dip measurements and quantum-chemical calculations. * Cazzoli G., Puzzarini C., Stopkowicz S., Gauss J. * <Astron. Astrophys. 520, A64 (2010)> * =2010A&A...520A..64C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tables1.dat' ! Transition frequencies and fit residuals integer*4 nr__ parameter (nr__=435) ! Number of records character*71 ar__ ! Full-size record integer*4 J ! Rotational quantum number of the lower * rotational level integer*4 Ka ! Rotational quantum number of the lower * rotational level integer*4 Kc ! Rotational quantum number of the lower * rotational level integer*4 F1 ! ? Hyperfine quantum number of the lower * rotational level integer*4 F ! ? Hyperfine quantum number of the lower * rotational level integer*4 J_ ! Rotational quantum number of the upper * rotational level integer*4 Ka_ ! Rotational quantum number of the upper * rotational level integer*4 Kc_ ! Rotational quantum number of the upper * rotational level integer*4 F1_ ! ? Hyperfine quantum number of the upper * rotational level integer*4 F_ ! ? Hyperfine quantum number of the upper * rotational level real*8 Freq ! (MHz) Transition frequency real*4 e_Freq ! (MHz) rms uncertainty on Freq real*8 O_C ! (kHz) Observed-calculated frequency character*1 Ref ! [CP] Reference for data (1) *Note (1): Reference as follows: * C = Chardon et al. (1976, J. Chem. Phys., 64, 1434) * P = Present investigation C============================================================================= C Loading file 'tables1.dat' ! Transition frequencies and fit residuals C Format for file interpretation 1 format( + I2,1X,I2,1X,I2,1X,I2,1X,I2,4X,I2,1X,I2,1X,I2,1X,I2,1X,I2,7X, + F13.5,1X,F6.5,1X,F7.2,3X,A1) C Effective file loading open(unit=1,status='old',file= +'tables1.dat') write(6,*) '....Loading file: tables1.dat' do i__=1,435 read(1,'(A71)')ar__ read(ar__,1) + J,Ka,Kc,F1,F,J_,Ka_,Kc_,F1_,F_,Freq,e_Freq,O_C,Ref if(ar__(10:11) .EQ. '') F1 = iNULL__ if(ar__(13:14) .EQ. '') F = iNULL__ if(ar__(28:29) .EQ. '') F1_ = iNULL__ if(ar__(31:32) .EQ. '') F_ = iNULL__ c ..............Just test output........... write(6,1) + J,Ka,Kc,F1,F,J_,Ka_,Kc_,F1_,F_,Freq,e_Freq,O_C,Ref c .......End.of.Just test output........... end do close(1) C============================================================================= stop end