Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/117/369 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-Aug-12
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/117/369 Galaxies in the "zone of avoidance". III. (Lercher+, 1996)
*================================================================================
*Penetrating the 'zone of avoidance':
*III. A survey for obscured galaxies in the region 120<l<130,-10<b<+10
* Lercher G., Kerber F., Weinberger R.
* <Astron. Astrophys. Suppl. Ser. 117, 369 (1996)>
* =1996A&AS..117..369L (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2' ! optically detected galaxies in the region
120<l<130, -10<b<+10
integer*4 nr__
parameter (nr__=1161) ! Number of records
character*219 ar__ ! Full-size record
C 1950.0 position composed of: RAh RAm RAs DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension 1950.0
real*8 DEdeg ! (deg) Declination 1950.0
C ---------------------------------- ! (position vector(s) in degrees)
character*14 Name ! Object designation based on galactic position
integer*4 RAh ! (h) Right ascension (1950.0)
integer*4 RAm ! (min) Right ascension (1950.0)
real*4 RAs ! (s) Right ascension (1950.0)
integer*4 DEd ! (deg) Declination (1950.0)
integer*4 DEm ! (arcmin) Declination (1950.0)
integer*4 DEs ! (arcsec) Declination (1950.0)
integer*4 RAh2000 ! (h) Right ascension (2000.0)
integer*4 RAm2000 ! (min) Right ascension (2000.0)
real*4 RAs2000 ! (s) Right ascension (2000.0)
integer*4 DEd2000 ! (deg) Declination (2000.0)
integer*4 DEm2000 ! (arcmin) Declination (2000.0)
integer*4 DEs2000 ! (arcsec) Declination (2000.0)
character*4 POSS ! POSS-I print label
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 DminE ! (arcmin) Minimum diameter on POSS-E
real*4 DmajEc ! (arcmin) []? Maximum diameter of core on POSS-E
real*4 DminEc ! (arcmin) []? Minimum diameter of core on POSS-E
real*4 DmajO ! (arcmin) []? Maximum diameter on POSS-O
real*4 DminO ! (arcmin) []? Minimum diameter on POSS-O
real*4 DmajOc ! (arcmin) []? Maximum diameter of core on POSS-O
real*4 DminOc ! (arcmin) []? Minimum diameter of core on POSS-O
character*2 MType ! Morphological type
character*48 Ident ! Cross identifications
C=============================================================================
C Loading file 'table2' ! optically detected galaxies in the region
* 120<l<130, -10<b<+10
C Format for file interpretation
1 format(
+ A14,1X,I1,1X,I2,1X,F4.1,2X,I2,1X,I2,1X,I2,3X,I1,1X,I2,1X,F4.1,
+ 2X,I2,1X,I2,1X,I2,3X,A4,3X,F5.1,1X,F5.1,3X,F4.2,1X,F4.2,1X,
+ F4.2,1X,F4.2,2X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,3X,A2,1X,A48)
C Effective file loading
open(unit=1,status='old',file=
+'table2')
write(6,*) '....Loading file: table2'
do i__=1,1161
read(1,'(A219)')ar__
read(ar__,1)
+ Name,RAh,RAm,RAs,DEd,DEm,DEs,RAh2000,RAm2000,RAs2000,DEd2000,
+ DEm2000,DEs2000,POSS,Xpos,Ypos,DmajE,DminE,DmajEc,DminEc,
+ DmajO,DminO,DmajOc,DminOc,MType,Ident
if(ar__(91:94) .EQ. '') DmajEc = rNULL__
if(ar__(96:99) .EQ. '') DminEc = rNULL__
if(ar__(102:105) .EQ. '') DmajO = rNULL__
if(ar__(107:110) .EQ. '') DminO = rNULL__
if(ar__(112:115) .EQ. '') DmajOc = rNULL__
if(ar__(117:120) .EQ. '') DminOc = 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.
if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
c ..............Just test output...........
write(6,1)
+ Name,RAh,RAm,RAs,DEd,DEm,DEs,RAh2000,RAm2000,RAs2000,DEd2000,
+ DEm2000,DEs2000,POSS,Xpos,Ypos,DmajE,DminE,DmajEc,DminEc,
+ DmajO,DminO,DmajOc,DminOc,MType,Ident
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end