FORTRAN Generation
(/./ftp/cats/J/A_A/520/A64)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/520/A64 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-Mar-28
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          (nr__) ! Rotational quantum number of the lower
*                                   rotational level
      integer*4     Ka         (nr__) ! Rotational quantum number of the lower
*                                   rotational level
      integer*4     Kc         (nr__) ! Rotational quantum number of the lower
*                                   rotational level
      integer*4     F1         (nr__) ! ? Hyperfine quantum number of the lower
*                                    rotational level
      integer*4     F          (nr__) ! ? Hyperfine quantum number of the lower
*                                    rotational level
      integer*4     J_         (nr__) ! Rotational quantum number of the upper
*                                    rotational level
      integer*4     Ka_        (nr__) ! Rotational quantum number of the upper
*                                    rotational level
      integer*4     Kc_        (nr__) ! Rotational quantum number of the upper
*                                    rotational level
      integer*4     F1_        (nr__) ! ? Hyperfine quantum number of the upper
*                                    rotational level
      integer*4     F_         (nr__) ! ? Hyperfine quantum number of the upper
*                                    rotational level
      real*8        Freq       (nr__) ! (MHz) Transition frequency
      real*4        e_Freq     (nr__) ! (MHz) rms uncertainty on Freq
      real*8        O_C        (nr__) ! (kHz) Observed-calculated frequency
      character*1   Ref        (nr__) ! [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(i__),Ka(i__),Kc(i__),F1(i__),F(i__),J_(i__),Ka_(i__),
     +  Kc_(i__),F1_(i__),F_(i__),Freq(i__),e_Freq(i__),O_C(i__),
     +  Ref(i__)
        if(ar__(10:11) .EQ. '') F1(i__) = iNULL__
        if(ar__(13:14) .EQ. '') F(i__) = iNULL__
        if(ar__(28:29) .EQ. '') F1_(i__) = iNULL__
        if(ar__(31:32) .EQ. '') F_(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  J(i__),Ka(i__),Kc(i__),F1(i__),F(i__),J_(i__),Ka_(i__),
     +  Kc_(i__),F1_(i__),F_(i__),Freq(i__),e_Freq(i__),O_C(i__),
     +  Ref(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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