FORTRAN Generation
(/./ftp/cats/J/A_A/502/1015)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/502/1015 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-Oct-14
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/502/1015      OB associations in IC 1613               (Garcia+, 2009)
*================================================================================
*The young stellar population of IC 1613. I. A new catalogue of OB associations.
*    Garcia M., Herrero A., Vicente B., Castro N., Corral L.J., Rosenberg A.,
*    Monelli M.
*   <Astron. Astrophys., 502, 1015-1041 (2009)>
*   =2009A&A...502.1015G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea1.dat'	! Catalogue of OB associations in IC 1613

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq        (nr__) ! OB association Sequential number
      real*8        RAdeg      (nr__) ! (deg) Rigth ascension in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination in decimal degrees (J2000)
      integer*4     N_OB       (nr__) ! Number of OB members of the association
      integer*4     Ntot       (nr__) ! Total number of members
      character*10  Quad       (nr__) ! Quadrant allocation in Fig. 9.
      character*3   Notes      (nr__) ! Notes (1)
      character*1   n_Seq      (nr__) ! [*] n indicates a note in notes.dat file
*Note (1): Notes as follows:
*    Gal = the association is actually a galaxy
*    d   = association discarded because it does not have enough valid
*          members (i.e. visual inspection reveals that some are blends
*          or gas knots)
*    ?   = dubious association (associations with a small number of
*          members, with a significant fraction under suspicion of being
*          blends or not blue stars)

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

C  Declarations for 'notes.dat'	! Individual notes

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

      integer*4     Seq_1      (nr__1) ! Sequentiql number
      character*76  Note       (nr__1) ! Text of the note

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

C  Loading file 'tablea1.dat'	! Catalogue of OB associations in IC 1613

C  Format for file interpretation

    1 format(I3,1X,F9.6,1X,F8.6,1X,I2,1X,I3,1X,A10,1X,A3,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,198
        read(1,'(A46)')ar__
        read(ar__,1)
     +  Seq(i__),RAdeg(i__),DEdeg(i__),N_OB(i__),Ntot(i__),Quad(i__),
     +  Notes(i__),n_Seq(i__)
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),RAdeg(i__),DEdeg(i__),N_OB(i__),Ntot(i__),Quad(i__),
     +  Notes(i__),n_Seq(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'notes.dat'	! Individual notes

C  Format for file interpretation

    2 format(I3,1X,A76)

C  Effective file loading

      open(unit=1,status='old',file=
     +'notes.dat')
      write(6,*) '....Loading file: notes.dat'
      do i__=1,191
        read(1,'(A80)')ar__1
        read(ar__1,2)Seq_1(i__),Note(i__)
c    ..............Just test output...........
        write(6,2)Seq_1(i__),Note(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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