FORTRAN Generation
(/./ftp/cats/J/ApJ/831/124)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/831/124 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.



++++Only ONE component of position, remove MPOS flag: GLON
    (the full equatorial position requires RAh RAm RAs DE- DEd DEm DEs)
    for: table1.dat
      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/831/124        Milky Way kinematics. II.        (McClure-Griffiths+, 2016)
*================================================================================
*Milky Way kinematics.
*II. A uniform inner galaxy H I terminal velocity curve.
*    McClure-Griffiths N.M., Dickey J.M.
*   <Astrophys. J., 831, 124-124 (2016)>
*   =2016ApJ...831..124M    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Inner Galaxy HI terminal velocity curve

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

      real*4        GLON        ! (deg) [18.4/67] Galactic longitude in decimal degrees
      real*4        vLSR        ! (km/s) [18.7/134.2] Measured HI terminal velocities
      real*4        vMOD        ! (km/s) [27.7/138] Predicted HI terminal velocities (1)
*Note (1): Predicted HI terminal velocities from the linear rotation curve
*          fit, {Sigma}(R)/{Sigma}0=0.171(R/R0)+0.889; see also Figure 5.

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

C  Loading file 'table1.dat'	! Inner Galaxy HI terminal velocity curve

C  Format for file interpretation

    1 format(F6.3,1X,F6.2,1X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,748
        read(1,'(A20)')ar__
        read(ar__,1)GLON,vLSR,vMOD
c    ..............Just test output...........
        write(6,1)GLON,vLSR,vMOD
c    .......End.of.Just test output...........
      end do
      close(1)

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