FORTRAN Generation
(/./ftp/cats/J/ApJ/723/492)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/723/492 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/723/492  Physical properties of GRS molecular clouds  (Roman-Duval+, 2010)
*================================================================================
*Physical properties and Galactic distribution of molecular clouds identified in
*the Galactic Ring Survey.
*    Roman-Duval J., Jackson J.M., Heyer M., Rathborne J., Simon R.
*   <Astrophys. J., 723, 492-507 (2010)>
*   =2010ApJ...723..492R
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Catalog of Molecular Cloud's Masses and Physical
                             Properties

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

C  Position composed of: GLON GLAT
      character*13  GRSMC      (nr__) ! GRS [Galactic Ring Survey] molecular cloud
*                                  name (G0LL.ll+0B.bb)
      real*4        GLON       (nr__) ! (deg) Galactic longitude
      real*4        GLAT       (nr__) ! (deg) Galactic latitude
      real*4        VLSR       (nr__) ! (km/s) Local Standard of Rest velocity
      real*4        DelV       (nr__) ! (km/s) Full-Width at Half-Maximum velocity dispersion
      real*4        Rad        (nr__) ! (pc) Physical radius
      real*4        Mass       (nr__) ! (Msun) Molecular cloud mass
      real*4        e_Mass     (nr__) ! (Msun) Uncertainty in Mass
      real*4        nH2        (nr__) ! (cm-3) Mean number density of H_2_
      real*4        Tex        (nr__) ! (K) Mean excitation temperature
      real*4        tau        (nr__) ! Mean ^13^CO center-of-line optical depth {tau}
      real*4        Sigma      (nr__) ! (Msun/pc2) Mean surface mass density of the cloud {Sigma}
      real*4        alpha      (nr__) ! Virial {alpha} parameter (1)
      character*1   Note       (nr__) ! [io] Cloud inside (i) or outside (o) the
*                                  University of Massachusetts-Stony Brook (UMSB)
*                                  Survey.
*Note (1): {alpha} is defined as the ratio of the virial mass to the mass
*     {alpha}=M_vir_/M.
*     This means that clouds having {alpha}>1 are not gravitionally bound.

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

C  Loading file 'table1.dat'	! Catalog of Molecular Cloud's Masses and Physical
*                             Properties

C  Format for file interpretation

    1 format(
     +  6X,A13,1X,F5.2,1X,F5.2,1X,F6.2,1X,F4.2,1X,F4.1,1X,E6.2,1X,
     +  E6.2,1X,F6.1,1X,F4.2,1X,F4.2,1X,F5.1,1X,F6.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,749
        read(1,'(A94)')ar__
        read(ar__,1)
     +  GRSMC(i__),GLON(i__),GLAT(i__),VLSR(i__),DelV(i__),Rad(i__),
     +  Mass(i__),e_Mass(i__),nH2(i__),Tex(i__),tau(i__),Sigma(i__),
     +  alpha(i__),Note(i__)
c    ..............Just test output...........
        write(6,1)
     +  GRSMC(i__),GLON(i__),GLAT(i__),VLSR(i__),DelV(i__),Rad(i__),
     +  Mass(i__),e_Mass(i__),nH2(i__),Tex(i__),tau(i__),Sigma(i__),
     +  alpha(i__),Note(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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