FORTRAN Generation
(/./ftp/cats/J/A_A/700/A187)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/700/A187 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/700/A187  Galactic Miras with light-curve asymmetries (Uttenthaler+, 2025)
*================================================================================
*A population analysis of Galactic Miras with light-curve asymmetries.
*    Uttenthaler S., Merchan-Benitez P.
*    <Astron. Astrophys. 700, A187 (2025)>
*    =2025A&A...700A.187U        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table.dat'	! Results of the new analysis of Mira light curves
                                 in this paper

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

      character*20  Name       (nr__) ! Object name in Simbad
      real*4        Per        (nr__) ! (d) Pulsation period
      character*2   SpType     (nr__) ! Spectral type
      character*8   SRV_       (nr__) ! Classification of SRVs or IR according to GCVS
      integer*4     Bumps      (nr__) ! [0/1] Presence of light-curve bumps
*                                 (0=no, 1=yes)
      real*8        DBSL       (nr__) ! (mag) ? DBSL parameter in K-[22] vs. P (Sect. 5.2) (1)
*Note (1): We propose a new parameter that we call the distance to the best
*  separation line (DBSL), defined as the distance between the observed colour
*  index of a Mira from the line that best separates the Group A and S Miras in
*  that colour index versus period P (Eqs. 2 and 3), given by the expressions:
*
*  Eq. (4): {delta}_K-[22]_=(K-[22])-(0.011xP-1.380) [mag]
*  Eq. (5): {delta}_[3.4]-[22]_=([3.4]-[22])-(0.0086xP-1.0093) [mag]

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

C  Loading file 'table.dat'	! Results of the new analysis of Mira light curves
*                                 in this paper

C  Format for file interpretation

    1 format(A20,F6.1,A2,A8,I1,F7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table.dat')
      write(6,*) '....Loading file: table.dat'
      do i__=1,3100
        read(1,'(A44)')ar__
        read(ar__,1)
     +  Name(i__),Per(i__),SpType(i__),SRV_(i__),Bumps(i__),DBSL(i__)
        if(ar__(38:44) .EQ. '') DBSL(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),Per(i__),SpType(i__),SRV_(i__),Bumps(i__),DBSL(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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