FORTRAN Generation
(/./ftp/cats/J/ApJ/658/1096)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/658/1096 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-Mar-28
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/658/1096      H2O maser classification                 (Deacon+, 2007)
*================================================================================
*H_2_O maser observations of candidate post-AGB stars and discovery of three
*high-velocity water sources.
*    Deacon R.M., Chapman J.M., Green A.J., Sevenster M.N.
*   <Astrophys. J., 658, 1096-1113 (2007)>
*   =2007ApJ...658.1096D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! List of sources with H2O and SiO maser detections

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

      character*4   Name        ! Star name (1)
      character*10  IRAS        ! IRAS name (HHMMm+DDMM)
      character*4   cl_MSX      ! MSX AGB classification (2)
      character*2   cl_IRAS     ! IRAS AGB classification (3)
      character*1   H2O         ! [YN] Detection of H_2_O (22GHz)
      character*1   SiO         ! [YN] Detection of SiO (86GHz)
*Note (1): Names identified in Simbad as:
*     dNNN = SCHD NNN
*     bNNN = SCHB NNN
*     vNNN = [SVM2001b] NNN
*Note (2): MSX class codes is as follows:
*     Q I  = MSX quadrant I (older post-AGB stars)
*     Q IV = MSX quadrant IV (young post-AGB stars)
*Note (3): IRAS class code is as follows:
*     LI = IRAS LI region (more massive post-AGB stars)
*     RI = IRAS RI region (less massive post-AGB stars)

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

C  Loading file 'table1.dat'	! List of sources with H2O and SiO maser detections

C  Format for file interpretation

    1 format(A4,1X,A10,1X,A4,1X,A2,1X,A1,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,85
        read(1,'(A27)')ar__
        read(ar__,1)Name,IRAS,cl_MSX,cl_IRAS,H2O,SiO
c    ..............Just test output...........
        write(6,1)Name,IRAS,cl_MSX,cl_IRAS,H2O,SiO
c    .......End.of.Just test output...........
      end do
      close(1)

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