FORTRAN Generation
(/./ftp/cats/J/AJ/134/1671)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/134/1671 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-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/AJ/134/1671       Speckle interferometry at USNO. XIII          (Mason+, 2007)
*================================================================================
*Speckle interferometry at the US naval observatory. XIII.
*    Mason B.D., Hartkopf W.I., Wycoff G.L., Wieder G.
*   <Astron. J., 134, 1671-1678 (2007)>
*   =2007AJ....134.1671M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Speckle interferometric measurements of double stars

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

C  J2000 position composed of: RAh RAm DE- DEd DEm
      real*8        RAdeg      (nr__) ! (deg) Right Ascension J2000
      real*8        DEdeg      (nr__) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     RAh        (nr__) ! (h) WDS hour of Right Ascension (J2000)
      real*4        RAm        (nr__) ! (min) WDS minute of Right Ascension (J2000)
      character*1   DE_        (nr__) ! Sign of the WDS Declination (J2000)
      integer*4     DEd        (nr__) ! (deg) WDS degree of Declination (J2000)
      integer*4     DEm        (nr__) ! (arcmin) WDS arcminute of Declination (J2000)
      character*9   Name       (nr__) ! Discoverer designation
      character*5   m_Name     (nr__) ! Additional system components
      real*8        Epoch      (nr__) ! (yr) Epoch of observation
      real*4        PA         (nr__) ! (deg) Position angle
      character*1   u_PA       (nr__) ! Uncertainty flag for PA
      real*4        Sep        (nr__) ! (arcsec) Separation
      character*1   u_Sep      (nr__) ! Uncertainty flag for Sep
      integer*4     Num        (nr__) ! Number of observations contained in the mean
      character*3   Note       (nr__) ! Object notes (1)
      integer*4     Dyr        (nr__) ! ? Number of years since last measure
*Note (1): Object notes as follows:
*      C = Confirming Observation
*      P = Given the proper motion and time since the last observation, 
*          this pair is identified as a common proper motion binary
*      1 = Also known as BEM 15.
*      2 = Earlier 2004 data not published (Mason et al., 2006,
*          Cat. J/AJ/132/2219) due to larger than expected positional change
*      3 = Earlier 2005 data not published (Mason et al. 2006,
*          Cat. J/AJ/131/2687) due to larger than expected positional change
*      4 = Also see Table 1
*      5 = Hyperbolic orbit to this pair given in Hopmann (1967MiWie..13...49H)

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

C  Declarations for 'table4.dat'	! Speckle interferometric measurements and residuals
                             to systems with orbits or linear elements

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

C  J2000 position composed of: RAh RAm DE- DEd DEm
      real*8        RAdeg_1    (nr__1) ! (deg) Right Ascension J2000
      real*8        DEdeg_1    (nr__1) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     RAh_1      (nr__1) ! (h) Right Ascension (J2000)
      real*4        RAm_1      (nr__1) ! (min) Right Ascension (J2000)
      character*1   DE__1      (nr__1) ! Sign of the Declination (J2000)
      integer*4     DEd_1      (nr__1) ! (deg) Declination (J2000)
      integer*4     DEm_1      (nr__1) ! (arcmin) Declination (J2000)
      character*9   Name_1     (nr__1) ! Discoverer designation
      character*4   m_Name_1   (nr__1) ! Additional system components
      real*8        Epoch_1    (nr__1) ! (yr) ? Epoch of observation
      real*4        PA_1       (nr__1) ! (deg) ? Position angle
      real*4        Sep_1      (nr__1) ! (arcsec) ? Separation
      integer*4     Num_1      (nr__1) ! ? Number of observations contained in the mean
      real*4        v_O_C_PA   (nr__1) ! (deg) The O-C position angle residual
      real*4        v_O_C_Sep  (nr__1) ! (arcsec) The O-C separation residual
      integer*4     Ref        (nr__1) ! Observation reference, in refs.dat file
      character*3   f_Ref      (nr__1) ! Flag on Ref (1)
*Note (1): Flag as follows:
*      C = System used in calibration
*      * = System used in characterizing errors
*      1 = This measure was inconsistent with previous measures, so not
*          included in Mason et al. (2006, Cat. J/AJ/131/2687). However,
*          available data are deemed insufficient for a new orbital
*          calculation at this time
*      2 = This system was expected to show significant motion over the
*          calendar year, so multiple observations have been obtained

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

