FORTRAN Generation
(/./ftp/cats/J/A_AS/127/101)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/127/101 into FORTRAN code for reading data files line by line.

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-May-19
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+AS/127/101      Galaxies in the "zone of avoidance". V. (Seeberger+ 1998)
*================================================================================
*Penetrating the "zone of avoidance"
*V. An optical survey for hidden galaxies in the region 90<=l<=110, -10<=b<=+10
*       Seeberger R., Saurer W.
*      <Astron. Astrophys. Suppl. Ser. 127, 101 (1998)>
*      =1998A&AS..127..101S      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2'	! Optically detected galaxies in the region
                                 90{deg}<l<110{deg}, |b|<10{deg}

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

C  1950 position composed of: RAh RAm RAs DEd DEm
      real*8        RAdeg       ! (deg) Right Ascension 1950
      real*8        DEdeg       ! (deg)     Declination 1950
C  ---------------------------------- ! (position vector(s) in degrees)

      character*14  Name        ! Object designation based on galactic position
      integer*4     RAh         ! (h) Right ascension (1950)
      integer*4     RAm         ! (min) Right ascension (1950)
      integer*4     RAs         ! (s) Right ascension (1950)
      integer*4     DEd         ! (deg) Declination (1950)
      real*4        DEm         ! (arcmin) Declination (1950)
      integer*4     RA2000h     ! (h) Right ascension (2000)
      integer*4     RA2000m     ! (min) Right ascension (2000)
      integer*4     RA2000s     ! (s) Right ascension (2000)
      integer*4     DE2000d     ! (deg) Declination (2000)
      real*4        DE2000m     ! (arcmin) [0/60] Declination (2000)
      integer*4     POSS        ! POSS print number
      real*4        xpos        ! (mm) Cartesian x-coordinate on POSS
      real*4        ypos        ! (mm) Cartesian y-coordinate on POSS
      real*4        DmajE       ! (arcmin) Maximum diameter on POSS-E
      real*4        DmajEc      ! (arcmin) ? Maximum diameter of the core on POSS-E
      real*4        DmajO       ! (arcmin) ? Maximum diameter on POSS-O
      real*4        DmajOc      ! (arcmin) ? Maximum diameter of the core on POSS-O
      character*46  Ident       ! Cross-identifications and remarks

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

C  Loading file 'table2'	! Optically detected galaxies in the region
*                                 90{deg}<l<110{deg}, |b|<10{deg}

C  Format for file interpretation

    1 format(
     +  A14,1X,I2,1X,I2,1X,I2,1X,I2,1X,F4.1,1X,I2,1X,I2,1X,I2,1X,I2,
     +  1X,F4.1,1X,I4,1X,F6.2,1X,F6.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,
     +  1X,A46)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2')
      write(6,*) '....Loading file: table2'
      do i__=1,1346
        read(1,'(A134)')ar__
        read(ar__,1)
     +  Name,RAh,RAm,RAs,DEd,DEm,RA2000h,RA2000m,RA2000s,DE2000d,
     +  DE2000m,POSS,xpos,ypos,DmajE,DmajEc,DmajO,DmajOc,Ident
        if(ar__(74:77) .EQ. '') DmajEc = rNULL__
        if(ar__(79:82) .EQ. '') DmajO = rNULL__
        if(ar__(84:87) .EQ. '') DmajOc = rNULL__
        RAdeg = rNULL__
        DEdeg = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh .GT. -180) RAdeg=RAh*15.
        if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
        if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
        if(DEd .GE. 0) DEdeg=DEd
        if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
c    ..............Just test output...........
        write(6,1)
     +  Name,RAh,RAm,RAs,DEd,DEm,RA2000h,RA2000m,RA2000s,DE2000d,
     +  DE2000m,POSS,xpos,ypos,DmajE,DmajEc,DmajO,DmajOc,Ident
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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