Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/723/845 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-Apr-17 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/723/845 The submillimeter spectrum of glycolaldehyde (Carroll+, 2010) *================================================================================ *The submillimeter spectrum of glycolaldehyde. * Carroll P.B., Drouin B.J., Widicus Weaver S.L. * <Astrophys. J., 723, 845-849 (2010)> * =2010ApJ...723..845C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Assigned transitions for the the ground vibrational state of glycolaldehyde integer*4 nr__ parameter (nr__=1412) ! Number of records character*55 ar__ ! Full-size record integer*4 J_ ! [1/63] Upper J level integer*4 Ka_ ! [0/32] Upper K_a_ level integer*4 Kc_ ! [0/60] Upper K_c_ level integer*4 J__1 ! [0/62] Lower J level integer*4 Ka__1 ! [0/31] Lower K_a_ level integer*4 Kc__1 ! [0/59] Lower K_c_ level real*8 Freq ! (MHz) Frequency observed real*8 O_C ! (MHz) Observed - Calculated frequency real*8 e_Freq ! (MHz) [0.1] Uncertainty in Freq real*4 Int ! ? Intensity weighting for blended lines C============================================================================= C Loading file 'table2.dat' ! Assigned transitions for the the ground vibrational * state of glycolaldehyde C Format for file interpretation 1 format( + I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,F12.4,2X,F8.5,1X,F7.5,1X, + F6.4) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,1412 read(1,'(A55)')ar__ read(ar__,1)J_,Ka_,Kc_,J__1,Ka__1,Kc__1,Freq,O_C,e_Freq,Int if(ar__(50:55) .EQ. '') Int = rNULL__ c ..............Just test output........... write(6,1)J_,Ka_,Kc_,J__1,Ka__1,Kc__1,Freq,O_C,e_Freq,Int c .......End.of.Just test output........... end do close(1) C============================================================================= stop end