FORTRAN Generation
(/./ftp/cats/J/MNRAS/447/1531)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/447/1531 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 2026-Sep-12
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/MNRAS/447/1531    HI data collection update                (Courtois+, 2015)
*================================================================================
*Update on HI data collection from Green Bank, Parkes and Arecibo telescopes for
*the Cosmic Flows project.
*    Courtois H.M., Tully R.B.
*   <Mon. Not. R. Astron. Soc., 447, 1531-1534 (2015)>
*   =2015MNRAS.447.1531C    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! *HI surveys conducted between 2000 and 2010 with
                                 Parkes 64 m telescope

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

      character*4   Survey      ! Survey designation
      character*61  Com         ! Investigator's name and date of observation

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

C  Declarations for 'table2.dat'	! 4115 galaxies additional line width
                                 measurements (August 2014)

      integer*4 nr__1
      parameter (nr__1=4115)	! Number of records
      character*76 ar__1  	! Full-size record

      integer*4     PGC         ! Name from Catalogue of Principal Galaxies
      character*9   OName       ! Common secondary Galaxy name
      character*7   Ref         ! Bibliographic reference for spectrum
*                                 observation (1)
      character*4   Tel         ! Telescope/receiver designation
      integer*4     HV          ! (km/s) ?=0 Heliocentric velocity; zero if unreliable
      integer*4     W50m        ! (km/s) Line width at 50% of mean flux
      integer*4     W50mc       ! (km/s) Line width at 50% of mean flux corrected for
*                                 redshift and spectral resolution broadening
      integer*4     Wmax        ! (km/s) ?=0 Line width approximating twice the maximum
*                                 rotation, not corrected for galaxy inclination;
*                                 zero if unreliable (error>20km/s)
      integer*4     e_Wmax      ! (km/s) ?=0 Error in linewidth measure
      real*4        S_N         ! Signal to noise ratio
      real*4        FHI         ! (Jy.km/s) HI line flux
      real*4        Res         ! (km/s) Spectral channel resolution
      real*4        F50m        ! (mJy) Flux/channel at 50% of mean
*Note (1): References as follows:
*  archi12 = archive search 2012, new material from Parkes
*  hgm2011 = new material from the Arecibo in table2 of Haynes, Giovanelli,
*             Martin 2011AJ....142..170H, Cat. J/AJ/142/170

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

C  Declarations for 'table3.dat'	! 14837 galaxies line width of high quality
                                 (August 2014)

      integer*4 nr__2
      parameter (nr__2=14837)	! Number of records
      character*46 ar__2  	! Full-size record

      integer*4     PGC_1       ! Name from Catalogue of Principal Galaxies
      character*9   OName_1     ! Common secondary Galaxy name
      integer*4     v_HV_       ! (km/s) Heliocentric velocity, weighted average
      integer*4     v_Wmax_     ! (km/s) Line width approximating twice the maximum
*                                   rotation, not corrected for galaxy
*                                   inclination, weighted average
      integer*4     e__Wmax_    ! (km/s) Weighted error in linewidth measure
      integer*4     N           ! ?=0 Number of sources contributing to averaged
*                                   velocity and linewidth; zero if unreliable
      real*4        S_N_1       ! Signal to noise
      real*8        FHI_1       ! (Jy.km/s) HI line flux

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

C  Loading file 'table1.dat'	! *HI surveys conducted between 2000 and 2010 with
*                                 Parkes 64 m telescope

C  Format for file interpretation

    1 format(A4,1X,A61)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,16
        read(1,'(A66)')ar__
        read(ar__,1)Survey,Com
c    ..............Just test output...........
        write(6,1)Survey,Com
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! 4115 galaxies additional line width
*                                 measurements (August 2014)

C  Format for file interpretation

    2 format(
     +  I7,1X,A9,1X,A7,1X,A4,1X,I5,1X,I3,1X,I3,1X,I3,1X,I3,1X,F5.1,1X,
     +  F6.2,1X,F3.1,1X,F6.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,4115
        read(1,'(A76)')ar__1
        read(ar__1,2)
     +  PGC,OName,Ref,Tel,HV,W50m,W50mc,Wmax,e_Wmax,S_N,FHI,Res,F50m
c    ..............Just test output...........
        write(6,2)
     +  PGC,OName,Ref,Tel,HV,W50m,W50mc,Wmax,e_Wmax,S_N,FHI,Res,F50m
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! 14837 galaxies line width of high quality
*                                 (August 2014)

C  Format for file interpretation

    3 format(I7,1X,A9,1X,I5,1X,I3,1X,I2,1X,I1,1X,F5.1,1X,F7.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,14837
        read(1,'(A46)')ar__2
        read(ar__2,3)
     +  PGC_1,OName_1,v_HV_,v_Wmax_,e__Wmax_,N,S_N_1,FHI_1
c    ..............Just test output...........
        write(6,3)
     +  PGC_1,OName_1,v_HV_,v_Wmax_,e__Wmax_,N,S_N_1,FHI_1
c    .......End.of.Just test output...........
      end do
      close(1)

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