FORTRAN Generation
(/./ftp/cats/J/A_A/483/209)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/483/209 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/A+A/483/209   Photometry of a stellar cluster near IRAS 07141-092 (Yun+, 2008)
*================================================================================
*A young double stellar cluster in an HII region, emerging from its parent
*molecular cloud.
*    Yun J.L, Djupvik A.A., Delgado A.J., Alfaro E.J.
*   <Astron. Astrophys. 483, 209 (2008)>
*   =2008A&A...483..209Y
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Photometric results and membership

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq         ! Identification number (this work)
      real*8        RAdeg       ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      real*4        Vmag        ! (mag) ?=99.99 V magnitude (1)
      real*4        e_Vmag      ! (mag) ?=99.99 error in V magnitude (1)
      real*4        U_B         ! (mag) ?=99.99 U-B colour index (1)
      real*4        e_U_B       ! (mag) ?=99.99 error in U-V (1)
      real*4        B_V         ! (mag) ?=99.99 B-V colour index (1)
      real*4        e_B_V       ! (mag) ?=99.99 error in B-V (1)
      real*4        V_Rc        ! (mag) ?=99.99 V-Rc colour index (1)
      real*4        e_V_Rc      ! (mag) ?=99.99 error in V-Rc (1)
      real*4        V_Ic        ! (mag) ?=99.99 V-Ic colour index (1)
      real*4        e_V_Ic      ! (mag) ?=99.99 error in V-Ic (1)
      real*4        Rcmag       ! (mag) ?=99.99 Rc magnitude (1)
      real*4        e_Rcmag     ! (mag) ?=99.99 error in Rc magnitude (1)
      real*4        Icmag       ! (mag) ?=99.99 Ic magnitude (1)
      real*4        e_Icmag     ! (mag) ?=99.99 error in Ic magnitude (1)
      real*4        R_Ha        ! (mag) ?=99.99 R-Halpha index (1)
      real*4        Jmag        ! (mag) ?=99.99 J magnitude (1)
      real*4        e_Jmag      ! (mag) ?=99.99 error in J magnitude (1)
      real*4        Hmag        ! (mag) ?=99.99 H magnitude (1)
      real*4        e_Hmag      ! (mag) ?=99.99 error in H magnitude (1)
      real*4        Ksmag       ! (mag) ?=99.99 Ks magnitude (1)
      real*4        e_Ksmag     ! (mag) ?=99.99 error in Ks magnitude (1)
      integer*4     Mm          ! ?=- Membership assignment (2)
      integer*4     IRex        ! ?=- NIR excess (3)
      integer*4     WEBDA       ! ?=- ID number in WEBDA Data Base
*Note (1): A 99.99 entry indicates a non-detection.
*Note (2): Membership assignment as follows:
*      1 = MS member
*      2 = membership assignment in 2 CM diagrams, V vs B-V, V-R, and V-I
*      3 = membership assignment in 3 CM diagrams, V vs U-B, B-V, V-R, and V-I
*Note (3): NIR excess as follows:
*      0 = no IR excess from J-H/H-Ks diagram
*      1 = probable IR excess source
*      2 = bona-fide IR excess source

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

C  Loading file 'table1.dat'	! Photometric results and membership

C  Format for file interpretation

    1 format(
     +  I4,1X,F10.6,1X,F9.6,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,
     +  1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,
     +  F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,
     +  1X,F5.2,1X,I1,1X,I1,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,1344
        read(1,'(A158)')ar__
        read(ar__,1)
     +  Seq,RAdeg,DEdeg,Vmag,e_Vmag,U_B,e_U_B,B_V,e_B_V,V_Rc,e_V_Rc,
     +  V_Ic,e_V_Ic,Rcmag,e_Rcmag,Icmag,e_Icmag,R_Ha,Jmag,e_Jmag,Hmag,
     +  e_Hmag,Ksmag,e_Ksmag,Mm,IRex,WEBDA
        if (Mm .EQ. 45) Mm =  iNULL__
        if (IRex .EQ. 45) IRex =  iNULL__
        if (WEBDA .EQ. 45) WEBDA =  iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Seq,RAdeg,DEdeg,Vmag,e_Vmag,U_B,e_U_B,B_V,e_B_V,V_Rc,e_V_Rc,
     +  V_Ic,e_V_Ic,Rcmag,e_Rcmag,Icmag,e_Icmag,R_Ha,Jmag,e_Jmag,Hmag,
     +  e_Hmag,Ksmag,e_Ksmag,Mm,IRex,WEBDA
c    .......End.of.Just test output...........
      end do
      close(1)

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