FORTRAN Generation
(/./ftp/cats/J/ApJ/847/67)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/847/67 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-19
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/847/67  High-resolution FIR spectrum of anti-vinyl alcohol  (Bunn+, 2017)
*================================================================================
*Far-infrared spectroscopic characterization of anti-vinyl alcohol.
*    Bunn H., Soliday R.M., Sumner I., Raston P.L.
*   <Astrophys. J., 847, 67 (2017)>
*   =2017ApJ...847...67B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Linelist for the {nu}_15_ fundamental of anti-VA;
                             the residuals were determined using the A-reduced
                             constants

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

      integer*4     J1         (nr__) ! [1/59] Upper J state
      integer*4     Ka1        (nr__) ! [0/16] Upper Ka state
      integer*4     Kc1        (nr__) ! [0/59] Upper Kc state
      integer*4     v1         (nr__) ! [0/1] Upper v state
      integer*4     J0         (nr__) ! [1/59] Lower J state
      integer*4     Ka0        (nr__) ! [0/15] Lower Ka state
      integer*4     Kc0        (nr__) ! [0/59] Lower Kc state
      integer*4     v0         (nr__) ! [0] Lower v state
      real*8        EobsMW     (nr__) ! (MHz) [27681.7/55999]? Observed energy in MHz 
*                                 (microwave (MW) lines, 
*                                  Rodler 1985JMoSp.114...23R ; v1=v0=0)
      real*8        O_CMW      (nr__) ! (MHz) [-0.06/0.05]? Observed - Calculated energy in MHz
      real*4        e_EobsMW   (nr__) ! (MHz) [0.020]? Uncertainty in observed energy in MHz
      real*8        Eobs       (nr__) ! (cm-1) [198/323]? Observed energy in cm^-1^ 
*                                 (IR lines; v1=1, v0=0)
      real*8        O_C        (nr__) ! (cm-1) [-0.0007/0.0007]? Observed - Calculated energy
      real*8        e_Eobs     (nr__) ! (cm-1) [0.0002/0.0003]? Uncertainty in observed energy
      real*4        Wght       (nr__) ! [0.25/0.5]? Weight for blended lines

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

C  Declarations for 'table4.dat'	! Linelist for the {nu}_15_ fundamental of anti-VA;
                             the residuals were determined using the S-reduced
                             constants

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

      integer*4     J1_1       (nr__1) ! [1/59] Upper J state
      integer*4     Ka1_1      (nr__1) ! [0/16] Upper Ka state
      integer*4     Kc1_1      (nr__1) ! [0/59] Upper Kc state
      integer*4     v1_1       (nr__1) ! [0/1] Upper v state
      integer*4     J0_1       (nr__1) ! [1/59] Lower J state
      integer*4     Ka0_1      (nr__1) ! [0/15] Lower Ka state
      integer*4     Kc0_1      (nr__1) ! [0/59] Lower Kc state
      integer*4     v0_1       (nr__1) ! [0] Lower v state
      real*8        EobsMW_1   (nr__1) ! (MHz) [27681.7/55999]? Observed energy in MHz 
*                                 (microwave (MW) lines, 
*                                  Rodler 1985JMoSp.114...23R ; v1=v0=0)
      real*8        O_CMW_1    (nr__1) ! (MHz) [-0.06/0.05]? Observed - Calculated energy in MHz
      real*4        e_EobsMW_1 (nr__1) ! (MHz) [0.020]? Uncertainty in observed energy in MHz
      real*8        Eobs_1     (nr__1) ! (cm-1) [198/323]? Observed energy in cm^-1^ 
*                                 (IR lines; v1=1, v0=0)
      real*8        O_C_1      (nr__1) ! (cm-1) [-0.0007/0.0007]? Observed - Calculated energy
      real*8        e_Eobs_1   (nr__1) ! (cm-1) [0.0002/0.0003]? Uncertainty in observed energy
      real*4        Wght_1     (nr__1) ! [0.25/0.5]? Weight for blended lines

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

C  Loading file 'table3.dat'	! Linelist for the {nu}_15_ fundamental of anti-VA;
*                             the residuals were determined using the A-reduced
*                             constants

C  Format for file interpretation

    1 format(
     +  I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,F9.3,3X,F7.4,
     +  2X,F5.3,2X,F9.5,1X,F8.5,1X,F7.5,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,1893
        read(1,'(A83)')ar__
        read(ar__,1)
     +  J1(i__),Ka1(i__),Kc1(i__),v1(i__),J0(i__),Ka0(i__),Kc0(i__),
     +  v0(i__),EobsMW(i__),O_CMW(i__),e_EobsMW(i__),Eobs(i__),
     +  O_C(i__),e_Eobs(i__),Wght(i__)
        if(ar__(25:33) .EQ. '') EobsMW(i__) = rNULL__
        if(ar__(37:43) .EQ. '') O_CMW(i__) = rNULL__
        if(ar__(46:50) .EQ. '') e_EobsMW(i__) = rNULL__
        if(ar__(53:61) .EQ. '') Eobs(i__) = rNULL__
        if(ar__(63:70) .EQ. '') O_C(i__) = rNULL__
        if(ar__(72:78) .EQ. '') e_Eobs(i__) = rNULL__
        if(ar__(80:83) .EQ. '') Wght(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  J1(i__),Ka1(i__),Kc1(i__),v1(i__),J0(i__),Ka0(i__),Kc0(i__),
     +  v0(i__),EobsMW(i__),O_CMW(i__),e_EobsMW(i__),Eobs(i__),
     +  O_C(i__),e_Eobs(i__),Wght(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Linelist for the {nu}_15_ fundamental of anti-VA;
*                             the residuals were determined using the S-reduced
*                             constants

C  Format for file interpretation

    2 format(
     +  I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,F9.3,3X,F7.4,
     +  2X,F5.3,2X,F9.5,1X,F8.5,1X,F7.5,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,1893
        read(1,'(A83)')ar__1
        read(ar__1,2)
     +  J1_1(i__),Ka1_1(i__),Kc1_1(i__),v1_1(i__),J0_1(i__),
     +  Ka0_1(i__),Kc0_1(i__),v0_1(i__),EobsMW_1(i__),O_CMW_1(i__),
     +  e_EobsMW_1(i__),Eobs_1(i__),O_C_1(i__),e_Eobs_1(i__),
     +  Wght_1(i__)
        if(ar__1(25:33) .EQ. '') EobsMW_1(i__) = rNULL__
        if(ar__1(37:43) .EQ. '') O_CMW_1(i__) = rNULL__
        if(ar__1(46:50) .EQ. '') e_EobsMW_1(i__) = rNULL__
        if(ar__1(53:61) .EQ. '') Eobs_1(i__) = rNULL__
        if(ar__1(63:70) .EQ. '') O_C_1(i__) = rNULL__
        if(ar__1(72:78) .EQ. '') e_Eobs_1(i__) = rNULL__
        if(ar__1(80:83) .EQ. '') Wght_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  J1_1(i__),Ka1_1(i__),Kc1_1(i__),v1_1(i__),J0_1(i__),
     +  Ka0_1(i__),Kc0_1(i__),v0_1(i__),EobsMW_1(i__),O_CMW_1(i__),
     +  e_EobsMW_1(i__),Eobs_1(i__),O_C_1(i__),e_Eobs_1(i__),
     +  Wght_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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