Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/105/429 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-Oct-07
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/105/429 Optical position of radio stars (Carrasco+ 1994)
*================================================================================
*Optical positions of the radio stars observed with the Repsold Meridian Circle
*at Cerro Calan, National Observatory
* CARRASCO G., LOYOLA P.
* <Astron. Astrophys. Suppl. Ser. 105, 429 (1994)>
* =1994A&AS..105..429C
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1' ! Radio stars positions for the epoch of
observation and equinox J2000.0
integer*4 nr__
parameter (nr__=50) ! Number of records
character*78 ar__ ! Full-size record
C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg (nr__) ! (deg) Right Ascension J2000.0
real*8 DEdeg (nr__) ! (deg) Declination J2000.0
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 Seq (nr__) ! Internal number
integer*4 HD (nr__) ! HD designation
real*4 V (nr__) ! (mag) Visual magnitude
character*3 Sp (nr__) ! Spectral type
integer*4 RAh (nr__) ! (h) Right ascension J2000.0
integer*4 RAm (nr__) ! (min) Right ascension J2000.0
real*4 RAs (nr__) ! (s) Right ascension J2000.0
integer*4 EPA (nr__) ! (yr) Epoch-1900 of right ascension (x 100)
integer*4 NRA (nr__) ! Number of accepted observations
* in right ascension
integer*4 e_RA (nr__) ! (0.001s) rms uncertainty on right ascension
character*1 DE_ (nr__) ! Declination sign
integer*4 DEd (nr__) ! (deg) Declination J2000.0
integer*4 DEm (nr__) ! (arcmin) Declination J2000.0
real*4 DEs (nr__) ! (arcsec) Declination J2000.0
integer*4 EPD (nr__) ! (yr) Epoch-1900 of declination (x 100)
integer*4 NDE (nr__) ! Number of accepted observations in declination
integer*4 e_DE (nr__) ! (0.01arcsec) rms uncertainty on declination
character*10 Name (nr__) ! Name of the star
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2' ! Differences in alpha and delta "Cerro Calan-FK5"
integer*4 nr__1
parameter (nr__1=24) ! Number of records
character*47 ar__1 ! Full-size record
integer*4 Seq_1 (nr__1) ! Identification number, as in table1
integer*4 FK5 (nr__1) ! FK5 designation
real*4 RA (nr__1) ! (h) Right ascension
real*4 DE (nr__1) ! (deg) Declination
integer*4 DeltaRA (nr__1) ! (0.01arcsec) Cerro Calan-FK5 difference in alpha
integer*4 DeltaDE (nr__1) ! (0.01arcsec) Cerro Calan-FK5 difference in delta
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3' ! Differences in alpha and delta
"Cerro Calan-San Fernando" and
"Cerro Calan-Carlsberg"
integer*4 nr__2
parameter (nr__2=31) ! Number of records
character*56 ar__2 ! Full-size record
integer*4 Seq_2 (nr__2) ! Identification number, as in table1
character*11 Name_1 (nr__2) ! Usual name
real*4 RA_1 (nr__2) ! (h) Right ascension
real*4 DE_1 (nr__2) ! (deg) Declination
integer*4 DRAsf (nr__2) ! (0.01arcsec) Cerro Calan-San Fernando difference in alpha
integer*4 DRAca (nr__2) ! (0.01arcsec) []? Cerro Calan-Carlsberg difference in alpha
integer*4 DDEsf (nr__2) ! (0.01arcsec) Cerro Calan-San Fernando difference in delta
integer*4 DDEca (nr__2) ! (0.01arcsec) []? Cerro Calan-Carlsberg difference in delta
C=============================================================================
C Loading file 'table1' ! Radio stars positions for the epoch of
* observation and equinox J2000.0
C Format for file interpretation
1 format(
+ I2,1X,I6,1X,F3.1,1X,A3,1X,I2,1X,I2,1X,F6.3,1X,I4,1X,I2,1X,I2,
+ 2X,A1,I2,1X,I2,1X,F5.2,1X,I4,1X,I2,1X,I2,2X,A10)
C Effective file loading
open(unit=1,status='old',file=
+'table1')
write(6,*) '....Loading file: table1'
do i__=1,50
read(1,'(A78)')ar__
read(ar__,1)
+ Seq(i__),HD(i__),V(i__),Sp(i__),RAh(i__),RAm(i__),RAs(i__),
+ EPA(i__),NRA(i__),e_RA(i__),DE_(i__),DEd(i__),DEm(i__),
+ DEs(i__),EPD(i__),NDE(i__),e_DE(i__),Name(i__)
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.
if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c ..............Just test output...........
write(6,1)
+ Seq(i__),HD(i__),V(i__),Sp(i__),RAh(i__),RAm(i__),RAs(i__),
+ EPA(i__),NRA(i__),e_RA(i__),DE_(i__),DEd(i__),DEm(i__),
+ DEs(i__),EPD(i__),NDE(i__),e_DE(i__),Name(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2' ! Differences in alpha and delta "Cerro Calan-FK5"
C Format for file interpretation
2 format(I2,7X,I4,3X,F5.2,5X,F5.1,4X,I3,6X,I3)
C Effective file loading
open(unit=1,status='old',file=
+'table2')
write(6,*) '....Loading file: table2'
do i__=1,24
read(1,'(A47)')ar__1
read(ar__1,2)
+ Seq_1(i__),FK5(i__),RA(i__),DE(i__),DeltaRA(i__),DeltaDE(i__)
c ..............Just test output...........
write(6,2)
+ Seq_1(i__),FK5(i__),RA(i__),DE(i__),DeltaRA(i__),DeltaDE(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3' ! Differences in alpha and delta
* "Cerro Calan-San Fernando" and
* "Cerro Calan-Carlsberg"
C Format for file interpretation
3 format(I2,3X,A11,2X,F5.2,3X,F5.1,4X,I3,2X,I3,4X,I4,2X,I3)
C Effective file loading
open(unit=1,status='old',file=
+'table3')
write(6,*) '....Loading file: table3'
do i__=1,31
read(1,'(A56)')ar__2
read(ar__2,3)
+ Seq_2(i__),Name_1(i__),RA_1(i__),DE_1(i__),DRAsf(i__),
+ DRAca(i__),DDEsf(i__),DDEca(i__)
if(ar__2(41:43) .EQ. '') DRAca(i__) = iNULL__
if(ar__2(54:56) .EQ. '') DDEca(i__) = iNULL__
c ..............Just test output...........
write(6,3)
+ Seq_2(i__),Name_1(i__),RA_1(i__),DE_1(i__),DRAsf(i__),
+ DRAca(i__),DDEsf(i__),DDEca(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end