FORTRAN Generation
(/./ftp/cats/J/ApJ/833/9)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/833/9 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-20
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/833/9    Rotational frequencies of TiO isotopologues    (Lincowski+, 2016)
*================================================================================
*Millimeter/submillimeter spectroscopy of TiO (X^3^{Delta}_r_): the rare titanium
*isotopologues.
*    Lincowski A.P., Halfen D.T., Ziurys L.M.
*   <Astrophys. J., 833, 9-9 (2016)>
*   =2016ApJ...833....9L    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Observed rotational transitions of titanium oxide
                                (TiO) isotopologues (X^3^{Delta}_r_)

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

      character*5   Species    (nr__) ! TiO Isotopologue Species
      integer*4     J1         (nr__) ! [2/17] Upper J quantum number
      integer*4     J0         (nr__) ! [1/16] Lower J quantum number
      real*4        F1         (nr__) ! [0.5/19.5]? Upper F quantum number
      real*4        F0         (nr__) ! [1.5/18.5]? Lower F quantum number
      real*8        Freq1      (nr__) ! (MHz) [62687/532616] Frequency of the transition
*                                   for {Omega}=1
      real*4        v_O_C_1    (nr__) ! (MHz) [-0.3/0.2]? Observed minus calculated value
*                                   for Freq1
      character*1   f__O_C_1   (nr__) ! [a] Flag on (O-C)1 (1)
      real*8        Freq2      (nr__) ! (MHz) [221900/538598]? Frequency of the transition
*                                   for {Omega}=2
      real*4        v_O_C_2    (nr__) ! (MHz) [-0.3/0.3]? Observed minus calculated value
*                                   for Freq2
      character*1   f__O_C_2   (nr__) ! [a] Flag on (O-C)2 (1)
      real*8        Freq3      (nr__) ! (MHz) [224069/522730]? Frequency of the transition
*                                   for {Omega}=3
      real*4        v_O_C_3    (nr__) ! (MHz) [-0.3/0.3]? Observed minus calculated value
*                                   for Freq3
      character*1   f__O_C_3   (nr__) ! [ab] Flag on (O-C)3 (1)
*Note (1): Flag as follows:
*    a = Blended line, not included in fit.
*    b = Beyond range of frequency source, not measured.

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

C  Loading file 'table1.dat'	! Observed rotational transitions of titanium oxide
*                                (TiO) isotopologues (X^3^{Delta}_r_)

C  Format for file interpretation

    1 format(
     +  A5,1X,I2,1X,I2,1X,F4.1,1X,F4.1,1X,F10.3,1X,F6.3,1X,A1,1X,
     +  F10.3,1X,F6.3,1X,A1,1X,F10.3,1X,F6.3,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,160
        read(1,'(A81)')ar__
        read(ar__,1)
     +  Species(i__),J1(i__),J0(i__),F1(i__),F0(i__),Freq1(i__),
     +  v_O_C_1(i__),f__O_C_1(i__),Freq2(i__),v_O_C_2(i__),
     +  f__O_C_2(i__),Freq3(i__),v_O_C_3(i__),f__O_C_3(i__)
        if(ar__(13:16) .EQ. '') F1(i__) = rNULL__
        if(ar__(18:21) .EQ. '') F0(i__) = rNULL__
        if(ar__(34:39) .EQ. '') v_O_C_1(i__) = rNULL__
        if(ar__(43:52) .EQ. '') Freq2(i__) = rNULL__
        if(ar__(54:59) .EQ. '') v_O_C_2(i__) = rNULL__
        if(ar__(63:72) .EQ. '') Freq3(i__) = rNULL__
        if(ar__(74:79) .EQ. '') v_O_C_3(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Species(i__),J1(i__),J0(i__),F1(i__),F0(i__),Freq1(i__),
     +  v_O_C_1(i__),f__O_C_1(i__),Freq2(i__),v_O_C_2(i__),
     +  f__O_C_2(i__),Freq3(i__),v_O_C_3(i__),f__O_C_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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