FORTRAN Generation
(/./ftp/cats/J/A_A/533/A25)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/533/A25 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-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/533/A25       VLT/X-shooter observations of PHL293B        (Izotov+ 2011)
*================================================================================
*VLT/X-shooter observations of the low-metallicity blue compact dwarf
*galaxy PHL 293B including a luminous blue variable star.
*    Izotov Y.I., Guseva N.G., Fricke K.J., Henkel C.
*   <Astron. Astrophys. 533, A25 (2011)>
*   =2011A&A...533A..25I
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'fig1.dat'	! Flux-calibrated and redshift-corrected
                            VLT/X-shooter UV and optical spectrum of PHL 293B

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

      real*8        lambda     (nr__) ! (0.1nm) [3058/22550] Wavelength in Angstroem ({AA})
      real*4        Flux       (nr__) ! (mW/m2) Flux at lambda

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

C  Declarations for 'fig2.dat'	! Flux-calibrated and redshift-corrected
                            VLT/X-shooter near-infrared spectrum of PHL 293B

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

      real*8        lambda_1   (nr__1) ! (0.1nm) [3058/22550] Wavelength in Angstroem ({AA})
      real*4        Flux_1     (nr__1) ! (mW/m2) Flux at lambda

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

C  Loading file 'fig1.dat'	! Flux-calibrated and redshift-corrected
*                            VLT/X-shooter UV and optical spectrum of PHL 293B

C  Format for file interpretation

    1 format(1X,F7.1,1X,E13.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'fig1.dat')
      write(6,*) '....Loading file: fig1.dat'
      do i__=1,64902
        read(1,'(A22)')ar__
        read(ar__,1)lambda(i__),Flux(i__)
c    ..............Just test output...........
        write(6,1)lambda(i__),Flux(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'fig2.dat'	! Flux-calibrated and redshift-corrected
*                            VLT/X-shooter near-infrared spectrum of PHL 293B

C  Format for file interpretation

    2 format(1X,F7.1,1X,E13.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'fig2.dat')
      write(6,*) '....Loading file: fig2.dat'
      do i__=1,12591
        read(1,'(A22)')ar__1
        read(ar__1,2)lambda_1(i__),Flux_1(i__)
c    ..............Just test output...........
        write(6,2)lambda_1(i__),Flux_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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