C  Declarations for 'table5.dat'	! ICCD measurements of double stars

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

C  J2000 position composed of: RAh RAm DE- DEd DEm
      real*8        RAdeg_2    (nr__2) ! (deg) Right Ascension J2000
      real*8        DEdeg_2    (nr__2) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     RAh_2      (nr__2) ! (h) WDS hour of Right Ascension (J2000)
      real*4        RAm_2      (nr__2) ! (min) WDS minute of Right Ascension (J2000)
      character*1   DE__2      (nr__2) ! Sign of the WDS Declination (J2000)
      integer*4     DEd_2      (nr__2) ! (deg) WDS degree of Declination (J2000)
      integer*4     DEm_2      (nr__2) ! (arcmin) WDS arcminute of Declination (J2000)
      character*9   Name_2     (nr__2) ! Discoverer designation
      character*5   m_Name_2   (nr__2) ! Additional system components
      real*8        Epoch_2    (nr__2) ! (yr) Epoch of observation
      real*4        PA_2       (nr__2) ! (deg) Position angle
      character*1   u_PA_1     (nr__2) ! Uncertainty flag for PA
      real*4        Sep_2      (nr__2) ! (arcsec) Separation
      character*1   u_Sep_1    (nr__2) ! Uncertainty flag for Sep
      integer*4     Num_2      (nr__2) ! Number of observations contained in the mean
      character*3   Note_1     (nr__2) ! Object notes (1)
      integer*4     Dyr_1      (nr__2) ! ? Number of years since last measure
*Note (1): Object notes as follows:
*      C = Confirming Observation
*      P = Given the proper motion and time since the last observation, 
*          this pair is identified as a common proper motion binary
*      1 = Also known as BEM 15.
*      2 = Earlier 2004 data not published (Mason et al., 2006,
*          Cat. J/AJ/132/2219) due to larger than expected positional change
*      3 = Earlier 2005 data not published (Mason et al. 2006,
*          Cat. J/AJ/131/2687) due to larger than expected positional change
*      4 = Also see Table 1
*      5 = Hyperbolic orbit to this pair given in Hopmann (1967MiWie..13...49H)

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

C  Declarations for 'table6.dat'	! ICCD measurements and residuals to systems with
                             orbits or linear elements

      integer*4 nr__3
      parameter (nr__3=341)	! Number of records
      character*71 ar__3  	! Full-size record

C  J2000 position composed of: RAh RAm DE- DEd DEm
      real*8        RAdeg_3    (nr__3) ! (deg) Right Ascension J2000
      real*8        DEdeg_3    (nr__3) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     RAh_3      (nr__3) ! (h) Right Ascension (J2000)
      real*4        RAm_3      (nr__3) ! (min) Right Ascension (J2000)
      character*1   DE__3      (nr__3) ! Sign of the Declination (J2000)
      integer*4     DEd_3      (nr__3) ! (deg) Declination (J2000)
      integer*4     DEm_3      (nr__3) ! (arcmin) Declination (J2000)
      character*9   Name_3     (nr__3) ! Discoverer designation
      character*4   m_Name_3   (nr__3) ! Additional system components
      real*8        Epoch_3    (nr__3) ! (yr) ? Epoch of observation
      real*4        PA_3       (nr__3) ! (deg) ? Position angle
      real*4        Sep_3      (nr__3) ! (arcsec) ? Separation
      integer*4     Num_3      (nr__3) ! ? Number of observations contained in the mean
      real*4        v_O_C_PA_1 (nr__3) ! (deg) The O-C position angle residual
      real*4        v_O_C_Sep_1(nr__3) ! (arcsec) The O-C separation residual
      integer*4     Ref_1      (nr__3) ! Observation reference, in refs.dat file
      character*3   f_Ref_1    (nr__3) ! Flag on Ref (1)
*Note (1): Flag as follows:
*      C = System used in calibration
*      * = System used in characterizing errors
*      1 = This measure was inconsistent with previous measures, so not
*          included in Mason et al. (2006, Cat. J/AJ/131/2687). However,
*          available data are deemed insufficient for a new orbital
*          calculation at this time
*      2 = This system was expected to show significant motion over the
*          calendar year, so multiple observations have been obtained

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

