FORTRAN Generation
(/./ftp/cats/J/ApJ/438/181)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/438/181 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-Apr-16
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/438/181                Observations of H II Regions in M81 (Hill+ 1995)
*================================================================================
*Ultraviolet Imaging Telescope and Optical Emission-Line Observations of H II
*Regions in M81
*     Hill J.K., Cheng K.-P., Bohlin R.C., Cornett R.H., Hintzen P.M.N.,
*     Robert M.S.,  O'Connell R.W., Roberts M.S.,Smith A.M., Smith E.P.,
*     Stecher T.P.
*    <Astrophys. J. 438, 181 (1995)>
*    =1995ApJ...438..181H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! M81 H II region photometry

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

      integer*4     PSK        (nr__) ! *H II region number from PSK
      real*4        m152       (nr__) ! (mag) Far-UV magnitude
      real*4        e_m152     (nr__) ! (mag) Estimated error in m152
      real*4        m249       (nr__) ! (mag) Near-UV magnitude
      real*4        e_m249     (nr__) ! (mag) Estimated error in m249
      real*4        fHa        (nr__) ! (10-14mW/m2) H-alpha flux
      real*4        e_fHa      (nr__) ! (10-14mW/m2) Estimated fractional error in fHa
      real*4        fHb        (nr__) ! (10-14mW/m2) *[]?=0.0 H-beta flux
      real*4        e_fHb      (nr__) ! (10-14mW/m2) *[]?=0.0 Estimated fractional error in fHb
*Note on PSK:
*  H II region number from Petit, Sivan, & Karachentsev (1988A&AS...74..475P)
*Note on fHb, e_fHb:
*  For 11 H II regions not measurable in the H-beta line, the H-beta
*  fluxes and the corresponding errors are both set to 0.0.

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

C  Loading file 'table2.dat'	! M81 H II region photometry

C  Format for file interpretation

    1 format(I3,F6.2,F5.2,F6.2,F5.2,F6.2,F5.2,F6.2,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,52
        read(1,'(A47)')ar__
        read(ar__,1)
     +  PSK(i__),m152(i__),e_m152(i__),m249(i__),e_m249(i__),fHa(i__),
     +  e_fHa(i__),fHb(i__),e_fHb(i__)
c    ..............Just test output...........
        write(6,1)
     +  PSK(i__),m152(i__),e_m152(i__),m249(i__),e_m249(i__),fHa(i__),
     +  e_fHa(i__),fHb(i__),e_fHb(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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