FORTRAN Generation
(/./ftp/cats/J/A_A/518/A29)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/518/A29 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-Jun-08
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/518/A29   Distribution of WR stars in 2 nearby galaxies  (Leloudas+, 2010)
*================================================================================
*Do Wolf-Rayet stars have similar locations in hosts as type Ib/c supernovae and
*long gamma-ray bursts?
*    Leloudas G., Sollerman J., Levan A.J., Fynbo J.P.U., Malesani D.,
*    Maund J.R.
*   <Astron. Astrophys., 518, A29-29 (2010)>
*   =2010A&A...518A..29L
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea1.dat'	! Fractional fluxes at the locations of the WR stars

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

      character*8   Gal         ! Galaxy name (M 83 or NGC 1313)
      integer*4     Region      ! Region sequential number within the galaxy (1)
      character*5   SpT         ! WR subtype or "cand." for candidate region (2)
      character*1   n_SpT       ! [a] a for stars classified as WN5-6 and
*                                   included in the WNE distribution
      integer*4     Nstar       ! ? Number of stars in the region with this
*                                 WR sub-type
      real*4        FF          ! Fractional flux (relative surface brightness) (3)
*Note (1): We follow the exact numbering of Hadfield et al. (2005, Cat.
*     J/A+A/439/265, <[HCS2005] NNN> in Simbad) and Hadfield & Crowther
*     (2007, Cat. J/MNRAS/381/418, <[HC2007] NN> in Simbad). Additional 
*     info (e.g. fluxes, errors in star numbers) can be found in these
*     references.
*Note (2): Subtypes as follows:
*    WCE = early WC type
*    WCL = late WC type
*    WNE = early WN type
*    WNL = late WN type
*   cand. = candidate region
*Note (3): These fractional fluxes refer to a binning of 15 and 19 for the
*     images of M 83 and NGC 1313 we have used, respectively. Although we
*     have shown that the results do not change significantly with the
*     choice of binning, individual fractional fluxes can vary.

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

C  Loading file 'tablea1.dat'	! Fractional fluxes at the locations of the WR stars

C  Format for file interpretation

    1 format(A8,1X,I3,1X,A5,1X,A1,I3,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,309
        read(1,'(A28)')ar__
        read(ar__,1)Gal,Region,SpT,n_SpT,Nstar,FF
        if(ar__(21:23) .EQ. '') Nstar = iNULL__
c    ..............Just test output...........
        write(6,1)Gal,Region,SpT,n_SpT,Nstar,FF
c    .......End.of.Just test output...........
      end do
      close(1)

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