FORTRAN Generation
(/./ftp/cats/J/A_A/382/488)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/382/488 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 2026-May-15
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/A+A/382/488   Stellar and ionized gas kinematics in NGC 2855  (Corsini+, 2002)
*================================================================================
*The orthogonal gaseous kinematical decoupling in the Sa spiral NGC 2855
*    Corsini E.M., Pizzella A., Bertola F.
*   <Astron. Astrophys. 382, 488 (2002)>
*   =2002A&A...382..488C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! NGC 2855 stellar kinematics

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

      real*4        r          (nr__) ! (arcsec) Galactocentric distance
      integer*4     HRV        (nr__) ! (km/s) Heliocentric radial velocity
      integer*4     e_HRV      (nr__) ! (km/s) Heliocentric radial velocity error
      integer*4     sigma      (nr__) ! (km/s) Velocity dispersion
      integer*4     e_sigma    (nr__) ! (km/s) Velocity dispersion error
      integer*4     PA         (nr__) ! (deg) Slit position angle
      integer*4     Run        (nr__) ! ? Observing run (1 = 1999; 2 = 2001)
*                                         (in table4.dat only)

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

C  Declarations for 'table4.dat'	! NGC 2855 ionized-gas kinematics

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

      real*4        r_1        (nr__1) ! (arcsec) Galactocentric distance
      integer*4     HRV_1      (nr__1) ! (km/s) Heliocentric radial velocity
      integer*4     e_HRV_1    (nr__1) ! (km/s) Heliocentric radial velocity error
      integer*4     sigma_1    (nr__1) ! (km/s) Velocity dispersion
      integer*4     e_sigma_1  (nr__1) ! (km/s) Velocity dispersion error
      integer*4     PA_1       (nr__1) ! (deg) Slit position angle
      integer*4     Run_1      (nr__1) ! ? Observing run (1 = 1999; 2 = 2001)
*                                         (in table4.dat only)

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

C  Loading file 'table3.dat'	! NGC 2855 stellar kinematics

C  Format for file interpretation

    1 format(1X,F5.1,2X,I4,2X,I2,2X,I3,2X,I2,2X,I3,2X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,32
        read(1,'(A33)')ar__
        read(ar__,1)
     +  r(i__),HRV(i__),e_HRV(i__),sigma(i__),e_sigma(i__),PA(i__),
     +  Run(i__)
        if(ar__(33:33) .EQ. '') Run(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  r(i__),HRV(i__),e_HRV(i__),sigma(i__),e_sigma(i__),PA(i__),
     +  Run(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! NGC 2855 ionized-gas kinematics

C  Format for file interpretation

    2 format(1X,F5.1,2X,I4,2X,I2,2X,I3,2X,I2,2X,I3,2X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,126
        read(1,'(A41)')ar__1
        read(ar__1,2)
     +  r_1(i__),HRV_1(i__),e_HRV_1(i__),sigma_1(i__),e_sigma_1(i__),
     +  PA_1(i__),Run_1(i__)
        if(ar__1(33:33) .EQ. '') Run_1(i__) = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  r_1(i__),HRV_1(i__),e_HRV_1(i__),sigma_1(i__),e_sigma_1(i__),
     +  PA_1(i__),Run_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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