FORTRAN Generation
(/./ftp/cats/J/A_A/463/175)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/463/175 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/A+A/463/175       Infrared study of IRAS 14416-5937 region        (Vig+, 2007)
*================================================================================
*Infrared study of the southern Galactic star-forming region associated
*with IRAS 14416-5937.
*    Vig S., Ghosh S.K., Ojha D.K., Verma R.P.
*   <Astron. Astrophys., 463, 175-186 (2007)>
*   =2007A&A...463..175V
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'irac.dat'	! Details of Young Stellar Objects (YSOs) selected
                            from the Spitzer-GLIMPSE survey based on IRAC
                            ([3.6]-[4.5) vs. [5.8]-[8.0]) colour-colour diagram

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

C  J2000 position composed of: RAdeg DEdeg
      character*17  GLIMPSE     ! Spitzer-GLIMPSE designation
      real*8        RAdeg       ! (deg) Right Ascension (J2000)
      real*8        DEdeg       ! (deg) Declination (J2000)
      real*4        v_3_6_mag   ! (mag) Magnitude at 3.6 micron IRAC band
      real*4        e__3_6_mag  ! (mag) Error in [3.6]mag
      real*4        v_4_5_mag   ! (mag) Magnitude at 4.5 micron IRAC band
      real*4        e__4_5_mag  ! (mag) Error in [4.5]mag
      real*4        v_5_8_mag   ! (mag) Magnitude at 5.8 micron IRAC band
      real*4        e__5_8_mag  ! (mag) Error in [5.8]mag
      real*4        v_8_0_mag   ! (mag) Magnitude at 8.0 micron IRAC band
      real*4        e__8_0_mag  ! (mag) Error in [8.0]mag
      character*17  v2MASS      ! 2MASS designation
      real*4        Jmag        ! (mag) ?=99.99 Magnitude at J band (G1)
      real*4        e_Jmag      ! (mag) ?=9.99 Error in Jmag (G1)
      real*4        Hmag        ! (mag) ?=99.99 Magnitude at H band (G1)
      real*4        e_Hmag      ! (mag) ?=9.99 Error in Hmag (G1)
      real*4        Ksmag       ! (mag) ?=99.99 Magnitude at Ks band (G1)
      real*4        e_Ksmag     ! (mag) ?=9.99 Error in Ksmag (G1)
      character*4   Class       ! Class I, Class I/II or Class II YSO

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

C  Declarations for '2mass.dat'	! Details of infrared excess sources (YSOs) selected
                            from the 2MASS based on JHKs (J-H vs. H-Ks)
                            colour-colour diagram

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

C  J2000 position composed of: RAdeg DEdeg
      character*17  v2MASS_1    ! 2MASS designation
      real*8        RAdeg_1     ! (deg) Right Ascension (J2000)
      real*8        DEdeg_1     ! (deg) Declination (J2000)
      real*4        Jmag_1      ! (mag) Magnitude at J band
      real*4        e_Jmag_1    ! (mag) Error in Jmag
      real*4        Hmag_1      ! (mag) Magnitude at H band
      real*4        e_Hmag_1    ! (mag) Error in Hmag
      real*4        Ksmag_1     ! (mag) Magnitude at Ks band
      real*4        e_Ksmag_1   ! (mag) Error in Ksmag
      character*17  GLIMPSE_1   ! Spitzer-GLIMPSE designation
      real*4        v_3_6_mag_1 ! (mag) ?=99.99 Magnitude at 3.6 micron IRAC band (G1)
      real*4        e__3_6_mag_1 ! (mag) ?=9.99 Error in [3.6]mag (G1)
      real*4        v_4_5_mag_1 ! (mag) ?=99.99 Magnitude at 4.5 micron IRAC band (G1)
      real*4        e__4_5_mag_1 ! (mag) ?=9.99 Error in [4.5]mag (G1)
      real*4        v_5_8_mag_1 ! (mag) ?=99.99 Magnitude at 5.8 micron IRAC band (G1)
      real*4        e__5_8_mag_1 ! (mag) ?=9.99 Error in [5.8]mag (G1)
      real*4        v_8_0_mag_1 ! (mag) ?=99.99 Magnitude at 8.0 micron IRAC band (G1)
      real*4        e__8_0_mag_1 ! (mag) ?=9.99 Error in [8.0]mag (G1)

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

C  Loading file 'irac.dat'	! Details of Young Stellar Objects (YSOs) selected
*                            from the Spitzer-GLIMPSE survey based on IRAC
*                            ([3.6]-[4.5) vs. [5.8]-[8.0]) colour-colour diagram

C  Format for file interpretation

    1 format(
     +  A17,2X,F10.6,2X,F10.6,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,
     +  1X,F4.2,1X,F5.2,1X,F4.2,1X,A17,1X,F5.2,1X,F4.2,1X,F5.2,1X,
     +  F4.2,1X,F5.2,1X,F4.2,1X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'irac.dat')
      write(6,*) '....Loading file: irac.dat'
      do i__=1,36
        read(1,'(A141)')ar__
        read(ar__,1)
     +  GLIMPSE,RAdeg,DEdeg,v_3_6_mag,e__3_6_mag,v_4_5_mag,e__4_5_mag,
     +  v_5_8_mag,e__5_8_mag,v_8_0_mag,e__8_0_mag,v2MASS,Jmag,e_Jmag,
     +  Hmag,e_Hmag,Ksmag,e_Ksmag,Class
c    ..............Just test output...........
        write(6,1)
     +  GLIMPSE,RAdeg,DEdeg,v_3_6_mag,e__3_6_mag,v_4_5_mag,e__4_5_mag,
     +  v_5_8_mag,e__5_8_mag,v_8_0_mag,e__8_0_mag,v2MASS,Jmag,e_Jmag,
     +  Hmag,e_Hmag,Ksmag,e_Ksmag,Class
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '2mass.dat'	! Details of infrared excess sources (YSOs) selected
*                            from the 2MASS based on JHKs (J-H vs. H-Ks)
*                            colour-colour diagram

C  Format for file interpretation

    2 format(
     +  A17,2X,F10.6,2X,F10.6,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,
     +  1X,F4.2,1X,A17,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,
     +  F4.2,1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'2mass.dat')
      write(6,*) '....Loading file: 2mass.dat'
      do i__=1,36
        read(1,'(A136)')ar__1
        read(ar__1,2)
     +  v2MASS_1,RAdeg_1,DEdeg_1,Jmag_1,e_Jmag_1,Hmag_1,e_Hmag_1,
     +  Ksmag_1,e_Ksmag_1,GLIMPSE_1,v_3_6_mag_1,e__3_6_mag_1,
     +  v_4_5_mag_1,e__4_5_mag_1,v_5_8_mag_1,e__5_8_mag_1,v_8_0_mag_1,
     +  e__8_0_mag_1
c    ..............Just test output...........
        write(6,2)
     +  v2MASS_1,RAdeg_1,DEdeg_1,Jmag_1,e_Jmag_1,Hmag_1,e_Hmag_1,
     +  Ksmag_1,e_Ksmag_1,GLIMPSE_1,v_3_6_mag_1,e__3_6_mag_1,
     +  v_4_5_mag_1,e__4_5_mag_1,v_5_8_mag_1,e__5_8_mag_1,v_8_0_mag_1,
     +  e__8_0_mag_1
c    .......End.of.Just test output...........
      end do
      close(1)

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