FORTRAN Generation
(/./ftp/cats/J/ApJ/654/240)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/654/240 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 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/654/240       Giant molecular clouds in M31            (Rosolowsky+, 2007)
*================================================================================
*Giant molecular clouds in M31. I. Molecular cloud properties.
*    Rosolowsky E.
*   <Astrophys. J., 654, 240-251 (2007)>
*   =2007ApJ...654..240R
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Molecular Cloud Properties in M31

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

      character*1   Type        ! [HL] (H)igh or (L)ow S/N Clouds (5)
      integer*4     v_R2007_    ! Sequential number
      integer*4     oRA         ! (arcsec) Relative position along RA (1)
      integer*4     oDE         ! (arcsec) Relative position along DE (1)
      integer*4     Mlum        ! (10+4solMass) Luminous mass (2)
      integer*4     Re          ! (pc) ? Deconvolved radius (2) (3)
      real*4        sigmav      ! (km/s) Line width (2)
      real*4        Tmax_sigma  ! Maximum temperature to line width rms ratio
      real*4        v__nabla_v_ ! (km/s/pc) Velocity gradient magnitude (2)
      character*1   u___nabla_v_ ! [d] Uncertainty flag on |{nabla}v| (4)
      integer*4     v_nabla_PA  ! (deg) Gradient position angle (2)
*Note (1): Position given in arcseconds relative to the center of M31 at
*          RA=00:42:44.3, DE=+41:16:09 (J2000)
*Note (2): Typical errors in properties:
*        * luminous mass (MLum), 20%
*        * radius (Re), 15%
*        * line width (sigma_v_), 15%
*        * velocity gradient magnitude (|{nabla}v|), 50%
*        * gradient position angle ({phi}{nabla}).
*Note (3): No values of the deconvolved radius (Re) are reported if the
*     cloud cannot be resolved with the present data.
*Note (4): d = The uncertainty in the gradient of this cloud is larger than
*     0.15km/s/pc and it is not included in the gradient analysis.
*Note (5): High S/N clouds have Tmax/sigma>=10.

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

C  Loading file 'table2.dat'	! Molecular Cloud Properties in M31

C  Format for file interpretation

    1 format(
     +  A1,1X,I2,1X,I5,1X,I5,1X,I2,1X,I2,1X,F4.2,1X,F4.1,1X,F4.2,A1,
     +  1X,I4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,67
        read(1,'(A43)')ar__
        read(ar__,1)
     +  Type,v_R2007_,oRA,oDE,Mlum,Re,sigmav,Tmax_sigma,v__nabla_v_,
     +  u___nabla_v_,v_nabla_PA
        if(ar__(21:22) .EQ. '') Re = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Type,v_R2007_,oRA,oDE,Mlum,Re,sigmav,Tmax_sigma,v__nabla_v_,
     +  u___nabla_v_,v_nabla_PA
c    .......End.of.Just test output...........
      end do
      close(1)

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