FORTRAN Generation
(/./ftp/cats/J/ApJ/604/717)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/604/717 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-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/604/717       Polarization in OMC 1/4                  (Houde+, 2004)
*================================================================================
*Tracing the magnetic field in Orion A.
*    Houde M., Dowell C.D., Hildebrand R.H., Dotson J.L., Vaillancourt J.E.,
*    Phillips T.G., Peng R., Bastien P.
*   <Astrophys. J., 604, 717-740 (2004)>
*   =2004ApJ...604..717H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! OMC-1, 350 micron Results

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

      real*4        oRA         ! (arcmin) Offset in Right Ascension (1)
      real*4        oDE         ! (arcmin) Offset in Declination (1)
      real*4        Pol         ! (%) Polarization level
      real*4        e_Pol       ! (%) The 1{sigma} error in Pol
      real*4        polPA       ! (deg) Position angle (2)
      real*4        e_polPA     ! (deg) The 1{sigma} error in PA
      real*4        Flux        ! (Jy) Flux of the 20 arcsecond beam
*Note (1): Offset from RA: 5:32:50, DE: -5:15:00 (B1950.0). Sorted in DE first.
*Note (2): Position angle of E-vector in degrees east from north.

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

C  Declarations for 'table3.dat'	! OMC-2, 350 micron Results

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

      real*4        oRA_1       ! (arcmin) Offset in Right Ascension (1)
      real*4        oDE_1       ! (arcmin) Offset in Declination (1)
      real*4        Pol_1       ! (%) Polarization level
      real*4        e_Pol_1     ! (%) The 1{sigma} error in Pol
      real*4        polPA_1     ! (deg) Position angle (2)
      real*4        e_polPA_1   ! (deg) The 1{sigma} error in PA
      real*4        Flux_1      ! (Jy) Flux of the 20 arcsecond beam
*Note (1): Offset from RA: 5:32:50, DE: -5:15:00 (B1950.0). Sorted in DE first.
*Note (2): Position angle of E-vector in degrees east from north.

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

C  Declarations for 'table4.dat'	! OMC-3 and IRAS 05327-0457, 350 micron Results

      integer*4 nr__2
      parameter (nr__2=85)	! Number of records
      character*43 ar__2  	! Full-size record

      real*4        oRA_2       ! (arcmin) Offset in Right Ascension (1)
      real*4        oDE_2       ! (arcmin) Offset in Declination (1)
      real*4        Pol_2       ! (%) Polarization level
      real*4        e_Pol_2     ! (%) The 1{sigma} error in Pol
      real*4        polPA_2     ! (deg) Position angle (2)
      real*4        e_polPA_2   ! (deg) The 1{sigma} error in PA
      real*4        Flux_2      ! (Jy) Flux of the 20 arcsecond beam
*Note (1): Offset from RA: 5:32:50, DE: -5:15:00 (B1950.0). Sorted in DE first.
*Note (2): Position angle of E-vector in degrees east from north.

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

C  Declarations for 'table5.dat'	! OMC-4, 350 micron Results

      integer*4 nr__3
      parameter (nr__3=19)	! Number of records
      character*43 ar__3  	! Full-size record

      real*4        oRA_3       ! (arcmin) Offset in Right Ascension (1)
      real*4        oDE_3       ! (arcmin) Offset in Declination (1)
      real*4        Pol_3       ! (%) Polarization level
      real*4        e_Pol_3     ! (%) The 1{sigma} error in Pol
      real*4        polPA_3     ! (deg) Position angle (2)
      real*4        e_polPA_3   ! (deg) The 1{sigma} error in PA
      real*4        Flux_3      ! (Jy) Flux of the 20 arcsecond beam
*Note (1): Offset from RA: 5:32:50, DE: -5:15:00 (B1950.0). Sorted in DE first.
*Note (2): Position angle of E-vector in degrees east from north.

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

C  Loading file 'table2.dat'	! OMC-1, 350 micron Results

C  Format for file interpretation

    1 format(F5.2,1X,F6.2,1X,F5.2,1X,F4.2,1X,F5.1,1X,F5.1,1X,F6.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,470
        read(1,'(A43)')ar__
        read(ar__,1)oRA,oDE,Pol,e_Pol,polPA,e_polPA,Flux
c    ..............Just test output...........
        write(6,1)oRA,oDE,Pol,e_Pol,polPA,e_polPA,Flux
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! OMC-2, 350 micron Results

C  Format for file interpretation

    2 format(F5.2,1X,F6.2,1X,F5.2,1X,F4.2,1X,F5.1,1X,F5.1,1X,F6.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,52
        read(1,'(A43)')ar__1
        read(ar__1,2)
     +  oRA_1,oDE_1,Pol_1,e_Pol_1,polPA_1,e_polPA_1,Flux_1
c    ..............Just test output...........
        write(6,2)
     +  oRA_1,oDE_1,Pol_1,e_Pol_1,polPA_1,e_polPA_1,Flux_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! OMC-3 and IRAS 05327-0457, 350 micron Results

C  Format for file interpretation

    3 format(F5.2,1X,F6.2,1X,F5.2,1X,F4.2,1X,F5.1,1X,F5.1,1X,F6.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,85
        read(1,'(A43)')ar__2
        read(ar__2,3)
     +  oRA_2,oDE_2,Pol_2,e_Pol_2,polPA_2,e_polPA_2,Flux_2
c    ..............Just test output...........
        write(6,3)
     +  oRA_2,oDE_2,Pol_2,e_Pol_2,polPA_2,e_polPA_2,Flux_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! OMC-4, 350 micron Results

C  Format for file interpretation

    4 format(F5.2,1X,F6.2,1X,F5.2,1X,F4.2,1X,F5.1,1X,F5.1,1X,F6.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,19
        read(1,'(A43)')ar__3
        read(ar__3,4)
     +  oRA_3,oDE_3,Pol_3,e_Pol_3,polPA_3,e_polPA_3,Flux_3
c    ..............Just test output...........
        write(6,4)
     +  oRA_3,oDE_3,Pol_3,e_Pol_3,polPA_3,e_polPA_3,Flux_3
c    .......End.of.Just test output...........
      end do
      close(1)

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