Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/437/1135 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.5, on 2013-May-21
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__
ter (rNULL__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/A+A/437/1135 Near-IR astrometry of Southern ICRF quasars (Camargo+, 2005)
*================================================================================
*Near-infrared astrometry and photometry of Southern ICRF quasars.
* Camargo I.B., Daigne G., Ducourant C., Charlot P.
* <Astron. Astrophys. 437, 1135 (2005)>
* =2005A&A...437.1135C
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'position.dat' ! Positions, from Ma et al., Cat. <I/251>
integer*4 nr__
parameter (nr__=30) ! Number of records
character*65 ar__ ! Full-size record
real*8 RA_ (nr__) ! (deg) Right Ascension J2000.0
real*8 Dec (nr__) ! (deg) Declination J2000.0
character*8 IERS (nr__) ! IERS designation
character*16 ICRF (nr__) ! ICRF designation
integer*4 RAh (nr__) ! (h) Right ascension (J2000.0)
integer*4 RAm (nr__) ! (min) Right ascension (J2000.0)
real*8 RAs (nr__) ! (s) Right ascension (J2000.0)
character*1 DE_ (nr__) ! Declination sign (J2000.0)
integer*4 DEd (nr__) ! (deg) Declination (J2000.0)
integer*4 DEm (nr__) ! (arcmin) Declination (J2000.0)
real*8 DEs (nr__) ! (arcsec) Declination (J2000.0)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Photometric data
integer*4 nr__1
parameter (nr__1=32) ! Number of records
character*115 ar__1 ! Full-size record
character*8 IERS_1 (nr__1) ! IERS designation
character*1 c (nr__1) ! [CDO] Defining/Candidate/Other category
* of source
character*1 l_z (nr__1) ! Limit flag on z
real*4 z (nr__1) ! ? Redshift (1)
character*1 n_z (nr__1) ! [*] *: Redshift from Cat. <VII/235>
real*4 S6cm (nr__1) ! (Jy) ? Flux density at 6cm, from literature
character*1 n_S6cm (nr__1) ! [*] *: 6cm flux density from Cat. <VII/235>
real*4 alphaR (nr__1) ! ? Radio spectral index (1)
character*6 Type (nr__1) ! Object type (1)
real*4 BMAG (nr__1) ! (mag) ? Absolute B magnitude, from Cat. <VII/235>
real*4 Bmag_1 (nr__1) ! (mag) ? B magnitude, from USNO-B1, Cat. <I/284>
real*4 Vmag (nr__1) ! (mag) ? V magnitude, from literature (1)
character*1 n_Vmag (nr__1) ! [*] *: Vmag from Cat. <VII/235>
real*4 Rmag (nr__1) ! (mag) ? R magnitude, from USNO-B1, Cat. <I/284>
character*3 IntId (nr__1) ! Internal identification
* (p: photometry mode, a: astrometry mode)
real*8 MJD (nr__1) ! (d) Modified Julian date of the observation
real*4 Jmag (nr__1) ! (mag) Observed J magnitude
real*4 Hmag (nr__1) ! (mag) Observed H magnitude
real*4 Ksmag (nr__1) ! (mag) Observed Ks magnitude
real*4 JFlux (nr__1) ! (mJy) Observed J-band flux
real*4 HFlux (nr__1) ! (mJy) Observed H-band flux
real*4 KsFlux (nr__1) ! (mJy) Observed Ks-band flux
real*4 Sp_Index (nr__1) ! Near-IR spectral index
real*4 e_Sp_Index (nr__1) ! rms uncertainty on Sp+Index
*Note (1): Data from Archinal et al. (1997, in Definition and Realization
* of the International Celestial Reference System by VLBI Astrometry of
* Extragalactic Objects, IERS Tech. Note 23, Paris: Obs. Paris, ed. C.
* Ma, & M. Feissel, III 11), or from Veron-Cetty & Veron, 2003, Cat.
* <VII/235>, if *
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! *Astrometric data
integer*4 nr__2
parameter (nr__2=32) ! Number of records
character*53 ar__2 ! Full-size record
character*8 IERS_2 (nr__2) ! IERS quasar identification
real*8 MJD_1 (nr__2) ! (d) Modified Julian Date of the observation
integer*4 ORA_ (nr__2) ! (mas) Offset in RAcosDE, in the sense
* near-IR minus ICRF (1)
integer*4 e_ORA_ (nr__2) ! (mas) Precision of the observed near-IR position,
* in RAcosDE (2)
integer*4 ODE (nr__2) ! (mas) Offset in declination, in the sense
* near-IR minus ICRF (1)
integer*4 e_ODE (nr__2) ! (mas) Precision of the observed near-IR position,
* in declination (2)
integer*4 dRA_ (nr__2) ! (mas) Standard deviations of the positional measurements
* in the J, H, and Ks filters in RAcosDE
integer*4 dDE (nr__2) ! (mas) Standard deviations of the positional measurements
* in the J, H, and Ks filters in declination
integer*4 eRA_ (nr__2) ! (mas) Mean of the standard deviation, in RAcosDE (3)
integer*4 eDE (nr__2) ! (mas) Mean of the standard deviation, in declination (3)
integer*4 N (nr__2) ! Number of reference (UCAC2) stars used in the
* astrometric analysis of the observations made
* in the photometry mode
*Note (1): Positional differences from the astrometric analysis of the
* observations made in the photometry mode, in the sense near-IR minus
* ICRF, in right ascension and declination, respectively.
*Note (2): Precisions of the observed near-IR positions of the ICRF quasars,
* as derived from the astrometric analysis of the observations made in
* the photometry mode. These precisions are the combined errors from
* each of the photometric filters
*Note (3): Mean of the standard deviation, as obtained from each of the
* photometric filters, of the differences observed minus calculated to
* the reference (UCAC2) stars in the photometry mode at the epoch of the
* observations.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! *Astrometric data, Results in the F filter
integer*4 nr__3
parameter (nr__3=16) ! Number of records
character*76 ar__3 ! Full-size record
character*8 IERS_3 (nr__3) ! IERS quasar identification
real*8 MJD_2 (nr__3) ! (d) Modified Julian Date of the observation
integer*4 ORA_S (nr__3) ! (mas) Offset in RAcosDE, in the sense
* near-IR minus ICRF (1)
integer*4 e_ORA_S (nr__3) ! (mas) Precision of the observed near-IR position,
* in RAcosDE (2)
integer*4 ODES (nr__3) ! (mas) Offset in declination, in the sense
* near-IR minus ICRF (1)
integer*4 e_ODES (nr__3) ! (mas) Precision of the observed near-IR position,
* in declination (2)
integer*4 NS (nr__3) ! Number of reference (UCAC2) stars used in the
* astrometric analysis of the single central image
integer*4 ORA_M (nr__3) ! (mas) Offset in RAcosDE, in the sense
* near-IR minus ICRF (3)
integer*4 e_ORA_M (nr__3) ! (mas) Precision of the observed near-IR position,
* in RAcosDE (4)
integer*4 ODEM (nr__3) ! (mas) Offset in declination, in the sense
* near-IR minus ICRF (3)
integer*4 e_ODEM (nr__3) ! (mas) Precision of the observed near-IR position,
* in declination (4)
integer*4 NM (nr__3) ! Number of reference (UCAC2) stars used in
* the astrometry mode
integer*4 cRA_ (nr__3) ! (mas) Internal precision as obtained from the positions
* of stars in overlapping regions, in RAcosDE
integer*4 cDE_ (nr__3) ! (mas) Internal precision as obtained from the positions
* of stars in overlapping regions, in declination
integer*4 RA__1 (nr__3) ! (mas) rms of the differences observed minus calculated,
* in RAcosDE (5)
integer*4 DE (nr__3) ! (mas) rms of the differences observed minus calculated,
* in declination (5)
real*4 rRA (nr__3) ! Ratio between the values and the respective
* nominal for right ascension
real*4 rDE (nr__3) ! Ratio between the values and the respective
* nominal for declination
*Note (1): Positional differences from the astrometric analysis of the
* single central image, in the sense near- IR minus ICRF.
*Note (2): Precisions from the astrometric analysis of the single central
* image, of the observed near-IR positions of the ICRF quasars.
*Note (3): Positional differences from the reduction in astrometry mode,
* in the sense near-IR minus ICRF.
*Note (4): Precisions of the observed near-IR positions in the astrometry
* mode of the ICRF quasars.
*Note (5): rms of the differences observed minus calculated to the reference
* (UCAC2) stars in the astrometry mode at the epoch of the observations
C=============================================================================
C Loading file 'position.dat' ! Positions, from Ma et al., Cat. <I/251>
C Format for file interpretation
1 format(A8,6X,A16,3X,I2,1X,I2,1X,F9.6,2X,A1,I2,1X,I2,1X,F8.5)
C Effective file loading
open(unit=1,file='position.dat', status='old')
write(6,*) '....Loading file: position.dat'
do i__=1,30
read(1,'(A65)')ar__
read(ar__,1)
+ IERS(i__),ICRF(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),
+ DEd(i__),DEm(i__),DEs(i__)
c Derive coordinates RA_ and Dec from input data
c (RA_ and Dec are set to rNULL_ when unknown)
RA_(i__) = RAh(i__)
if(RAh(i__) .GE. 0) RA_(i__)=RAh(i__)*15.
if(RAm(i__) .GE. 0) RA_(i__)=RA_(i__)+RAm(i__)/4.
if(RAs(i__) .GE. 0) RA_(i__)=RA_(i__)+RAs(i__)/240.
Dec(i__) = DEd(i__)
if(DEm(i__) .GE. 0) Dec(i__)=Dec(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) Dec(i__)=Dec(i__)+DEs(i__)/3600.
if(DE_(i__).EQ.'-'.AND.Dec(i__).GE.0) Dec(i__)=-Dec(i__)
c ..............Just test output...........
write(6,1)
+ IERS(i__),ICRF(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),
+ DEd(i__),DEm(i__),DEs(i__)
write(6,'(6H Pos: 2F8.4)') RA_(i__),Dec(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Photometric data
C Format for file interpretation
2 format(
+ A8,1X,A1,1X,A1,F5.3,A1,F4.2,A1,F4.1,1X,A6,1X,F5.1,1X,F5.2,1X,
+ F4.1,A1,F4.1,1X,A3,1X,F8.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.2,1X,
+ F5.2,1X,F5.2,1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,file='table2.dat', status='old')
write(6,*) '....Loading file: table2.dat'
do i__=1,32
read(1,'(A115)')ar__1
read(ar__1,2)
+ IERS_1(i__),c(i__),l_z(i__),z(i__),n_z(i__),S6cm(i__),
+ n_S6cm(i__),alphaR(i__),Type(i__),BMAG(i__),Bmag_1(i__),
+ Vmag(i__),n_Vmag(i__),Rmag(i__),IntId(i__),MJD(i__),Jmag(i__),
+ Hmag(i__),Ksmag(i__),JFlux(i__),HFlux(i__),KsFlux(i__),
+ Sp_Index(i__),e_Sp_Index(i__)
if(ar__1(13:17) .EQ. '') z(i__) = rNULL__
if(ar__1(19:22) .EQ. '') S6cm(i__) = rNULL__
if(ar__1(24:27) .EQ. '') alphaR(i__) = rNULL__
if(ar__1(36:40) .EQ. '') BMAG(i__) = rNULL__
if(ar__1(42:46) .EQ. '') Bmag_1(i__) = rNULL__
if(ar__1(48:51) .EQ. '') Vmag(i__) = rNULL__
if(ar__1(53:56) .EQ. '') Rmag(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ IERS_1(i__),c(i__),l_z(i__),z(i__),n_z(i__),S6cm(i__),
+ n_S6cm(i__),alphaR(i__),Type(i__),BMAG(i__),Bmag_1(i__),
+ Vmag(i__),n_Vmag(i__),Rmag(i__),IntId(i__),MJD(i__),Jmag(i__),
+ Hmag(i__),Ksmag(i__),JFlux(i__),HFlux(i__),KsFlux(i__),
+ Sp_Index(i__),e_Sp_Index(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! *Astrometric data
C Format for file interpretation
3 format(
+ A8,1X,F8.2,1X,I4,1X,I3,1X,I4,1X,I3,1X,I2,1X,I2,1X,I3,1X,I3,1X,
+ I2)
C Effective file loading
open(unit=1,file='table3.dat', status='old')
write(6,*) '....Loading file: table3.dat'
do i__=1,32
read(1,'(A53)')ar__2
read(ar__2,3)
+ IERS_2(i__),MJD_1(i__),ORA_(i__),e_ORA_(i__),ODE(i__),
+ e_ODE(i__),dRA_(i__),dDE(i__),eRA_(i__),eDE(i__),N(i__)
c ..............Just test output...........
write(6,3)
+ IERS_2(i__),MJD_1(i__),ORA_(i__),e_ORA_(i__),ODE(i__),
+ e_ODE(i__),dRA_(i__),dDE(i__),eRA_(i__),eDE(i__),N(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! *Astrometric data, Results in the F filter
C Format for file interpretation
4 format(
+ A8,1X,F8.2,1X,I4,1X,I2,1X,I3,1X,I2,1X,I2,2X,I3,1X,I2,1X,I3,1X,
+ I2,1X,I3,1X,I2,1X,I2,1X,I2,1X,I2,1X,F4.2,1X,F4.2)
C Effective file loading
open(unit=1,file='table4.dat', status='old')
write(6,*) '....Loading file: table4.dat'
do i__=1,16
read(1,'(A76)')ar__3
read(ar__3,4)
+ IERS_3(i__),MJD_2(i__),ORA_S(i__),e_ORA_S(i__),ODES(i__),
+ e_ODES(i__),NS(i__),ORA_M(i__),e_ORA_M(i__),ODEM(i__),
+ e_ODEM(i__),NM(i__),cRA_(i__),cDE_(i__),RA__1(i__),DE(i__),
+ rRA(i__),rDE(i__)
c ..............Just test output...........
write(6,4)
+ IERS_3(i__),MJD_2(i__),ORA_S(i__),e_ORA_S(i__),ODES(i__),
+ e_ODES(i__),NS(i__),ORA_M(i__),e_ORA_M(i__),ODEM(i__),
+ e_ODEM(i__),NM(i__),cRA_(i__),cDE_(i__),RA__1(i__),DE(i__),
+ rRA(i__),rDE(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end