FORTRAN Generation
(/./ftp/cats/J/A_A/631/A104)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/631/A104 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-Apr-23
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/631/A104   PSR J1023+0038 VLT, XM and Swift observations   (Baglio+, 2019)
*================================================================================
*Peering at the outflow mechanisms in the transitional pulsar PSR J1023+0038:
*simultaneous VLT, XMM-Newton, and Swift high-time resolution observations.
*    Baglio M.C., Vincentelli F., Campana S., Coti Zelati F., D'Avanzo P.,
*    Burderi L., Casella P., Papitto A., Russell D.M.
*    <Astron. Astrophys. 631, A104 (2019)>
*    =2019A&A...631A.104B        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'om.dat'	! Light curve obtained with XMM-OM reported in
                                 Fig. 1 of the paper

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

      real*8        Time       (nr__) ! (s) Time after 2017-06-10 00:00:00 UT
      real*8        Flux       (nr__) ! (mJy) Flux of the target
      real*8        e_Flux     (nr__) ! (mJy) Error on the flux

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

C  Declarations for 'hawk-i.dat'	! Light curve obtained with VLT/HAWK-I reported in
                                 Fig. 2 of the paper

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

      real*8        Time_1     (nr__1) ! (s) Time after 2017-06-10 00:00:00 UT
      real*8        Flux_1     (nr__1) ! (mJy) Flux of the target
      real*8        e_Flux_1   (nr__1) ! (mJy) Error on the flux

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

C  Declarations for 'xrt.dat'	! Light curve obtained with Swift/XRT reported in
                                 Fig. 1 of the paper

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

      real*8        Time_2     (nr__2) ! (s) Time after 2017-06-10 00:00:00 UT
      real*8        CRate      (nr__2) ! (ct/s) Counts per second measured for the target
      real*8        e_CRate    (nr__2) ! (ct/s) Error on the counts per second measured
*                                    for the target

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

C  Declarations for 'rgs2.dat'	! Light curve obtained with XMM-RGS reported in
                                 Fig. 1 of the paper

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

      real*8        Time_3     (nr__3) ! (s) Time after 2017-06-10 00:00:00 UT
      real*8        CRate_1    (nr__3) ! (ct/s) Counts per second measured for the target
      real*8        e_CRate_1  (nr__3) ! (ct/s) Error on the counts per second measured
*                                 for the target

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

C  Loading file 'om.dat'	! Light curve obtained with XMM-OM reported in
*                                 Fig. 1 of the paper

C  Format for file interpretation

    1 format(F13.7,3X,F17.15,3X,F17.15)

C  Effective file loading

      open(unit=1,status='old',file=
     +'om.dat')
      write(6,*) '....Loading file: om.dat'
      do i__=1,2119
        read(1,'(A53)')ar__
        read(ar__,1)Time(i__),Flux(i__),e_Flux(i__)
c    ..............Just test output...........
        write(6,1)Time(i__),Flux(i__),e_Flux(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'hawk-i.dat'	! Light curve obtained with VLT/HAWK-I reported in
*                                 Fig. 2 of the paper

C  Format for file interpretation

    2 format(F17.11,2X,F12.10,4X,F12.10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hawk-i.dat')
      write(6,*) '....Loading file: hawk-i.dat'
      do i__=1,15169
        read(1,'(A47)')ar__1
        read(ar__1,2)Time_1(i__),Flux_1(i__),e_Flux_1(i__)
c    ..............Just test output...........
        write(6,2)Time_1(i__),Flux_1(i__),e_Flux_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'xrt.dat'	! Light curve obtained with Swift/XRT reported in
*                                 Fig. 1 of the paper

C  Format for file interpretation

    3 format(F21.15,1X,F10.8,5X,F10.8)

C  Effective file loading

      open(unit=1,status='old',file=
     +'xrt.dat')
      write(6,*) '....Loading file: xrt.dat'
      do i__=1,696
        read(1,'(A47)')ar__2
        read(ar__2,3)Time_2(i__),CRate(i__),e_CRate(i__)
c    ..............Just test output...........
        write(6,3)Time_2(i__),CRate(i__),e_CRate(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'rgs2.dat'	! Light curve obtained with XMM-RGS reported in
*                                 Fig. 1 of the paper

C  Format for file interpretation

    4 format(F8.2,1X,F14.11,4X,F12.10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'rgs2.dat')
      write(6,*) '....Loading file: rgs2.dat'
      do i__=1,171
        read(1,'(A39)')ar__3
        read(ar__3,4)Time_3(i__),CRate_1(i__),e_CRate_1(i__)
c    ..............Just test output...........
        write(6,4)Time_3(i__),CRate_1(i__),e_CRate_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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