FORTRAN Generation

Conversion of standardized ReadMe file for file /./ftp/cats/J/BaltA/19/1 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  F77-compliant program generated by readme2f_1.5, on 2014-Apr-21
*  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
*  Please report problems or questions to   

      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__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

Cat. J/BaltA/19/1        YSOs in Camelopardalis                   (Straizys+, 2010)
*Young stars in the Camelopardalis dust and molecular clouds.
*VI. YSOs verified by Spitzer and Akari infrared photometry.
*    Straizys V., Kazlauskas A.
*   <Baltic Astron. 19, 1-33 (2010)>
*   =2010BaltA..19....1S

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Identification of the SL objects in the 2MASS,
                              IRAS and AKARI catalogs having mid- and
                              far-infrared measurements + 9 known YSOs

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

      character*15  Name        ! Name (1)
      character*17  v2MASS      ! 2MASS name (JHHMMSSss+DDMMSSs)
      character*10  IRAS        ! IRAS name (HHMMm+DDMM, B1950)
      real*4        Sep2I       ! (arcsec) ? Separation between 2MASS and IRAS objects
      character*15  A_IRC       ! AKARI-IRC-V1 name (JHHMMSSs+DDMMSS)
      real*4        Sep2AI      ! (arcsec) ? Separation between 2MASS and AKARI-IRC-V1
*                                    objects
      character*15  A_FIS       ! AKARI-FIS-V1 name (JHHMMSSs+DDMMSS)
      real*4        Sep2AF      ! (arcsec) ? Separation between 2MASS and AKARI-FIS-V1
*                                    objects
*Note (1): 141 objects identified as SL NNN (No 1 to 187).
*     The objects without IRAS and AKARI numbers have been measured only by
*     Spitzer and MSX. Nine known YSOs in the same area are listed at the
*     end of the table.


C  Loading file 'table1.dat'	! Identification of the SL objects in the 2MASS,
*                              IRAS and AKARI catalogs having mid- and
*                              far-infrared measurements + 9 known YSOs

C  Format for file interpretation

    1 format(A15,1X,A17,1X,A10,1X,F5.1,1X,A15,1X,F4.1,1X,A15,1X,F4.1)

C  Effective file loading

      open(unit=1,file='table1.dat', status='old')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,150
        if(ar__(46:50) .EQ. '') Sep2I = rNULL__
        if(ar__(68:71) .EQ. '') Sep2AI = rNULL__
        if(ar__(89:92) .EQ. '') Sep2AF = rNULL__
c    ..............Just test output...........
c    .......End.of.Just test output...........
      end do