Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/117/369 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-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 (nr__) ! (deg) Right Ascension 1950.0
real*8 DEdeg (nr__) ! (deg) Declination 1950.0
C ---------------------------------- ! (position vector(s) in degrees)
character*14 Name (nr__) ! Object designation based on galactic position
integer*4 RAh (nr__) ! (h) Right ascension (1950.0)
integer*4 RAm (nr__) ! (min) Right ascension (1950.0)
real*4 RAs (nr__) ! (s) Right ascension (1950.0)
integer*4 DEd (nr__) ! (deg) Declination (1950.0)
integer*4 DEm (nr__) ! (arcmin) Declination (1950.0)
integer*4 DEs (nr__) ! (arcsec) Declination (1950.0)
integer*4 RAh2000 (nr__) ! (h) Right ascension (2000.0)
integer*4 RAm2000 (nr__) ! (min) Right ascension (2000.0)
real*4 RAs2000 (nr__) ! (s) Right ascension (2000.0)
integer*4 DEd2000 (nr__) ! (deg) Declination (2000.0)
integer*4 DEm2000 (nr__) ! (arcmin) Declination (2000.0)
integer*4 DEs2000 (nr__) ! (arcsec) Declination (2000.0)
character*4 POSS (nr__) ! POSS-I print label
real*4 Xpos (nr__) ! (mm) Cartesian x-coordinate on POSS
real*4 Ypos (nr__) ! (mm) Cartesian y-coordinate on POSS
real*4 DmajE (nr__) ! (arcmin) Maximum diameter on POSS-E
real*4 DminE (nr__) ! (arcmin) Minimum diameter on POSS-E
real*4 DmajEc (nr__) ! (arcmin) []? Maximum diameter of core on POSS-E
real*4 DminEc (nr__) ! (arcmin) []? Minimum diameter of core on POSS-E
real*4 DmajO (nr__) ! (arcmin) []? Maximum diameter on POSS-O
real*4 DminO (nr__) ! (arcmin) []? Minimum diameter on POSS-O
real*4 DmajOc (nr__) ! (arcmin) []? Maximum diameter of core on POSS-O
real*4 DminOc (nr__) ! (arcmin) []? Minimum diameter of core on POSS-O
character*2 MType (nr__) ! Morphological type
character*48 Ident (nr__) ! 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(i__),RAh(i__),RAm(i__),RAs(i__),DEd(i__),DEm(i__),
+ DEs(i__),RAh2000(i__),RAm2000(i__),RAs2000(i__),DEd2000(i__),
+ DEm2000(i__),DEs2000(i__),POSS(i__),Xpos(i__),Ypos(i__),
+ DmajE(i__),DminE(i__),DmajEc(i__),DminEc(i__),DmajO(i__),
+ DminO(i__),DmajOc(i__),DminOc(i__),MType(i__),Ident(i__)
if(ar__(91:94) .EQ. '') DmajEc(i__) = rNULL__
if(ar__(96:99) .EQ. '') DminEc(i__) = rNULL__
if(ar__(102:105) .EQ. '') DmajO(i__) = rNULL__
if(ar__(107:110) .EQ. '') DminO(i__) = rNULL__
if(ar__(112:115) .EQ. '') DmajOc(i__) = rNULL__
if(ar__(117:120) .EQ. '') DminOc(i__) = rNULL__
RAdeg(i__) = rNULL__
DEdeg(i__) = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
c ..............Just test output...........
write(6,1)
+ Name(i__),RAh(i__),RAm(i__),RAs(i__),DEd(i__),DEm(i__),
+ DEs(i__),RAh2000(i__),RAm2000(i__),RAs2000(i__),DEd2000(i__),
+ DEm2000(i__),DEs2000(i__),POSS(i__),Xpos(i__),Ypos(i__),
+ DmajE(i__),DminE(i__),DmajEc(i__),DminEc(i__),DmajO(i__),
+ DminO(i__),DmajOc(i__),DminOc(i__),MType(i__),Ident(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end