FORTRAN Generation
(/./ftp/cats/J/AJ/122/3155)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/122/3155 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-29
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/AJ/122/3155       Peculiar HI cloud near galactic plane         (Higgs+, 2001)
*================================================================================
*A peculiar intermediate-velocity hydrogen cloud near the galactic plane.
*    Higgs L.A., Kerton C.R., Knee L.B.G.
*   <Astron. J. 122, 3155 (2001)>
*   =2001AJ....122.3155H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Parameters of H I knots

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

C  Position composed of: GLON GLAT
      integer*4     v_HKK2001_ (nr__) ! Knot number ([HKK2001] Knot NN)
      real*4        GLON       (nr__) ! (deg) Galactic longitude
      real*4        GLAT       (nr__) ! (deg) Galactic latitude
      real*4        RV         (nr__) ! (km/s) LSR radial velocity
      real*4        e_RV       (nr__) ! (km/s) rms uncertainty on RV
      real*4        DV         (nr__) ! (km/s) Observed widths (1)
      real*4        e_DV       (nr__) ! (km/s) rms uncertainty on DV
      real*4        Tb         (nr__) ! (K) Peak brightness
      real*4        theta1     (nr__) ! (arcmin) Size of the knot
      real*4        theta2     (nr__) ! (arcmin) Size of the knot
      character*11  n_theta1   (nr__) ! Note on the size
      real*4        Mass       (nr__) ! (solMass/kpc2) HI mass in D^2^ solMass (2)
*Note (1): The 1.3km/s spectrometer resolution has not been removed.
*Note (2): The H I masses of the knots are determined from the relation
*    for a Gaussian brightness distribution with peak brightness Tb (K) and
*    half-power widths theta1 x theta2 (arcmin^2^) and a Gaussian velocity
*    profile with half-power with DV (km/s), at a distance D (kpc):
*            M = 1.49*10^-3^*Tb*theta1*theta2*DV*D^2^

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

C  Declarations for 'table4.dat'	! Point Sources Observed at 1420 MHz

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

C  J2000 position composed of: RAh RAm RAs DEd DEm DEs
      real*8        RAdeg      (nr__1) ! (deg) Right Ascension J2000
      real*8        DEdeg      (nr__1) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*6   Seq        (nr__1) ! Designation number (1)
      real*4        GLON_1     (nr__1) ! (deg) Galactic longitude
      real*4        GLAT_1     (nr__1) ! (deg) Galactic latitude
      integer*4     RAh        (nr__1) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm        (nr__1) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs        (nr__1) ! (s) Second of Right Ascension (J2000)
      real*4        e_RAs      (nr__1) ! (s) Error in RAs
      integer*4     DEd        (nr__1) ! (deg) Degree of the Declination (J2000)
      integer*4     DEm        (nr__1) ! (arcmin) Arcminute of the Declination (J2000)
      integer*4     DEs        (nr__1) ! (arcsec) Arcsecond of the Declination (J2000)
      integer*4     e_DEs      (nr__1) ! (arcsec) Error in DEs
      real*4        FluxDen    (nr__1) ! (mJy) Integrated flux density
*                                    (1420MHz for table4, 408MHz for table5)
      real*4        e_FluxDen  (nr__1) ! (mJy) Error in FluxDen
      character*16  Comm       (nr__1) ! Comments (2)
