FORTRAN Generation
(/./ftp/cats/II/249)

Conversion of standardized ReadMe file for file /./ftp/cats/II/249 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-Oct-09
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. II/249              WHAM Northern Sky Survey, V-1.1         (Haffner+, 2003)
*================================================================================
*The Wisconsin H-Alpha Mapper Northern Sky Survey
*     Haffner L.M., Reynolds R.J., Tufte S.L., Madsen G.J., Jaehnig K.,
*     Percival J.W.
*    <Astrophys. J. Suppl. Ser. 149, 405 (2003)>
*    =2003ApJS..149..405H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'catalog.dat'	! WHAM Northern Sky Survey - V 1.1

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

C  Position composed of: GLON GLAT
      real*8        GLON        ! (deg) Galactic Longitude
      real*8        GLAT        ! (deg) Galactic Latitude
      real*8        IHa         ! (2.4x10-7mW/m2/sr) H{alpha} intensity (1)
      real*4        e_IHa       ! (2.4x10-7mW/m2/sr) Standard error of the intensity (1) (2)
      integer*4     Block       ! Block designation of observation (3)
      real*8        Iori        ! (2.4x10-7mW/m2/sr) Original Intensity (4)
*Note (1): 1 Rayleigh = 10+6/(4*pi)photons/cm^2^/s/sr
*     = 2.4x10^-7^erg/cm^2^/s/sr at H{alpha}.
*Note (2): Formal propagation only. This error does not reflect
*    systematic issues discussed int the text. If listed as zero, the
*    original observation is likely contaminated by a bright star (see
*    text). The intensity listed in IHa is then an average of the nearest
*    neighbors within one degree of the original.
*Note (3): The numeric block designation for this observation.
*    Blocks of data are taken sequentially in time and are physically close
*    on the sky (see text). Systematics remaining in the data are thus
*    often linked to this parameter.
*Note (4): If column 3 represents the average of nearest neighbors
*    (e_IHa=0; see Note 2), this column contains the original (unmodified)
*    intensity for reference.

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

C  Loading file 'catalog.dat'	! WHAM Northern Sky Survey - V 1.1

C  Format for file interpretation

    1 format(3X,F7.3,3X,F7.3,3X,F7.3,5X,F5.3,6X,I4,2X,F8.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'catalog.dat')
      write(6,*) '....Loading file: catalog.dat'
      do i__=1,37565
        read(1,'(A60)')ar__
        read(ar__,1)GLON,GLAT,IHa,e_IHa,Block,Iori
c    ..............Just test output...........
        write(6,1)GLON,GLAT,IHa,e_IHa,Block,Iori
c    .......End.of.Just test output...........
      end do
      close(1)

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