C  Declarations for 'table7.dat'	! Binaries not found

      integer*4 nr__4
      parameter (nr__4=14)	! Number of records
      character*56 ar__4  	! Full-size record

C  J2000 position composed of: RAh RAm DE- DEd DEm
      real*8        RAdeg_4    (nr__4) ! (deg) Right Ascension J2000
      real*8        DEdeg_4    (nr__4) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     RAh_4      (nr__4) ! (h) WDS hour of Right Ascension (J2000)
      real*4        RAm_4      (nr__4) ! (min) WDS minute of Right Ascension (J2000)
      character*1   DE__4      (nr__4) ! Sign of the WDS Declination (J2000)
      integer*4     DEd_4      (nr__4) ! (deg) WDS degree of Declination (J2000)
      integer*4     DEm_4      (nr__4) ! (arcmin) WDS arcminute of Declination (J2000)
      character*9   Name_4     (nr__4) ! Discoverer designation
      character*5   m_Name_4   (nr__4) ! Additional system components
      integer*4     Epoch_4    (nr__4) ! (yr) Epoch of observation
      integer*4     PA_4       (nr__4) ! (deg) Position angle
      real*4        Sep_4      (nr__4) ! (arcsec) Separation
      real*4        mag1       (nr__4) ! (mag) Primary published magnitude
      real*4        mag2       (nr__4) ! (mag) Secondary published magnitude
      integer*4     Note_2     (nr__4) ! ? Note (1)
*Note (1): Notes as follows:
*      1 = The DM cross reference given in Couteau (1966JO.....49..221C)
*          does not match the coordinates in the paper, but the pair is not
*          found at either location
*      2 = Hipparcos "suspected nonsingle" (Perryman et al. 1997, I/239,
*          field H61), possibly due to input catalog listing, but no
*          indication of duplicity here
*      3 = Three measures from 1874 to 1894 (Wilson & Seabroke 1875, MmRAS,
*          42, 59; 1877, MmRAS, 43, 105; Glasenapp 1895, Mesures
*          Micrometriques d'Etoiles Doubles Faites a St. Petersbourg et a
*          Domkino, Vol. 3 (St. Petersburg: Impr. Acad. Imperiale Sci.))
*          and nothing since. Since 1894 the AB pair has been measured 67
*          times with no accompanying measure of the wide pair

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

C  Declarations for 'refs.dat'	! References

      integer*4 nr__5
      parameter (nr__5=90)	! Number of records
      character*133 ar__5  	! Full-size record

      integer*4     Ref_2      (nr__5) ! Reference number
      character*19  BibCode    (nr__5) ! BibCode
      character*21  Aut        (nr__5) ! Author's name
      character*88  Com        (nr__5) ! Comments

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

C  Loading file 'table3.dat'	! Speckle interferometric measurements of double stars

