FORTRAN Generation
(/./ftp/cats/J/A_A/327/1177)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/327/1177 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-29
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/327/1177    Kinematics and electron temperatures in Orion A (Wilson+ 1997)
*================================================================================
*Kinematics and electron temperatures in the core of Orion A
*       Wilson T.L., Filges L., Codella C., Reich W., Reich P.
*      <Astron. Astrophys. 327, 1177 (1997)>
*      =1997A&A...327.1177W      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1'	! H64{alpha} line parameters

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

      integer*4     DRA        (nr__) ! (arcsec) Offset relative to RA=05h 32min 48s (B1950) (1)
      integer*4     DDE        (nr__) ! (arcsec) Offset relative to DE=-05{deg} 25' 23" (B1950)
      real*4        Te         (nr__) ! (10+3K) ? LTE electron temperature
      real*4        e_Te       (nr__) ! (10+3K) ? rms uncertainty on Te
      real*4        TL_TC      (nr__) ! ? Line to continuum ratio, T_L_/T_C_ (2)
      real*4        e_TL_TC    (nr__) ! ? rms uncertainty on TL/TC
      real*4        DV1_2      (nr__) ! (km/s) FWHP linewidths, {DELTA}V_1/2_ (3)
      real*4        e_DV1_2    (nr__) ! (km/s) rms uncertainty on DV1/2
      real*4        RVlsr      (nr__) ! (km/s) Radial velocity, with respect to the
*                                 Local Standard of Rest (3) (4)
      real*4        e_RVlsr    (nr__) ! (km/s) rms uncertainty on RVlsr
      real*4        Vturb      (nr__) ! (km/s) ? Turbulent velocity (5)
      real*4        e_Vturb    (nr__) ! (km/s) ? rms uncertainty on Vturb
      real*4        TLdV       (nr__) ! (K.km/s) Integrated main beam line brightness temperature
      real*4        e_TLdV     (nr__) ! (K.km/s) rms uncertainty on TLdV
*Note (1): Nominal peak of the radio continuum (to obtain J2000 coordinates,
*           +2min 27.4s in RA, +2' 06.7" in DE.
*Note (2): The line-to-continuum ratios were obtained from the peak intensities
*           of the H64{alpha} lines divided by he continuum intensities measured
*           at nearly the same time
*Note (3): The radial velocities and FWHP linewidths were obtained from gaussian
*           fits to the line spectra.
*Note (4): To obtain Heliocentric velocities, add 18.3 km/s.
*Note (5): We take turbulent velocities to be the excess line widths after
*           removing the thermal broadening. Since the hydrogen linewidths are
*           found to be gaussian shaped, we can use
*           V_turb_=sqrt[({Delta}V_1/2_)^2^ - 0.046Te]

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

C  Loading file 'table1'	! H64{alpha} line parameters

C  Format for file interpretation

    1 format(
     +  I4,1X,I4,1X,F5.2,1X,F3.1,1X,F5.3,1X,F5.3,1X,F5.2,1X,F4.2,1X,
     +  F4.1,1X,F3.1,1X,F4.1,1X,F3.1,1X,F6.2,1X,F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1')
      write(6,*) '....Loading file: table1'
      do i__=1,261
        read(1,'(A71)')ar__
        read(ar__,1)
     +  DRA(i__),DDE(i__),Te(i__),e_Te(i__),TL_TC(i__),e_TL_TC(i__),
     +  DV1_2(i__),e_DV1_2(i__),RVlsr(i__),e_RVlsr(i__),Vturb(i__),
     +  e_Vturb(i__),TLdV(i__),e_TLdV(i__)
        if(ar__(11:15) .EQ. '') Te(i__) = rNULL__
        if(ar__(17:19) .EQ. '') e_Te(i__) = rNULL__
        if(ar__(21:25) .EQ. '') TL_TC(i__) = rNULL__
        if(ar__(27:31) .EQ. '') e_TL_TC(i__) = rNULL__
        if(ar__(53:56) .EQ. '') Vturb(i__) = rNULL__
        if(ar__(58:60) .EQ. '') e_Vturb(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  DRA(i__),DDE(i__),Te(i__),e_Te(i__),TL_TC(i__),e_TL_TC(i__),
     +  DV1_2(i__),e_DV1_2(i__),RVlsr(i__),e_RVlsr(i__),Vturb(i__),
     +  e_Vturb(i__),TLdV(i__),e_TLdV(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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