FORTRAN Generation
(/./ftp/cats/J/ApJ/670/516)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/670/516 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/ApJ/670/516       NGC 2547 4.5-8um photometry              (Gorlova+, 2007)
*================================================================================
*Debris disks in NGC 2547.
*    Gorlova N., Balog Z., Rieke G.H., Muzerolle J., Su K.Y.L., Ivanov V.D.,
*    Young E.T.
*   <Astrophys. J., 670, 516-535 (2007)>
*   =2007ApJ...670..516G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Spitzer photometry for NGC 2547 highly-probable
                              photometric members

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg      (nr__) ! (deg) 2MASS Right Ascension in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) 2MASS Declination in decimal degrees (J2000)
      real*4        V_K        (nr__) ! (mag) ?=99.99 The (V-K) color index
      real*4        Rc_K       (nr__) ! (mag) ?=99.99 The (Rc-K) color index
      real*4        Ksmag      (nr__) ! (mag) ?=99.99 2MASS Ks band magnitude
      real*4        e_Ksmag    (nr__) ! (mag) ?=99.99 Error in Ksmag
      real*4        v3_6mag    (nr__) ! (mag) ?=99.99 IRAC 3.6 micron band magnitude
      real*4        e_3_6mag   (nr__) ! (mag) ?=99.99 Error in 3.6mag
      real*4        v4_5mag    (nr__) ! (mag) ?=99.99 IRAC 4.5 micron band magnitude
      real*4        e_4_5mag   (nr__) ! (mag) ?=99.99 Error in 4.5mag
      real*4        v5_8mag    (nr__) ! (mag) ?=99.99 IRAC 5.8 micron band magnitude
      real*4        e_5_8mag   (nr__) ! (mag) ?=99.99 Error in 5.8mag
      real*4        v8_0mag    (nr__) ! (mag) ?=99.99 IRAC 8.0 micron band magnitude
      character*1   f_8_0mag   (nr__) ! [c] contamination in the 8.0um band (1)
      real*4        e_8_0mag   (nr__) ! (mag) ?=99.99 Error in 8.0mag
      real*4        v24mag     (nr__) ! (mag) ?=99.99 MIPS 24 micron band magnitude
      character*1   f_24mag    (nr__) ! [h] haloè-like at 24um (2)
      real*4        e_24mag    (nr__) ! (mag) ?=99.99 Error in 24mag
      character*16  v2MASS     (nr__) ! The 2MASS identification
      integer*4     Field      (nr__) ! Field number (3)
      integer*4     Star       (nr__) ! Star number in "Wide catalog" (3)
      character*2   f_Star     (nr__) ! Peculiarity (4)
      character*3   PM         (nr__) ! Proper motion membership: Y=yes, N=no,
*                                 N/A=proper motion not available
*Note (1): 'c' indicates an excess at 8{mu}m which may be due to contamination
*     of the aperture by a nearby source, cosmic ray or strong nebulosity
*Note (2): 'h' indicates an extended (halo-like) source at 24{mu}m
*Note (3): Designations from "Wide catalog" of Naylor et al. (2002, Cat.
*     J/MNRAS/335/291) or from "RIZ" catalog of Jeffries et al. (2004,
*     Cat. J/MNRAS/351/1401).
*Note (4): Flag on Star as follows:
*     ns = Non-stellar flag in Jeffries et al. (2004, Cat. J/MNRAS/351/1401)
*     nm = Below the cluster sequence on the V/(V-K) or R/(R-K) diagram;
*          nonmember?

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

C  Declarations for 'table2.dat'	! Spitzer photometry for NGC 2547 less plausible
                              photometric members

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg_1    (nr__1) ! (deg) 2MASS Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_1    (nr__1) ! (deg) 2MASS Declination in decimal degrees (J2000)
      real*4        V_K_1      (nr__1) ! (mag) ?=99.99 The (V-K) color index
      real*4        Rc_K_1     (nr__1) ! (mag) ?=99.99 The (Rc-K) color index
      real*4        Ksmag_1    (nr__1) ! (mag) ?=99.99 2MASS Ks band magnitude
      real*4        e_Ksmag_1  (nr__1) ! (mag) ?=99.99 Error in Ksmag
      real*4        v3_6mag_1  (nr__1) ! (mag) ?=99.99 IRAC 3.6 micron band magnitude
      real*4        e_3_6mag_1 (nr__1) ! (mag) ?=99.99 Error in 3.6mag
      real*4        v4_5mag_1  (nr__1) ! (mag) ?=99.99 IRAC 4.5 micron band magnitude
      real*4        e_4_5mag_1 (nr__1) ! (mag) ?=99.99 Error in 4.5mag
      real*4        v5_8mag_1  (nr__1) ! (mag) ?=99.99 IRAC 5.8 micron band magnitude
      real*4        e_5_8mag_1 (nr__1) ! (mag) ?=99.99 Error in 5.8mag
      real*4        v8_0mag_1  (nr__1) ! (mag) ?=99.99 IRAC 8.0 micron band magnitude
      character*1   f_8_0mag_1 (nr__1) ! [c] contamination in the 8.0um band (1)
      real*4        e_8_0mag_1 (nr__1) ! (mag) ?=99.99 Error in 8.0mag
      real*4        v24mag_1   (nr__1) ! (mag) ?=99.99 MIPS 24 micron band magnitude
      character*1   f_24mag_1  (nr__1) ! [h] haloè-like at 24um (2)
      real*4        e_24mag_1  (nr__1) ! (mag) ?=99.99 Error in 24mag
      character*16  v2MASS_1   (nr__1) ! The 2MASS identification
      integer*4     Field_1    (nr__1) ! Field number (3)
      integer*4     Star_1     (nr__1) ! Star number in "Wide catalog" (3)
      character*2   f_Star_1   (nr__1) ! Peculiarity (4)
      character*3   PM_1       (nr__1) ! Proper motion membership: Y=yes, N=no,
