FORTRAN Generation
(/./ftp/cats/J/A_A/303/893)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/303/893 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 2024-Apr-19
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/303/893       Planetary nebulae with WR-type nuclei         (Gorny+, 1995)
*================================================================================
*On the status of planetary nebulae with WR-type nuclei
*       GORNY S.K., STASINSKA G.
*      <Astron. Astrophys. 303, 893 (1995)>
*      =1995A&A...303..893G      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1'	! Properties of planetary nebulae with WR-type
                                 central stars

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

      character*10  PNG         ! PNG designation
      character*11  Name        ! Name
      character*9   Sp          ! Spectral class of the central star
      character*6   MType       ! Morphological type (1)
      character*3   RefSou      ! References to images sources (2)
      character*1   l_He_H      ! Upper/lower He/H ratio limit sign
      real*4        He_H        ! []? He/H abundance ratio
      character*1   u_He_H      ! He/H ratio uncertainty flag
      real*4        N_O         ! []? N/O abundance ratio
      character*1   u_N_O       ! N/O ratio uncertainty flag
      real*4        C_O         ! []? C/O abundance ratio
      character*1   u_C_O       ! C/O ratio uncertainty flag
      character*2   RefAbun     ! Reference to abundances (2)
      real*4        ExpVel      ! (km/s) []? 2*expansion velocity
      character*1   u_ExpVel    ! Expansion velocity uncertainty flag
      character*5   r_ExpVel    ! Reference to expansion velocity (2)
      real*4        MLRate      ! (10-6solMass/yr) []? Mass loss rate
      character*2   r_MLRate    ! Reference to mass loss rate (2)
*Note (1):  E    elliptical nebulae
*           B    bipolar nebulae
*           P    point symmetric nebulae
*           I    irregular nebulae
*           s    structure presence
*           m    multishell presence
*           :    general morphological type or structure/multishell presence
*                uncertainty sign (colon)
*Note (2): 1    Chu et al. (1987)
*          2    Schwarz et al. (1992)
*          3    Bassgen & Bremer (1993)
*          4    Kaler et al. (1991)
*          5    Koppen et al. (1991)
*          6    Perinotto (1991)
*          7    Ratag (1991)
*          8    Walton et al. (1993)
*          9    Cuisinier - private communication
*         10    Kingsburgh & Barlow (1994)
*         11    Weinberger (1989)
*         12    Tamura & Shibata (1990)
*         13    Hutsemekers & Surdej (1989)
*         14    Bianchi (1992)
*         15    Leuenhagen et al. (1993)
*         16    de Freitas Pacheco et al. (1993)

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

C  Declarations for 'table2'	! Morphological types of the non-WR planetary
                                 nebulae

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

      character*10  PNG_1       ! PNG designation
      character*12  Name_1      ! Name
      character*6   Mtype_1     ! Morphological type
      character*5   RefSou_1    ! References to images sources (1)
*Note (1): 1    Chu et al. (1987)
*          2    Schwarz et al. (1992)
*          3    Bassgen & Bremer (1993)

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

C  Loading file 'table1'	! Properties of planetary nebulae with WR-type
*                                 central stars

C  Format for file interpretation

    1 format(
     +  A10,3X,A11,3X,A9,3X,A6,3X,A3,3X,A1,F5.3,A1,3X,F5.3,A1,3X,F4.2,
     +  A1,3X,A2,3X,F4.1,A1,3X,A5,3X,F4.2,3X,A2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1')
      write(6,*) '....Loading file: table1'
      do i__=1,48
        read(1,'(A112)')ar__
        read(ar__,1)
     +  PNG,Name,Sp,MType,RefSou,l_He_H,He_H,u_He_H,N_O,u_N_O,C_O,
     +  u_C_O,RefAbun,ExpVel,u_ExpVel,r_ExpVel,MLRate,r_MLRate
        if(ar__(56:60) .EQ. '') He_H = rNULL__
        if(ar__(65:69) .EQ. '') N_O = rNULL__
        if(ar__(74:77) .EQ. '') C_O = rNULL__
        if(ar__(87:90) .EQ. '') ExpVel = rNULL__
        if(ar__(103:106) .EQ. '') MLRate = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  PNG,Name,Sp,MType,RefSou,l_He_H,He_H,u_He_H,N_O,u_N_O,C_O,
     +  u_C_O,RefAbun,ExpVel,u_ExpVel,r_ExpVel,MLRate,r_MLRate
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2'	! Morphological types of the non-WR planetary
*                                 nebulae

C  Format for file interpretation

    2 format(A10,3X,A12,2X,A6,3X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2')
      write(6,*) '....Loading file: table2'
      do i__=1,210
        read(1,'(A42)')ar__1
        read(ar__1,2)PNG_1,Name_1,Mtype_1,RefSou_1
c    ..............Just test output...........
        write(6,2)PNG_1,Name_1,Mtype_1,RefSou_1
c    .......End.of.Just test output...........
      end do
      close(1)

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