FORTRAN Generation
(/./ftp/cats/VI/49)

Conversion of standardized ReadMe file for file /./ftp/cats/VI/49 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-29
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. VI/49       Constellation Boundary Data    (Davenhall+ 1989)
*================================================================================
*Catalogue of Constellation Boundary Data
*    Davenhall A.C., Leggett S.K.
*    <Royal Obs. Edinburgh (1989)>
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'bound_18.dat'	! Boundaries for B1875 (original file)

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

C  B1875 position composed of: RAhr DEdeg
      real*8        RAhr        ! (h) Right ascension in decimal hours (B1875)
      real*8        DEdeg       ! (deg) Declination in degrees (1875)
      character*4   cst         ! Constellation abbreviation
      character*1   type        ! [O] Type of point (O = original)

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

C  Declarations for 'bound_20.dat'	! Boundaries for J2000

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

C  J2000 position composed of: RAhr DEdeg
      real*8        RAhr_1      ! (h) Right ascension in decimal hours (J2000)
      real*8        DEdeg_1     ! (deg) Declination in degrees (J2000)
      character*4   cst_1       ! Constellation abbreviation
      character*1   type_1      ! [OI] Type of point (Original or Interpolated)

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

C  Declarations for 'constbnd.dat'	! *Boundaries for B1875 with adjacent constellations

      integer*4 nr__2
      parameter (nr__2=1651)	! Number of records
      character*28 ar__2  	! Full-size record

C  B1875 position composed of: RAhr DEdeg
      real*8        RAhr_2      ! (h) Right ascension in decimal hours (B1875)
      real*8        DEdeg_2     ! (deg) Declination in degrees (1875)
      character*4   cst_2       ! Constellation abbreviation (1)
      character*4   adj         ! Adjacent constellation abbreviation (1)
*Note (1): The origin point of a constellation has a blank "adj" name, and
*     the successive boundary lines follow in a counter-clockwise order.
*     See the detailed explanations in the "constbnd.txt" file.

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

C  Loading file 'bound_18.dat'	! Boundaries for B1875 (original file)

C  Format for file interpretation

    1 format(F8.5,1X,F9.5,1X,A4,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'bound_18.dat')
      write(6,*) '....Loading file: bound_18.dat'
      do i__=1,1565
        read(1,'(A25)')ar__
        read(ar__,1)RAhr,DEdeg,cst,type
c    ..............Just test output...........
        write(6,1)RAhr,DEdeg,cst,type
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'bound_20.dat'	! Boundaries for J2000

C  Format for file interpretation

    2 format(F10.7,1X,F11.7,1X,A4,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'bound_20.dat')
      write(6,*) '....Loading file: bound_20.dat'
      do i__=1,13039
        read(1,'(A29)')ar__1
        read(ar__1,2)RAhr_1,DEdeg_1,cst_1,type_1
c    ..............Just test output...........
        write(6,2)RAhr_1,DEdeg_1,cst_1,type_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'constbnd.dat'	! *Boundaries for B1875 with adjacent constellations

C  Format for file interpretation

    3 format(F8.5,1X,F9.5,1X,A4,1X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'constbnd.dat')
      write(6,*) '....Loading file: constbnd.dat'
      do i__=1,1651
        read(1,'(A28)')ar__2
        read(ar__2,3)RAhr_2,DEdeg_2,cst_2,adj
c    ..............Just test output...........
        write(6,3)RAhr_2,DEdeg_2,cst_2,adj
c    .......End.of.Just test output...........
      end do
      close(1)

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