FORTRAN Generation
(/./ftp/cats/J/A_A/365/1)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/365/1 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-28
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/365/1            HI observations of LSB galaxies         (Matthews+, 2001)
*================================================================================
*HI observations of giant low surface brightness galaxies
*    Matthews L.D., van Driel W., Monnier-Ragaigne D.
*   <Astron. Astrophys. 365, 1 (2001)>
*   =2001A&A...365....1M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! New measured global HI parameters

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

      character*10  Name       (nr__) ! Name of the source
      character*1   n_Name     (nr__) ! [*] Note on  Name (1)
      real*4        rms        (nr__) ! (mJy) rms
      real*4        Fmax       (nr__) ! (mJy) Peak flux density
      integer*4     W20        (nr__) ! (km/s) Raw line width at 20% peak maximum
      character*1   u_W20      (nr__) ! Uncertainty flag on W20 (2)
      integer*4     W50        (nr__) ! (km/s) Raw line width at 50% peak maximum
      character*1   u_W50      (nr__) ! Uncertainty flag on W50 (2)
      integer*4     HRV        (nr__) ! (km/s) Heliocentric radial velocity
      integer*4     e_HRV      (nr__) ! (km/s) Error on radial velocity measurement
      real*4        SHI        (nr__) ! (Jy.km/s) Integrated HI line flux
      real*4        e_SHI      (nr__) ! (Jy.km/s) Error on integrated HI line flux
      real*4        S_N        (nr__) ! Signal-to-noise
      character*8   Notes      (nr__) ! Notes
*Note (1): An asterisk (*) indicates a galaxy whose parameters were determined
*           from mapping observations
*Note (2): A colon (:) indicates possible uncertainties in the measurement
*           above the formal error

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

C  Declarations for 'table4.dat'	! Derived HI parameters

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

      character*10  Name_1     (nr__1) ! Name of the source
      character*1   n_Name_1   (nr__1) ! Note on Name (1)
      integer*4     W20c       (nr__1) ! (km/s) Corrected HI linewidth at 20% peak maximum
      integer*4     W50c       (nr__1) ! (km/s) Corrected HI linewidth at 50% peak maximum
      integer*4     VLSR       (nr__1) ! (km/s) Radial velocity corrected to Local Rest Frame
      real*4        Dist       (nr__1) ! (Mpc) Distance
      real*4        logMHI     (nr__1) ! ([solMass]) Logarithm of HI mass
      real*4        MHI_LB     (nr__1) ! (Sun) Ratio of HI mass to blue luminosity
      real*4        DHI        (nr__1) ! (arcmin) ? Estimated HI diameter
      character*1   u_DHI      (nr__1) ! Uncertainty flag on DHI (2)
*Note (1): An asterisk indicates a galaxy whose parameters were determined
*           from mapping observations
*Note (2): A colon (:) indicates high uncertainties in the measurement

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

C  Loading file 'table2.dat'	! New measured global HI parameters

C  Format for file interpretation

    1 format(
     +  A10,A1,1X,F4.2,1X,F5.1,1X,I3,A1,1X,I3,A1,1X,I5,1X,I2,1X,F5.2,
     +  1X,F4.2,1X,F4.1,1X,A8)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,16
        read(1,'(A66)')ar__
        read(ar__,1)
     +  Name(i__),n_Name(i__),rms(i__),Fmax(i__),W20(i__),u_W20(i__),
     +  W50(i__),u_W50(i__),HRV(i__),e_HRV(i__),SHI(i__),e_SHI(i__),
     +  S_N(i__),Notes(i__)
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),n_Name(i__),rms(i__),Fmax(i__),W20(i__),u_W20(i__),
     +  W50(i__),u_W50(i__),HRV(i__),e_HRV(i__),SHI(i__),e_SHI(i__),
     +  S_N(i__),Notes(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Derived HI parameters

C  Format for file interpretation

    2 format(
     +  A10,A1,1X,I3,1X,I3,1X,I5,1X,F5.1,1X,F5.2,1X,F4.2,1X,F3.1,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,16
        read(1,'(A47)')ar__1
        read(ar__1,2)
     +  Name_1(i__),n_Name_1(i__),W20c(i__),W50c(i__),VLSR(i__),
     +  Dist(i__),logMHI(i__),MHI_LB(i__),DHI(i__),u_DHI(i__)
        if(ar__1(44:46) .EQ. '') DHI(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),n_Name_1(i__),W20c(i__),W50c(i__),VLSR(i__),
     +  Dist(i__),logMHI(i__),MHI_LB(i__),DHI(i__),u_DHI(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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