*Note (1): Follows designation system for DRAO source lists
*           (Higgs, 1986JRASC..80...51H).
*        71PNNN in table4, 72PNN in table5
*Note (2): Comments:
*   a = Parameters of this source were derived from integration of image
*        intensity, not by Gaussian fitting
*   b = This source is not visible in the 408-MHz image, so spectrum may
*        be ``inverted''.
*   c = Position given here differs by 19" from that in NVSS
*        (Condon et al., 1998AJ....115.1693C).
*   E = The source may be slightly resolved (one of the deconvolved
*        dimensions exceeds 15" in 1420MHz images).
*   V = The source may be variable.
*   F = The 408/1420 MHz spectral index is flat (0.25>{alpha}>-0.25)
*        where S_int_ {propto} {nu}^{alpha}^
*   I = The spectral index is ``inverted'' ({alpha}>0.25)
*   + = 1420-MHz sources weaker than 10mJy contribute to the 408-MHz source
*   ? = A discrepancy of more than 45'' exists between the 1420-MHz and 
*       408-MHz positions.

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

C  Declarations for 'table5.dat'	! Point Sources Observed at 408 MHz

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

C  J2000 position composed of: RAh RAm RAs DEd DEm DEs
      real*8        RAdeg_1    (nr__2) ! (deg) Right Ascension J2000
      real*8        DEdeg_1    (nr__2) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*6   Seq_1      (nr__2) ! Designation number (1)
      real*4        GLON_2     (nr__2) ! (deg) Galactic longitude
      real*4        GLAT_2     (nr__2) ! (deg) Galactic latitude
      integer*4     RAh_1      (nr__2) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_1      (nr__2) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_1      (nr__2) ! (s) Second of Right Ascension (J2000)
      real*4        e_RAs_1    (nr__2) ! (s) Error in RAs
      integer*4     DEd_1      (nr__2) ! (deg) Degree of the Declination (J2000)
      integer*4     DEm_1      (nr__2) ! (arcmin) Arcminute of the Declination (J2000)
      integer*4     DEs_1      (nr__2) ! (arcsec) Arcsecond of the Declination (J2000)
      integer*4     e_DEs_1    (nr__2) ! (arcsec) Error in DEs
      real*4        FluxDen_1  (nr__2) ! (mJy) Integrated flux density
*                                    (1420MHz for table4, 408MHz for table5)
      real*4        e_FluxDen_1(nr__2) ! (mJy) Error in FluxDen
      character*16  Comm_1     (nr__2) ! Comments (2)
*Note (1): Follows designation system for DRAO source lists
*           (Higgs, 1986JRASC..80...51H).
*        71PNNN in table4, 72PNN in table5
*Note (2): Comments:
*   a = Parameters of this source were derived from integration of image
*        intensity, not by Gaussian fitting
*   b = This source is not visible in the 408-MHz image, so spectrum may
*        be ``inverted''.
*   c = Position given here differs by 19" from that in NVSS
*        (Condon et al., 1998AJ....115.1693C).
*   E = The source may be slightly resolved (one of the deconvolved
*        dimensions exceeds 15" in 1420MHz images).
*   V = The source may be variable.
*   F = The 408/1420 MHz spectral index is flat (0.25>{alpha}>-0.25)
*        where S_int_ {propto} {nu}^{alpha}^
*   I = The spectral index is ``inverted'' ({alpha}>0.25)
*   + = 1420-MHz sources weaker than 10mJy contribute to the 408-MHz source
*   ? = A discrepancy of more than 45'' exists between the 1420-MHz and 
*       408-MHz positions.

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

C  Loading file 'table3.dat'	! Parameters of H I knots

C  Format for file interpretation

    1 format(
     +  I2,1X,F6.3,1X,F6.3,1X,F4.1,1X,F3.1,1X,F3.1,1X,F3.1,1X,F3.1,1X,
     +  F3.1,1X,F3.1,1X,A11,2X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,10
        read(1,'(A63)')ar__
        read(ar__,1)
     +  v_HKK2001_(i__),GLON(i__),GLAT(i__),RV(i__),e_RV(i__),DV(i__),
     +  e_DV(i__),Tb(i__),theta1(i__),theta2(i__),n_theta1(i__),
     +  Mass(i__)
c    ..............Just test output...........
        write(6,1)
     +  v_HKK2001_(i__),GLON(i__),GLAT(i__),RV(i__),e_RV(i__),DV(i__),
     +  e_DV(i__),Tb(i__),theta1(i__),theta2(i__),n_theta1(i__),
     +  Mass(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Point Sources Observed at 1420 MHz

C  Format for file interpretation

    2 format(
     +  A6,1X,F6.3,1X,F6.3,1X,I2,1X,I2,1X,F4.1,1X,F3.1,1X,I2,1X,I2,1X,
     +  I2,1X,I1,1X,F6.1,1X,F4.1,1X,A16)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,106
        read(1,'(A76)')ar__1
        read(ar__1,2)
     +  Seq(i__),GLON_1(i__),GLAT_1(i__),RAh(i__),RAm(i__),RAs(i__),
     +  e_RAs(i__),DEd(i__),DEm(i__),DEs(i__),e_DEs(i__),FluxDen(i__),
     +  e_FluxDen(i__),Comm(i__)
        RAdeg(i__) = rNULL__
        DEdeg(i__) = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
        if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
        if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
        if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
        if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
        if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
c    ..............Just test output...........
        write(6,2)
     +  Seq(i__),GLON_1(i__),GLAT_1(i__),RAh(i__),RAm(i__),RAs(i__),
     +  e_RAs(i__),DEd(i__),DEm(i__),DEs(i__),e_DEs(i__),FluxDen(i__),
     +  e_FluxDen(i__),Comm(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! Point Sources Observed at 408 MHz

C  Format for file interpretation

    3 format(
     +  A6,1X,F6.3,1X,F6.3,1X,I2,1X,I2,1X,F4.1,1X,F3.1,1X,I2,1X,I2,1X,
     +  I2,1X,I1,1X,F6.1,1X,F4.1,1X,A16)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,56
        read(1,'(A76)')ar__2
        read(ar__2,3)
     +  Seq_1(i__),GLON_2(i__),GLAT_2(i__),RAh_1(i__),RAm_1(i__),
     +  RAs_1(i__),e_RAs_1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),
     +  e_DEs_1(i__),FluxDen_1(i__),e_FluxDen_1(i__),Comm_1(i__)
        RAdeg_1(i__) = rNULL__
        DEdeg_1(i__) = rNULL__
c  Derive coordinates RAdeg_1 and DEdeg_1 from input data
c  (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown)
        if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15.
        if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4.
        if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240.
        if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__)
        if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60.
        if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600.
c    ..............Just test output...........
        write(6,3)
     +  Seq_1(i__),GLON_2(i__),GLAT_2(i__),RAh_1(i__),RAm_1(i__),
     +  RAs_1(i__),e_RAs_1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),
     +  e_DEs_1(i__),FluxDen_1(i__),e_FluxDen_1(i__),Comm_1(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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