FORTRAN Generation
(/./ftp/cats/J/A_A/684/A132)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/684/A132 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-Jun-08
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/684/A132      Zero-polarization candidate regions      (Mandarakas+, 2024)
*================================================================================
*Zero-polarization candidate regions for the calibration of wide-field optical
*polarimeters.
*    Mandarakas N., Panopoulou G.V., Pelgrims V., Potter S.B., Pavlidou V.,
*    Ramaprakash A., Tassis K., Blinov D., Kiehlmann S., Koutsiona E.,
*    Maharana S., Romanopoulos S., Skalidis R., Vervelaki A., Clark S.E.,
*    Kypriotakis J.A., Readhead A.C.S.
*    <Astron. Astrophys. 684, A132 (2024)>
*    =2024A&A...684A.132M        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'catalog.dat'	! Catalog of polarimetric measurements

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

C  Position composed of: RAdeg DEdeg (Epoch=2026.0)
      integer*8     GaiaDR3    (nr__) ! GAIA DR3 source_id
      real*8        RAdeg      (nr__) ! (deg) Right Ascension (ICRS) at Ep=2026.0
      real*8        DEdeg      (nr__) ! (deg) Declination (ICRS) at Ep=2026.0
      real*8        q          (nr__) ! q=Q/I Stokes parameter
      real*8        e_q        (nr__) ! Uncertainty of q
      real*8        u          (nr__) ! u=U/I Stokes parameter
      real*8        e_u        (nr__) ! Uncertainty of u
      real*4        p          (nr__) ! Polarization degree
      real*4        debp       (nr__) ! Debiased estimator of p
      real*8        e_p        (nr__) ! Uncertainty of p
      real*4        EVPA       (nr__) ! (deg) Polarization position angle North-to-East
      real*4        e_EVPA     (nr__) ! (deg) [] Uncertainty of EVPA
      character*4   Field      (nr__) ! zero-polarization candidate field

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

C  Loading file 'catalog.dat'	! Catalog of polarimetric measurements

C  Format for file interpretation

    1 format(
     +  I19,1X,F8.4,1X,F8.4,1X,F8.5,1X,F7.5,1X,F8.5,1X,F7.5,1X,E8.3,
     +  E8.3,F7.5,1X,F6.2,1X,F6.2,1X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'catalog.dat')
      write(6,*) '....Loading file: catalog.dat'
      do i__=1,304
        read(1,'(A114)')ar__
        read(ar__,1)
     +  GaiaDR3(i__),RAdeg(i__),DEdeg(i__),q(i__),e_q(i__),u(i__),
     +  e_u(i__),p(i__),debp(i__),e_p(i__),EVPA(i__),e_EVPA(i__),
     +  Field(i__)
c    ..............Just test output...........
        write(6,1)
     +  GaiaDR3(i__),RAdeg(i__),DEdeg(i__),q(i__),e_q(i__),u(i__),
     +  e_u(i__),p(i__),debp(i__),e_p(i__),EVPA(i__),e_EVPA(i__),
     +  Field(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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