*                                 N/A=proper motion not available
*Note (1): 'c' indicates an excess at 8{mu}m which may be due to contamination
*     of the aperture by a nearby source, cosmic ray or strong nebulosity
*Note (2): 'h' indicates an extended (halo-like) source at 24{mu}m
*Note (3): Designations from "Wide catalog" of Naylor et al. (2002, Cat.
*     J/MNRAS/335/291) or from "RIZ" catalog of Jeffries et al. (2004,
*     Cat. J/MNRAS/351/1401).
*Note (4): Flag on Star as follows:
*     ns = Non-stellar flag in Jeffries et al. (2004, Cat. J/MNRAS/351/1401)
*     nm = Below the cluster sequence on the V/(V-K) or R/(R-K) diagram;
*          nonmember?

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

C  Loading file 'table1.dat'	! Spitzer photometry for NGC 2547 highly-probable
*                              photometric members

C  Format for file interpretation

    1 format(
     +  F10.6,1X,F10.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,A1,1X,F5.2,1X,
     +  F5.2,1X,A1,1X,F5.2,1X,A16,1X,I2,1X,I4,1X,A2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,806
        read(1,'(A141)')ar__
        read(ar__,1)
     +  RAdeg(i__),DEdeg(i__),V_K(i__),Rc_K(i__),Ksmag(i__),
     +  e_Ksmag(i__),v3_6mag(i__),e_3_6mag(i__),v4_5mag(i__),
     +  e_4_5mag(i__),v5_8mag(i__),e_5_8mag(i__),v8_0mag(i__),
     +  f_8_0mag(i__),e_8_0mag(i__),v24mag(i__),f_24mag(i__),
     +  e_24mag(i__),v2MASS(i__),Field(i__),Star(i__),f_Star(i__),
     +  PM(i__)
c    ..............Just test output...........
        write(6,1)
     +  RAdeg(i__),DEdeg(i__),V_K(i__),Rc_K(i__),Ksmag(i__),
     +  e_Ksmag(i__),v3_6mag(i__),e_3_6mag(i__),v4_5mag(i__),
     +  e_4_5mag(i__),v5_8mag(i__),e_5_8mag(i__),v8_0mag(i__),
     +  f_8_0mag(i__),e_8_0mag(i__),v24mag(i__),f_24mag(i__),
     +  e_24mag(i__),v2MASS(i__),Field(i__),Star(i__),f_Star(i__),
     +  PM(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Spitzer photometry for NGC 2547 less plausible
*                              photometric members

C  Format for file interpretation

    2 format(
     +  F10.6,1X,F10.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,A1,1X,F5.2,1X,
     +  F5.2,1X,A1,1X,F5.2,1X,A16,1X,I2,1X,I4,1X,A2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,54
        read(1,'(A141)')ar__1
        read(ar__1,2)
     +  RAdeg_1(i__),DEdeg_1(i__),V_K_1(i__),Rc_K_1(i__),Ksmag_1(i__),
     +  e_Ksmag_1(i__),v3_6mag_1(i__),e_3_6mag_1(i__),v4_5mag_1(i__),
     +  e_4_5mag_1(i__),v5_8mag_1(i__),e_5_8mag_1(i__),v8_0mag_1(i__),
     +  f_8_0mag_1(i__),e_8_0mag_1(i__),v24mag_1(i__),f_24mag_1(i__),
     +  e_24mag_1(i__),v2MASS_1(i__),Field_1(i__),Star_1(i__),
     +  f_Star_1(i__),PM_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  RAdeg_1(i__),DEdeg_1(i__),V_K_1(i__),Rc_K_1(i__),Ksmag_1(i__),
     +  e_Ksmag_1(i__),v3_6mag_1(i__),e_3_6mag_1(i__),v4_5mag_1(i__),
     +  e_4_5mag_1(i__),v5_8mag_1(i__),e_5_8mag_1(i__),v8_0mag_1(i__),
     +  f_8_0mag_1(i__),e_8_0mag_1(i__),v24mag_1(i__),f_24mag_1(i__),
     +  e_24mag_1(i__),v2MASS_1(i__),Field_1(i__),Star_1(i__),
     +  f_Star_1(i__),PM_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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