FORTRAN Generation
(/./ftp/cats/J/ApJ/595/187)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/595/187 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/595/187       Proper motions in M15                    (McNamara+, 2003)
*================================================================================
*Does M15 possess an intermediate-mass black hole in its core?
*    McNamara B.J., Harrison T.E., Anderson J.
*   <Astrophys. J. 595, 187 (2003)>
*   =2003ApJ...595..187M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! M15 Proper Motion Data

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

      real*4        Xpix        ! (pix) The x position on HST image U2AS0201T (1)
      real*4        Ypix        ! (pix) The y position on HST image U2AS0201T (1)
      real*4        Xpm         ! (0.125pix/yr) The X pixel displacement relative proper
*                                      motion over 8 years (in pix/8yr)
      real*4        Ypm         ! (0.125pix/yr) The Y pixel displacement relative proper
*                                      motion over 8 years (in pix/8yr)
      real*4        e_Xpm       ! (0.125pix/yr) Error in Xpm
      real*4        e_Ypm       ! (0.125pix/yr) Error in Ypm
      real*4        Vmag        ! (mag) Uncalibrated instrumental V magnitude
      real*4        B_V         ! (mag) Uncalibrated instrumental (B-V) magnitude
      integer*4     GID         ! Guhathakurta et al. (1996AJ....111..267G)
*                                      identification number
      integer*4     IM          ! [0/1] Internal proper motion analysis (2)
*Note (1): The (x,y)-positions are in units of pixels and correspond to
*    the position on HST image U2AS0201T, This image is accessible from the
*    HST archive (http://archive.stsci.edu/hst/index.html). In Simbad,
*    objects are identified as [MHA2003] XXX.x-YYY.y
*Note (2): Internal proper motion analysis:
*      1 = used to compute internal motion dispersions;
*      0 = not used for this purpose.

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

C  Loading file 'table2.dat'	! M15 Proper Motion Data

C  Format for file interpretation

    1 format(
     +  F5.1,1X,F5.1,1X,F6.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F6.2,1X,F4.2,
     +  1X,I5,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,1764
        read(1,'(A57)')ar__
        read(ar__,1)Xpix,Ypix,Xpm,Ypm,e_Xpm,e_Ypm,Vmag,B_V,GID,IM
c    ..............Just test output...........
        write(6,1)Xpix,Ypix,Xpm,Ypm,e_Xpm,e_Ypm,Vmag,B_V,GID,IM
c    .......End.of.Just test output...........
      end do
      close(1)

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