FORTRAN Generation
(/./ftp/cats/J/ApJS/194/11)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJS/194/11 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-Apr-20
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/ApJS/194/11        Chandra study of Trumpler 15 in Carina        (Wang+, 2011)
*================================================================================
*A Chandra ACIS study of the young star cluster Trumpler 15 in Carina and
*correlation with near-infrared sources.
*    Wang J., Feigelson E.D., Townsley L.K., Broos P.S., Getman K.V., Wolk S.J.,
*    Preibisch T., Stassun K.G., Moffat A.F.J., Garmire G., King R.R.,
*    McCaughrean M.J., Zinnecker H.
*   <Astrophys. J. Suppl. Ser., 194, 11 (2011)>
*   =2011ApJS..194...11W
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Properties of Chandra ACIS point sources in the
                             Trumpler 15 region

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     CCCP        ! CCCP X-ray catalog sequence number (1)
      character*18  CXOGNC      ! IAU designation (HHMMSS.ss+DDMMSS.s; J2000)
      real*8        RAdeg       ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      real*4        NCts        ! (ct) Net total 0.5-8keV X-ray events detected (2)
      character*2   Class       ! Classification (3)
*Note (1): Notes/other names from SIMBAD queries using a 2" matching radius:
*   6860 = Cl Trumpler 15 20=GSC 08626-00886=GEN# +4.35150020;
*   6907 = Cl Trumpler 15 19=Cl* Trumpler 15 C 28=GEN# +4.35150019;
*   7023 = Cl Trumpler 15 21=Cl* Trumpler 15 C 44=GEN# +4.35150021;
*   7195 = Cl Trumpler 15 8=GSC 08626-01516=GEN# +4.35150008;
*   7318 = Cl Trumpler 15 15=CPD-58 2656=Cl* Trumpler 15 C 3=
*          GSC 08626-01303=GEN# +4.35150015=TYC 8626-1303-1;
*   7332 = Cl Trumpler 15 6=NSV 18508;
*   7397 = Cl Trumpler 15 2=CCDM J10447-5921B=Cl* Trumpler 15 C 2=
*          GSC 08626-02845=GEN# +4.35150002;
*   7403 = Cl Trumpler 15 1=HD 93249=ALS 1857=1E 1042.7-5905=SAO 238421=
*          CCDM J10447-5921A=GEN# +4.35150001J;
*   7584 = Cl Trumpler 15 10=Cl* Trumpler 15 C 17 =CPD-58 2662=
*          GSC 08626-01107  =GEN# +4.35150010;
*   7679 = Cl Trumpler 15 12=GSC 08626-01694 = GEN# +4.35150012;
*   7696 = Cl Trumpler 15 38 = GEN# +4.35150038=2MASS J10444861-5922153;
*   7756 = Cl Trumpler 15 29 = GSC 08626-01760 = GEN# +4.35150029;
*   8235 = Cl Trumpler 15 31 = GEN# +4.35150031;
*   8503 = Cl Trumpler 15 35 = GEN# +4.35150035=2MASS J10450167-5923382;
*   8554 = Cl Trumpler 15 34 = GEN# +4.35150034=2MASS J10450269-5922019.
*         CCCP sources in Simbad are <[BTF2011] CCCP NNNNN> or
*         <CXOGNC JHHMMSS.ss+DDMMSS.s>
*Note (2): In the source extraction aperture, taken from Table 1 in
*         Broos et al. (2011, Cat. J/ApJS/194/2) with the column name "NCt-t".
*Note (3): A set of mutually exclusive classification hypotheses defined for
*          each source in Broos et al. (2011, Cat. J/ApJS/194/4) as follows:
*    H0 = source is unclassified;
*    H1 = source is a foreground main-sequence star;
*    H2 = source is a young star, assumed to be in the Carina complex;
*    H3 = source is a Galactic background main-sequence star;
*    H4 = source is extragalactic.

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

C  Loading file 'table2.dat'	! Properties of Chandra ACIS point sources in the
*                             Trumpler 15 region

C  Format for file interpretation

    1 format(I4,1X,A18,1X,F10.6,1X,F10.6,1X,F5.1,1X,A2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,841
        read(1,'(A54)')ar__
        read(ar__,1)CCCP,CXOGNC,RAdeg,DEdeg,NCts,Class
c    ..............Just test output...........
        write(6,1)CCCP,CXOGNC,RAdeg,DEdeg,NCts,Class
c    .......End.of.Just test output...........
      end do
      close(1)

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