FORTRAN Generation
(/./ftp/cats/I/202)

Conversion of standardized ReadMe file for file /./ftp/cats/I/202 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.5, on 2013-May-24
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__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. I/202               The FK5 Extension of the FK4 System (Lattanzi+ 1993)
*================================================================================
*The FK5 Extension on the FK4 System
*     Lattanzi M.G., Taff L.G.
*    <Astron. J., 105, 2353, (1993)>
*    =1993AJ....105.2353L
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'fk5e1950.dat'	! FK5 Extension at B1950.0 on FK4 system

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

      integer*4     FK5        (nr__) ! FK5 Extension ID number
      real*4        Vmag       (nr__) ! (mag) V magnitude
      real*8        RAh        (nr__) ! (h) Right Ascension (B1950.0) in decimal hrs
      real*8        DEdeg      (nr__) ! (deg) Declination (B1950.0) in decimal degrees
      real*8        Epoch_RA   (nr__) ! (yr) Mean Epoch of RA in decimal years
      real*8        Epoch_DEC  (nr__) ! (yr) Mean Epoch of DEC in decimal years
      real*8        pmRA       (nr__) ! (cs/yr) Proper Motion in RA (B1950.0) sec/cy
      real*8        pmDE       (nr__) ! (carcsec/yr) Proper Motion in DEC (B1950.0) arcsec/cy

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

C  Declarations for 'fk5emean.dat'	! FK5 Extension on the FK4 B1950.0 (Mean epoch of place)

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

      integer*4     FK5_1      (nr__1) ! FK5 Extension ID number
      real*4        Vmag_1     (nr__1) ! (mag) V magnitude
      real*8        RAh_1      (nr__1) ! (h) Right Ascension (B1950.0) in decimal hrs
      real*8        DEdeg_1    (nr__1) ! (deg) Declination (B1950.0) in decimal degrees
      real*8        Epoch_RA_1 (nr__1) ! (yr) Mean Epoch of RA in decimal years
      real*8        Epoch_DEC_1(nr__1) ! (yr) Mean Epoch of DEC in decimal years
      real*8        pmRA_1     (nr__1) ! (cs/yr) Proper Motion in RA (B1950.0) sec/cy
      real*8        pmDE_1     (nr__1) ! (carcsec/yr) Proper Motion in DEC (B1950.0) arcsec/cy

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

C  Loading file 'fk5e1950.dat'	! FK5 Extension at B1950.0 on FK4 system

C  Format for file interpretation

    1 format(1X,I4,F6.2,F15.10,F15.10,F8.2,F8.2,12X,F9.3,F9.3)

C  Effective file loading

      open(unit=1,file='fk5e1950.dat', status='old')
      write(6,*) '....Loading file: fk5e1950.dat'
      do i__=1,3117
        read(1,'(A87)')ar__
        read(ar__,1)
     +  FK5(i__),Vmag(i__),RAh(i__),DEdeg(i__),Epoch_RA(i__),
     +  Epoch_DEC(i__),pmRA(i__),pmDE(i__)
c    ..............Just test output...........
        write(6,1)
     +  FK5(i__),Vmag(i__),RAh(i__),DEdeg(i__),Epoch_RA(i__),
     +  Epoch_DEC(i__),pmRA(i__),pmDE(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'fk5emean.dat'	! FK5 Extension on the FK4 B1950.0 (Mean epoch of place)

C  Format for file interpretation

    2 format(1X,I4,F6.2,F15.10,F15.10,F8.2,F8.2,12X,F9.3,F9.3)

C  Effective file loading

      open(unit=1,file='fk5emean.dat', status='old')
      write(6,*) '....Loading file: fk5emean.dat'
      do i__=1,3117
        read(1,'(A87)')ar__1
        read(ar__1,2)
     +  FK5_1(i__),Vmag_1(i__),RAh_1(i__),DEdeg_1(i__),
     +  Epoch_RA_1(i__),Epoch_DEC_1(i__),pmRA_1(i__),pmDE_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  FK5_1(i__),Vmag_1(i__),RAh_1(i__),DEdeg_1(i__),
     +  Epoch_RA_1(i__),Epoch_DEC_1(i__),pmRA_1(i__),pmDE_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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