FORTRAN Generation
(/./ftp/cats/J/ApJ/439/983)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/439/983 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-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/ApJ/439/983     Radio & optical observation of UX Arietis (Elias+ 1995)
*================================================================================
*Correlations between the flaring radio emission and starspot distribution of
*UX Arietis
*    Elias N.M. II, Quirrenbach A., Witzel A., Naundorf C.E., Wegner R.,
*    Guinan E.F., McCook G.P.
*   <Astrophys. J. 439, 983 (1995)>
*   =1995ApJ...439..983E
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'radio'	! UX Arietis C-band VLA observations

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

      real*8        HJD         ! (d) Heliocentric Julian Date
      real*4        Phase       ! [0/1[ Phase
      integer*4     Flux        ! (mJy) Radio flux

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

C  Declarations for 'optical'	! UX Arietis visible-band photometry

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

      real*8        HJD_1       ! (d) Heliocentric Julian Date
      real*8        Phase_1     ! [0/1[ Phase
      real*4        dMag        ! (mag) *Differential magnitude, Var - Comp
      character*2   Filter      ! *Filter: b', y, r
      character*3   Obs         ! *Observatory, VUO or APT
*Note on dMag:
*  Comparison star was 62 Ari (HR 1012, HD 20825; V=+5.52; B-V=+1.10; G5 III).
*  Check star was HR 999 (HD 20644, V=+4.47, B-V=+1.54; K4 III).
*  62 Ari has been used previously in photometric studies of UX Ari and appears
*  to be constant in light.
*Note on Filter:
*  Intermediate-band interference filters:
*  b' - lambda = 453nm, FWHM = 15nm
*  y  - Stroemgren y, lambda = 550nm, FWHM = 35nm
*  r  - lambda = 660nm, FWHM = 28nm, also known as H-alpha I
*Note on Obs:
*  VUO - Villanova University Observatory,
*  APT - Automatic Photometric Telescope, Mount Hopkins, Arizona

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

C  Loading file 'radio'	! UX Arietis C-band VLA observations

C  Format for file interpretation

    1 format(F12.4,1X,F6.4,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'radio')
      write(6,*) '....Loading file: radio'
      do i__=1,42
        read(1,'(A23)')ar__
        read(ar__,1)HJD,Phase,Flux
c    ..............Just test output...........
        write(6,1)HJD,Phase,Flux
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'optical'	! UX Arietis visible-band photometry

C  Format for file interpretation

    2 format(F13.5,1X,F7.5,1X,F5.3,1X,A2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'optical')
      write(6,*) '....Loading file: optical'
      do i__=1,418
        read(1,'(A34)')ar__1
        read(ar__1,2)HJD_1,Phase_1,dMag,Filter,Obs
c    ..............Just test output...........
        write(6,2)HJD_1,Phase_1,dMag,Filter,Obs
c    .......End.of.Just test output...........
      end do
      close(1)

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