FORTRAN Generation
(/./ftp/cats/J/A_A/584/A31)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/584/A31 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-18
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/584/A31       Photometry of VVV CL041 cluster               (Chene+, 2015)
*================================================================================
*Massive open star clusters using the VVV survey.
*IV. WR 62-2, a new very massive star in the core of the VVV CL041 cluster.
*    Chene A.-N., Ramirez Alegria S., Borissova J., O'Leary E., Martins F.,
*    Herve A., Kuhn M., Kurtev R., Consuelo Amigo Fuentes P., Bonatto C.,
*    Minniti D.
*    <Astron. Astrophys. 584, A31 (2015)>
*    =2015A&A...584A..31C        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'vvvcl041.dat'	! Photometric catalogue

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        Dist        ! (arcsec) Distance to the central coordinates of
*                                   the cluster
      real*8        RAdeg       ! (deg) Right ascension (J2000)
      real*8        DEdeg       ! (deg) Declination (J2000)
      real*8        Jmag        ! (mag) J magnitude
      real*4        e_Jmag      ! (mag) Error on Jmag
      real*8        Hmag        ! (mag) H magnitude
      real*4        e_Hmag      ! (mag) Error on Hmag
      real*8        Ksmag       ! (mag) Ks magnitude
      real*4        e_Ksmag     ! (mag) Error in Ksmag
      character*7   statdec     ! Note (1)
*Note (1): Tells if the star was considered as cluster member or not by the
*  statistical decontamination (Bonatto & Bica, 2010A&A...516A..81B) as follows:
*  cluster = was considered as member of the cluster
*  sky     = was considered as fore/background star

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

C  Loading file 'vvvcl041.dat'	! Photometric catalogue

C  Format for file interpretation

    1 format(
     +  F12.7,1X,F11.7,1X,F11.7,1X,F7.4,1X,F6.4,1X,F7.4,1X,F6.4,1X,
     +  F7.4,1X,F6.4,1X,A7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'vvvcl041.dat')
      write(6,*) '....Loading file: vvvcl041.dat'
      do i__=1,221493
        read(1,'(A89)')ar__
        read(ar__,1)
     +  Dist,RAdeg,DEdeg,Jmag,e_Jmag,Hmag,e_Hmag,Ksmag,e_Ksmag,statdec
c    ..............Just test output...........
        write(6,1)
     +  Dist,RAdeg,DEdeg,Jmag,e_Jmag,Hmag,e_Hmag,Ksmag,e_Ksmag,statdec
c    .......End.of.Just test output...........
      end do
      close(1)

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