FORTRAN Generation
(/./ftp/cats/J/A_A/314/312)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/314/312 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/A+A/314/312       Galilean satellites mutual events in 1997 (Arlot 1996)
*================================================================================
*Predictions of the mutual events of the Galilean satellites of Jupiter 
*occurring in 1997
*     Arlot J.-E.
*    <Astron. Astrophys. 314, 312 (1996)>
*    =1996A&A...314..312A      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1-9'	! *Mutual events: predictions with G-5 ephemeris

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

      integer*4     MaxY       (nr__) ! Maximum of magnitude drop (year)
      integer*4     MaxM       (nr__) ! Maximum of magnitude drop (month)
      integer*4     MaxD       (nr__) ! Maximum of magnitude drop (day)
      character*4   Event      (nr__) ! Type of event (1)
      integer*4     Maxh       (nr__) ! (h) Maximum of magnitude drop (hour)
      integer*4     Maxm_1     (nr__) ! (min) Maximum of magnitude drop (min)
      integer*4     Maxs       (nr__) ! (s) Maximum of magnitude drop (sec)
      real*4        Mag        (nr__) ! ? Light flux drop at the time of the minimum
*                                     of light (2)
      integer*4     Duration   (nr__) ! (s) ? Duration of the event
      integer*4     n_Duration (nr__) ! ? [1] Note on duration (3)
      real*4        DistJup    (nr__) ! ? Distance of the eclipsed or occulted
*                                     satellite to the center of Jupiter in
*                                     Jovian radii in order to know the
*                                     configuration during the observation
      real*4        Impact     (nr__) ! (arcsec) Impact parameter i.e. the minimum distance
*                                    between the satellites during the event
*                                    (distance to the shadow cone for eclipse)
*Note (1): 1O2 means that J1 will occult J2
*          3E4 means that J3 will eclipse J4
*          C means close approach with probably not magnitude drop observable
*          P means partial event
*          A means annular
*          T total
*          nothing is indicated in case of an eclipse by the penumbra
*Note (2): 1: total desappearance
*          0: grazing event with probably no detectable magnitude drop
*          Note that the flux drop is calculated referred to the light flux of
*           both involved satellites in case of an occultation and to the light
*           flux of the only eclipsed satellite in case of an eclipse
*Note (3): 1: occultation of J3 by J2 on April 6, 1998. This double event will
*           occur as follows: first contact at 14h 54m 50s, first maximum of the
*           magnitude drop at 15h 39m 0s, increase of the light flux until
*           17h 21m 0s (the two satellites are than near the external contact
*           but always overlapping), second maximum of the magnitude drop at
*           19h 25m 18s and final external contact (end of the occultation) at
*           20h 20m 12s.

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

C  Loading file 'table1-9'	! *Mutual events: predictions with G-5 ephemeris

C  Format for file interpretation

    1 format(
     +  I4,1X,I2,1X,I2,1X,A4,1X,I2,1X,I2,1X,I2,1X,F4.3,1X,I4,I1,F4.1,
     +  1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1-9')
      write(6,*) '....Loading file: table1-9'
      do i__=1,469
        read(1,'(A45)')ar__
        read(ar__,1)
     +  MaxY(i__),MaxM(i__),MaxD(i__),Event(i__),Maxh(i__),
     +  Maxm_1(i__),Maxs(i__),Mag(i__),Duration(i__),n_Duration(i__),
     +  DistJup(i__),Impact(i__)
        if(ar__(26:29) .EQ. '') Mag(i__) = rNULL__
        if(ar__(31:34) .EQ. '') Duration(i__) = iNULL__
        if(ar__(35:35) .EQ. '') n_Duration(i__) = iNULL__
        if(ar__(36:39) .EQ. '') DistJup(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  MaxY(i__),MaxM(i__),MaxD(i__),Event(i__),Maxh(i__),
     +  Maxm_1(i__),Maxs(i__),Mag(i__),Duration(i__),n_Duration(i__),
     +  DistJup(i__),Impact(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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