FORTRAN Generation
(/./ftp/cats/J/MNRAS/357/345)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/357/345 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 2026-Oct-06
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/MNRAS/357/345     Pulsating pre-main-sequence stars in NGC6383 (Zintz+, 2005)
*================================================================================
*Search for pulsating pre-main-sequence stars in NGC 6383.
*    Zwintz K., Marconi M., Reegen P., Weiss W.W.
*   <Mon. Not. R. Astron. Soc., 357, 345-353 (2005)>
*   =2005MNRAS.357..345Z
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea1.dat'	! Photometric data for all observed stars
                             (cluster membership is assumed)

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

      integer*4     ZMR        (nr__) ! Sequential number, Cl* NGC 6383 ZMR NNN in Simbad
      character*6   OName      (nr__) ! Other names in the literature (1)
      real*8        Xpos       (nr__) ! (pix) X position on the CCD
      real*8        Ypos       (nr__) ! (pix) Y position on the CCD
      real*4        Vmag       (nr__) ! (mag) Johnson V magnitude
      real*4        B_V        (nr__) ! (mag) Johnson B-V colour index
      real*4        VMAG_1     (nr__) ! (mag) Absolute V magnitude (2)
      real*4        v_B_V_0    (nr__) ! (mag) Dereddened Johnson B-V colour index (2)
*Note (1): Cross-identifications as follows:
*  EV NNN: Evans et al., 1978MNRAS.184..661L, NGC 6383 NNN in Simbad
*   F  NN: Fitzgerald et al., 1978MNRAS.182..607F,
*          Cl* NGC 6383 FJL NN in Simbad
*   T NNN: The, 1965CoBos..32.....T, NGC 6383 NN in Simbad
*Note (2): VMAG and (B-V)0 were derived using E(B-V)=0.33mag and
*          V-VMAG=11.9mag (Fitzgerald et al., 1978MNRAS.182..607F).

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

C  Loading file 'tablea1.dat'	! Photometric data for all observed stars
*                             (cluster membership is assumed)

C  Format for file interpretation

    1 format(I3,1X,A6,2X,F7.2,1X,F7.2,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,286
        read(1,'(A55)')ar__
        read(ar__,1)
     +  ZMR(i__),OName(i__),Xpos(i__),Ypos(i__),Vmag(i__),B_V(i__),
     +  VMAG_1(i__),v_B_V_0(i__)
c    ..............Just test output...........
        write(6,1)
     +  ZMR(i__),OName(i__),Xpos(i__),Ypos(i__),Vmag(i__),B_V(i__),
     +  VMAG_1(i__),v_B_V_0(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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