FORTRAN Generation
(/./ftp/cats/J/A_A/549/A23)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/549/A23 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-20
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/549/A23       MAGIC map of 1E 2259+586                 (Aleksic+, 2013)
*================================================================================
*Observations of the magnetars 4U 0142+61 and 1E 2259+586 with the MAGIC
*telescopes (Research Note).
*    Aleksic J., Antonelli L.A., Antoranz P., Asensio M., Barres de Almeida U.,
*    Barrio J.A., Becerra Gonzalez J., Bednarek W., Berger K., Bernardini E.,
*    Biland A., Blanch O., Bock R.K., Boller A., Bonnoli G., Borla Tridon D.,
*    Bretz T., Carmona E., Carosi A., Colin P., Colombo E., Contreras J.L.,
*    Cortina J., Cossio L., Covino S., Da Vela P., Dazzi F., De Angelis A.,
*    De Caneva G., De Cea del Pozo E., De Lotto B., Delgado Mendez C.,
*    Diago Ortega A., Doert M., Dominis Prester D., Dorner D., Doro M.,
*    Eisenacher D., Elsaesser D., Ferenc D., Fonseca M.V., Font L., Fruck C.,
*    Garcia Lopez R.J., Garczarczyk M., Garrido Terrats D., Gaug M., Giavitto G.,
*    Godinovic N., Gonzalez Munoz A., Gozzini S.R., Hadamek A., Hadasch D.,
*    Hafner D., Herrero A., Hose J., Hrupec D., Huber B., Jankowski F.,
*    Jogler T., Kadenius V., Klepser S., Knoetig M.L., Krahenbuhl T., Krause J.,
*    Kushida J., La Barbera A., Lelas D., Leonardo E., Lewandowska N.,
*    Lindfors E., Lombardi S., Lopez M., Lopez-Coto R., Lopez-Oramas A.,
*    Lorenz E., Makariev M., Maneva G., Mankuzhiyil N., Mannheim K., Maraschi L.,
*    Marcote B., Mariotti M., Martinez M., Mazin D., Meucci M., Miranda J.M.,
*    Mirzoyan R., Moldon J., Moralejo A., Munar-Adrover P., Niedzwiecki A.,
*    Nieto D., Nilsson K., Nowak N., Orito R., Paiano S., Palatiello M.,
*    Paneque D., Paoletti R., Paredes J.M., Partini S., Persic M., Pilia M.,
*    Pochon J., Prada F., Prada Moroni P.G., Prandini E., Puljak I.,
*    Reichardt I., Reinthal R., Rhode W., Ribo M., Rico J., Rugamer S., Saito K.,
*    Saito T.Y., Salvati M., Satalecka K., Scalzotto V., Scapin V., Schultz C.,
*    Saggion A., Schweizer T., Shore S.N., Sillanpaa A., Sitarek J., Snidaric I.,
*    Sobczynska D., Spanier F., Spiro S., Stamatescu V., Stamerra A., Steinke B.,
*    Storz J., Sun S., Suric T., Takalo L., Takami H., Tavecchio F., Temnikov P.,
*    Terzic T., Tescaro D., Teshima M., Tibolla O., Torres D.F., Toyama T.,
*    Treves A., Uellenbeck M., Vogler P., Wagner R.M., Weitzel Q., Zabalza V.,
*    Zandanel F., Zanin R., Rea N.
*   <Astron. Astrophys. 549, A23 (2013)>
*   =2013A&A...549A..23A
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'list.dat'	! Information on map

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg      (nr__) ! (deg) Right Ascension of center (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination of center (J2000)
      real*4        Scale      (nr__) ! (arcsec/pix) Scale of the image (38"/pix)
      integer*4     Nx         (nr__) ! (pix) [264] Number of pixels along X-axis
      integer*4     Ny         (nr__) ! (pix) [189] Number of pixels along Y-axis
      character*14  FileName   (nr__) ! Name of FITS file

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

C  Declarations for 'fluxes.dat'	! High-energy flux limits

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

      integer*4     E          (nr__1) ! (GeV) [200/20000] Energy
      real*4        F1         (nr__1) ! (ph/cm2/s) Flux of 4U 0142+61 at E
      real*4        F2         (nr__1) ! (ph/cm2/s) Flux of 1E 2259+586 at E

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

C  Loading file 'list.dat'	! Information on map

C  Format for file interpretation

    1 format(F9.5,F9.5,1X,F4.1,1X,I3,1X,I3,1X,A14)

C  Effective file loading

      open(unit=1,status='old',file=
     +'list.dat')
      write(6,*) '....Loading file: list.dat'
      do i__=1,1
        read(1,'(A46)')ar__
        read(ar__,1)
     +  RAdeg(i__),DEdeg(i__),Scale(i__),Nx(i__),Ny(i__),FileName(i__)
c    ..............Just test output...........
        write(6,1)
     +  RAdeg(i__),DEdeg(i__),Scale(i__),Nx(i__),Ny(i__),FileName(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'fluxes.dat'	! High-energy flux limits

C  Format for file interpretation

    2 format(1X,I5,1X,E9.3,1X,E9.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'fluxes.dat')
      write(6,*) '....Loading file: fluxes.dat'
      do i__=1,3
        read(1,'(A26)')ar__1
        read(ar__1,2)E(i__),F1(i__),F2(i__)
c    ..............Just test output...........
        write(6,2)E(i__),F1(i__),F2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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