C  Format for file interpretation

    1 format(
     +  I2,1X,F4.1,1X,A1,I2,1X,I2,1X,A9,1X,A5,1X,F8.3,1X,F5.1,A1,1X,
     +  F5.2,A1,1X,I1,1X,A3,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,178
        read(1,'(A63)')ar__
        read(ar__,1)
     +  RAh(i__),RAm(i__),DE_(i__),DEd(i__),DEm(i__),Name(i__),
     +  m_Name(i__),Epoch(i__),PA(i__),u_PA(i__),Sep(i__),u_Sep(i__),
     +  Num(i__),Note(i__),Dyr(i__)
        if(ar__(61:63) .EQ. '') Dyr(i__) = iNULL__
        RAdeg(i__) = rNULL__
        DEdeg(i__) = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
        if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
        if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
        if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
        if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c    ..............Just test output...........
        write(6,1)
     +  RAh(i__),RAm(i__),DE_(i__),DEd(i__),DEm(i__),Name(i__),
     +  m_Name(i__),Epoch(i__),PA(i__),u_PA(i__),Sep(i__),u_Sep(i__),
     +  Num(i__),Note(i__),Dyr(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Speckle interferometric measurements and residuals
*                             to systems with orbits or linear elements

C  Format for file interpretation

    2 format(
     +  I2,1X,F4.1,1X,A1,I2,1X,I2,1X,A9,1X,A4,1X,F8.3,1X,F5.1,1X,F5.2,
     +  1X,I1,1X,F5.1,1X,F5.2,1X,I2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,80
        read(1,'(A71)')ar__1
        read(ar__1,2)
     +  RAh_1(i__),RAm_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),
     +  Name_1(i__),m_Name_1(i__),Epoch_1(i__),PA_1(i__),Sep_1(i__),
     +  Num_1(i__),v_O_C_PA(i__),v_O_C_Sep(i__),Ref(i__),f_Ref(i__)
        if(ar__1(31:38) .EQ. '') Epoch_1(i__) = rNULL__
        if(ar__1(40:44) .EQ. '') PA_1(i__) = rNULL__
        if(ar__1(46:50) .EQ. '') Sep_1(i__) = rNULL__
        if(ar__1(52:52) .EQ. '') Num_1(i__) = iNULL__
        RAdeg_1(i__) = rNULL__
        DEdeg_1(i__) = rNULL__
c  Derive coordinates RAdeg_1 and DEdeg_1 from input data
c  (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown)
        if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15.
        if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4.
        if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__)
        if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60.
        if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  RAh_1(i__),RAm_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),
     +  Name_1(i__),m_Name_1(i__),Epoch_1(i__),PA_1(i__),Sep_1(i__),
     +  Num_1(i__),v_O_C_PA(i__),v_O_C_Sep(i__),Ref(i__),f_Ref(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! ICCD measurements of double stars

C  Format for file interpretation

    3 format(
     +  I2,1X,F4.1,1X,A1,I2,1X,I2,1X,A9,1X,A5,1X,F8.3,1X,F5.1,A1,1X,
     +  F5.2,A1,1X,I1,1X,A3,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,450
        read(1,'(A63)')ar__2
        read(ar__2,3)
     +  RAh_2(i__),RAm_2(i__),DE__2(i__),DEd_2(i__),DEm_2(i__),
     +  Name_2(i__),m_Name_2(i__),Epoch_2(i__),PA_2(i__),u_PA_1(i__),
     +  Sep_2(i__),u_Sep_1(i__),Num_2(i__),Note_1(i__),Dyr_1(i__)
        if(ar__2(61:63) .EQ. '') Dyr_1(i__) = iNULL__
        RAdeg_2(i__) = rNULL__
        DEdeg_2(i__) = rNULL__
c  Derive coordinates RAdeg_2 and DEdeg_2 from input data
c  (RAdeg_2 and DEdeg_2 are set to rNULL__ when unknown)
        if(RAh_2(i__) .GT. -180) RAdeg_2(i__)=RAh_2(i__)*15.
        if(RAm_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAm_2(i__)/4.
        if(DEd_2(i__) .GE. 0) DEdeg_2(i__)=DEd_2(i__)
        if(DEm_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEm_2(i__)/60.
        if(DE__2(i__).EQ.'-'.AND.DEdeg_2(i__).GE.0) DEdeg_2(i__)=-DEdeg_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  RAh_2(i__),RAm_2(i__),DE__2(i__),DEd_2(i__),DEm_2(i__),
     +  Name_2(i__),m_Name_2(i__),Epoch_2(i__),PA_2(i__),u_PA_1(i__),
     +  Sep_2(i__),u_Sep_1(i__),Num_2(i__),Note_1(i__),Dyr_1(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_2(i__),DEdeg_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! ICCD measurements and residuals to systems with
*                             orbits or linear elements

C  Format for file interpretation

    4 format(
     +  I2,1X,F4.1,1X,A1,I2,1X,I2,1X,A9,1X,A4,1X,F8.3,1X,F5.1,1X,F5.2,
     +  1X,I1,1X,F5.1,1X,F5.2,1X,I2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,341
        read(1,'(A71)')ar__3
        read(ar__3,4)
     +  RAh_3(i__),RAm_3(i__),DE__3(i__),DEd_3(i__),DEm_3(i__),
     +  Name_3(i__),m_Name_3(i__),Epoch_3(i__),PA_3(i__),Sep_3(i__),
     +  Num_3(i__),v_O_C_PA_1(i__),v_O_C_Sep_1(i__),Ref_1(i__),
     +  f_Ref_1(i__)
        if(ar__3(31:38) .EQ. '') Epoch_3(i__) = rNULL__
        if(ar__3(40:44) .EQ. '') PA_3(i__) = rNULL__
        if(ar__3(46:50) .EQ. '') Sep_3(i__) = rNULL__
        if(ar__3(52:52) .EQ. '') Num_3(i__) = iNULL__
        RAdeg_3(i__) = rNULL__
        DEdeg_3(i__) = rNULL__
c  Derive coordinates RAdeg_3 and DEdeg_3 from input data
c  (RAdeg_3 and DEdeg_3 are set to rNULL__ when unknown)
        if(RAh_3(i__) .GT. -180) RAdeg_3(i__)=RAh_3(i__)*15.
        if(RAm_3(i__) .GT. -180) RAdeg_3(i__)=RAdeg_3(i__)+RAm_3(i__)/4.
        if(DEd_3(i__) .GE. 0) DEdeg_3(i__)=DEd_3(i__)
        if(DEm_3(i__) .GE. 0) DEdeg_3(i__)=DEdeg_3(i__)+DEm_3(i__)/60.
        if(DE__3(i__).EQ.'-'.AND.DEdeg_3(i__).GE.0) DEdeg_3(i__)=-DEdeg_3(i__)
c    ..............Just test output...........
        write(6,4)
     +  RAh_3(i__),RAm_3(i__),DE__3(i__),DEd_3(i__),DEm_3(i__),
     +  Name_3(i__),m_Name_3(i__),Epoch_3(i__),PA_3(i__),Sep_3(i__),
     +  Num_3(i__),v_O_C_PA_1(i__),v_O_C_Sep_1(i__),Ref_1(i__),
     +  f_Ref_1(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_3(i__),DEdeg_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Binaries not found

C  Format for file interpretation

    5 format(
     +  I2,1X,F4.1,1X,A1,I2,1X,I2,1X,A9,1X,A5,1X,I4,1X,I3,1X,F4.1,1X,
     +  F4.1,1X,F4.1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,14
        read(1,'(A56)')ar__4
        read(ar__4,5)
     +  RAh_4(i__),RAm_4(i__),DE__4(i__),DEd_4(i__),DEm_4(i__),
     +  Name_4(i__),m_Name_4(i__),Epoch_4(i__),PA_4(i__),Sep_4(i__),
     +  mag1(i__),mag2(i__),Note_2(i__)
        if(ar__4(56:56) .EQ. '') Note_2(i__) = iNULL__
        RAdeg_4(i__) = rNULL__
        DEdeg_4(i__) = rNULL__
c  Derive coordinates RAdeg_4 and DEdeg_4 from input data
c  (RAdeg_4 and DEdeg_4 are set to rNULL__ when unknown)
        if(RAh_4(i__) .GT. -180) RAdeg_4(i__)=RAh_4(i__)*15.
        if(RAm_4(i__) .GT. -180) RAdeg_4(i__)=RAdeg_4(i__)+RAm_4(i__)/4.
        if(DEd_4(i__) .GE. 0) DEdeg_4(i__)=DEd_4(i__)
        if(DEm_4(i__) .GE. 0) DEdeg_4(i__)=DEdeg_4(i__)+DEm_4(i__)/60.
        if(DE__4(i__).EQ.'-'.AND.DEdeg_4(i__).GE.0) DEdeg_4(i__)=-DEdeg_4(i__)
c    ..............Just test output...........
        write(6,5)
     +  RAh_4(i__),RAm_4(i__),DE__4(i__),DEd_4(i__),DEm_4(i__),
     +  Name_4(i__),m_Name_4(i__),Epoch_4(i__),PA_4(i__),Sep_4(i__),
     +  mag1(i__),mag2(i__),Note_2(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_4(i__),DEdeg_4(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'refs.dat'	! References

C  Format for file interpretation

    6 format(I2,1X,A19,1X,A21,1X,A88)

C  Effective file loading

      open(unit=1,status='old',file=
     +'refs.dat')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,90
        read(1,'(A133)')ar__5
        read(ar__5,6)Ref_2(i__),BibCode(i__),Aut(i__),Com(i__)
c    ..............Just test output...........
        write(6,6)Ref_2(i__),BibCode(i__),Aut(i__),Com(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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