FORTRAN Generation
(/./ftp/cats/J/AZh/77/420)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AZh/77/420 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-Mar-28
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/AZh/77/420       Photopolarimetric activity of SV Cep     (Rostopchina+, 2000)
*================================================================================
*Photopolarimetric activity of the Ae Herbig star SV Cep.
*     Rostopchina, A.N., Grinin, V.P., Shakhovskoy, D.N., The P.S.,
*     Minikulov N.Kh.
*    <Astron. Zh. 77, 420 (2000)>
*    =2000ARep...44..365R
*    =2000AZh....77..420R
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! SV Cep photometric and polarimetric
                                 UBVRI observations at CrAO.

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

      real*8        JDH        (nr__) ! (d) [2446929/2451120] Julian date
      real*4        Vmag       (nr__) ! (mag) V magnitude
      real*4        U_B        (nr__) ! (mag) ? U-B color
      real*4        B_V        (nr__) ! (mag) B-V color
      real*4        V_R        (nr__) ! (mag) ? V-R color
      real*4        V_I        (nr__) ! (mag) ? V-I color
      real*4        P_U        (nr__) ! (%) ? Degree of linear polarization in U band
      real*4        e_P_U      (nr__) ! (%) ? Mean error on P(U)
      real*4        PA_U       (nr__) ! (deg) ? Position angle of polarization in U band
      real*4        e_PA_U     (nr__) ! (deg) ? Mean error on PA(U)
      real*4        P_B        (nr__) ! (%) ? Degree of linear polarization in B band
      real*4        e_P_B      (nr__) ! (%) ? Mean error on P(B)
      real*4        PA_B       (nr__) ! (deg) ? Position angle of polarization in B band
      real*4        e_PA_B     (nr__) ! (deg) ? Mean error on PA(B)
      real*4        P_V        (nr__) ! (%) ? Degree of linear polarization in V band
      real*4        e_P_V      (nr__) ! (%) ? Mean error on P(V)
      real*4        PA_V       (nr__) ! (deg) ? Position angle of polarization in V band
      real*4        e_PA_V     (nr__) ! (deg) ? Mean error on PA(V)
      real*4        P_R        (nr__) ! (%) ? Degree of linear polarization in R band
      real*4        e_P_R      (nr__) ! (%) ? Mean error on P(R)
      real*4        PA_R       (nr__) ! (deg) ? Position angle of polarization in R band
      real*4        e_PA_R     (nr__) ! (deg) ? Mean error on PA(R)
      real*4        P_I        (nr__) ! (%) ? Degree of linear polarization in I band
      real*4        e_P_I      (nr__) ! (%) ? Mean error on P(I)
      real*4        PA_I       (nr__) ! (deg) ? Position angle of polarization in I band
      real*4        e_PA_I     (nr__) ! (deg) ? Mean error on PA(I)

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

C  Loading file 'table2.dat'	! SV Cep photometric and polarimetric
*                                 UBVRI observations at CrAO.

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,466
        read(1,'(A138)')ar__
        read(ar__,1)
     +  JDH(i__),Vmag(i__),U_B(i__),B_V(i__),V_R(i__),V_I(i__),
     +  P_U(i__),e_P_U(i__),PA_U(i__),e_PA_U(i__),P_B(i__),e_P_B(i__),
     +  PA_B(i__),e_PA_B(i__),P_V(i__),e_P_V(i__),PA_V(i__),
     +  e_PA_V(i__),P_R(i__),e_P_R(i__),PA_R(i__),e_PA_R(i__),
     +  P_I(i__),e_P_I(i__),PA_I(i__),e_PA_I(i__)
        if(ar__(20:24) .EQ. '') U_B(i__) = rNULL__
        if(ar__(32:36) .EQ. '') V_R(i__) = rNULL__
        if(ar__(38:42) .EQ. '') V_I(i__) = rNULL__
        if(ar__(44:47) .EQ. '') P_U(i__) = rNULL__
        if(ar__(49:52) .EQ. '') e_P_U(i__) = rNULL__
        if(ar__(54:58) .EQ. '') PA_U(i__) = rNULL__
        if(ar__(60:62) .EQ. '') e_PA_U(i__) = rNULL__
        if(ar__(64:67) .EQ. '') P_B(i__) = rNULL__
        if(ar__(69:72) .EQ. '') e_P_B(i__) = rNULL__
        if(ar__(74:77) .EQ. '') PA_B(i__) = rNULL__
        if(ar__(79:81) .EQ. '') e_PA_B(i__) = rNULL__
        if(ar__(83:86) .EQ. '') P_V(i__) = rNULL__
        if(ar__(88:91) .EQ. '') e_P_V(i__) = rNULL__
        if(ar__(93:96) .EQ. '') PA_V(i__) = rNULL__
        if(ar__(98:100) .EQ. '') e_PA_V(i__) = rNULL__
        if(ar__(102:105) .EQ. '') P_R(i__) = rNULL__
        if(ar__(107:110) .EQ. '') e_P_R(i__) = rNULL__
        if(ar__(112:115) .EQ. '') PA_R(i__) = rNULL__
        if(ar__(117:119) .EQ. '') e_PA_R(i__) = rNULL__
        if(ar__(121:124) .EQ. '') P_I(i__) = rNULL__
        if(ar__(126:129) .EQ. '') e_P_I(i__) = rNULL__
        if(ar__(131:134) .EQ. '') PA_I(i__) = rNULL__
        if(ar__(136:138) .EQ. '') e_PA_I(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  JDH(i__),Vmag(i__),U_B(i__),B_V(i__),V_R(i__),V_I(i__),
     +  P_U(i__),e_P_U(i__),PA_U(i__),e_PA_U(i__),P_B(i__),e_P_B(i__),
     +  PA_B(i__),e_PA_B(i__),P_V(i__),e_P_V(i__),PA_V(i__),
     +  e_PA_V(i__),P_R(i__),e_P_R(i__),PA_R(i__),e_PA_R(i__),
     +  P_I(i__),e_P_I(i__),PA_I(i__),e_PA_I(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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