FORTRAN Generation
(/./ftp/cats/J/ApJ/753/18)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/753/18 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 2026-Aug-12
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/753/18 Far-IR spectrum of ethylene oxide (CH_2_-O-CH_2_) (Medcraft+, 2012)
*================================================================================
*The far-infrared rotational spectrum of ethylene oxide.
*    Medcraft C., Thompson C.D., Robertson E.G., Appadoo D.R.T., McNaughton D.
*   <Astrophys. J., 753, 18 (2012)>
*   =2012ApJ...753...18M
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table2a.dat'	! Observed and predicted transition frequencies of
                               ethylene oxide in the ground vibrational state

      integer*4 nr__
      parameter (nr__=666)	! Number of records
      character*53 ar__   	! Full-size record

      integer*4     J_          ! [1/49] The J' value
      integer*4     Ka_         ! [0/35] The Ka' value
      integer*4     Kc_         ! [0/20] The Kc' value
      integer*4     J__1        ! [0/49] The J" value
      integer*4     Ka__1       ! [0/34] The Ka" value
      integer*4     Kc__1       ! [0/21] The Kc" value
      real*8        Fobs        ! (MHz) [23061/357423] Observed transition frequency
*                                                 (0.7/12cm^-1^)
      real*8        Fcalc       ! (MHz) Calculated transition frequency
      real*4        O_C         ! (MHz) [-0.5/0.5] Observed minus Calculated frequency
      real*4        e_Fobs      ! (MHz) [0.01/0.2] Uncertainty in Fobs
      character*3   Ref         ! [a-c ] Reference(s) (1)
*Note (1): Reference as follows:
*    a = Hirose 1974ApJ...189L.145H
*    b = Creswell & Schwendeman 1974CPL....27..521C
*    c = Pan et al. 1998, Cat. J/ApJ/499/517

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table2b.dat'	! *Observed and predicted transition frequencies of
                               ethylene oxide in the ground vibrational state

      integer*4 nr__1
      parameter (nr__1=1182)	! Number of records
      character*56 ar__1  	! Full-size record

      integer*4     J__2        ! [11/64] The J' value
      integer*4     Ka__2       ! [0/42] The Ka' value
      integer*4     Kc__2       ! [0/62] The Kc' value
      integer*4     J__3        ! [10/63] The J" value
      integer*4     Ka__3       ! [0/41] The Ka" value
      integer*4     Kc__3       ! [0/61] The Kc" value
      real*8        Fcm         ! (cm-1) [15.3/72.8] Observed transition frequency
*                                              (460/2180GHz)
      real*8        Fcmc        ! (cm-1) Calculated transition frequency
      real*8        O_C_1       ! (cm-1) [-0.0006/0.002] Observed minus Calculated
*                                    frequency
      real*4        e_Fcm       ! (cm-1) [0.0002] Uncertainty in Fcm

C=============================================================================

C  Loading file 'table2a.dat'	! Observed and predicted transition frequencies of
*                               ethylene oxide in the ground vibrational state

C  Format for file interpretation

    1 format(
     +  I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,F9.2,1X,F9.2,1X,F6.3,1X,
     +  F4.2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2a.dat')
      write(6,*) '....Loading file: table2a.dat'
      do i__=1,666
        read(1,'(A53)')ar__
        read(ar__,1)
     +  J_,Ka_,Kc_,J__1,Ka__1,Kc__1,Fobs,Fcalc,O_C,e_Fobs,Ref
c    ..............Just test output...........
        write(6,1)
     +  J_,Ka_,Kc_,J__1,Ka__1,Kc__1,Fobs,Fcalc,O_C,e_Fobs,Ref
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table2b.dat'	! *Observed and predicted transition frequencies of
*                               ethylene oxide in the ground vibrational state

C  Format for file interpretation

    2 format(
     +  I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,F9.6,1X,F10.7,1X,F10.7,1X,
     +  F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2b.dat')
      write(6,*) '....Loading file: table2b.dat'
      do i__=1,1182
        read(1,'(A56)')ar__1
        read(ar__1,2)
     +  J__2,Ka__2,Kc__2,J__3,Ka__3,Kc__3,Fcm,Fcmc,O_C_1,e_Fcm
c    ..............Just test output...........
        write(6,2)
     +  J__2,Ka__2,Kc__2,J__3,Ka__3,Kc__3,Fcm,Fcmc,O_C_1,e_Fcm
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end