Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/362/215 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-09
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+A/362/215 IJKs photometry of Galactic bulge variables (Schultheis+, 2000)
*================================================================================
*DENIS and ISOGAL properties of variable star candidates in the Galactic Bulge
* Schultheis M., Ganesh S., Glass I.S., Omont A., Ortiz R., Simon G.,
* van Loon J., Alard C., Blommaert J.A.D.L., Borsenberger J., Fouque P.,
* Habing H.J.
* <Astron. Astrophys. 362, 215 (2000)>
* =2000A&A...362..215S
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2a.dat' ! Variable stars in J and K_s_
integer*4 nr__
parameter (nr__=721) ! Number of records
character*101 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg (Epoch=J2000)
integer*4 Seq (nr__) ! Sequential number
real*8 RAdeg (nr__) ! (deg) Right ascension at the epoch J2000
real*8 DEdeg (nr__) ! (deg) Declination at the epoch J2000
real*8 GLON (nr__) ! (deg) [-3.5/1.3] Galactic longitude
real*8 GLAT (nr__) ! (deg) [-1/1.3] Galactic latitude
real*8 Imag (nr__) ! (mag) ?=0 DENIS I magnitude observed in summer 1996
real*8 Jmag (nr__) ! (mag) ?=0 DENIS J magnitude observed in summer 1996
real*8 Ksmag (nr__) ! (mag) ?=0 DENIS K_s_ magnitude observed in summer 1996
real*8 DJmag (nr__) ! (mag) Difference in J magnitude (1996-1998)
real*8 DKsmag (nr__) ! (mag) Difference in K magnitude (1996-1998)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2b.dat' ! Variable stars in K_s_
integer*4 nr__1
parameter (nr__1=271) ! Number of records
character*101 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg (Epoch=J2000)
integer*4 Seq_1 (nr__1) ! Sequential number
real*8 RAdeg_1 (nr__1) ! (deg) Right ascension at the epoch J2000
real*8 DEdeg_1 (nr__1) ! (deg) Declination at the epoch J2000
real*8 GLON_1 (nr__1) ! (deg) [-3.5/1.3] Galactic longitude
real*8 GLAT_1 (nr__1) ! (deg) [-1/1.3] Galactic latitude
real*8 Imag_1 (nr__1) ! (mag) ?=0 DENIS I magnitude observed in summer 1996
real*8 Jmag_1 (nr__1) ! (mag) ?=0 DENIS J magnitude observed in summer 1996
real*8 Ksmag_1 (nr__1) ! (mag) ?=0 DENIS K_s_ magnitude observed in summer 1996
real*8 DJmag_1 (nr__1) ! (mag) Difference in J magnitude (1996-1998)
real*8 DKsmag_1 (nr__1) ! (mag) Difference in K magnitude (1996-1998)
C=============================================================================
C Loading file 'table2a.dat' ! Variable stars in J and K_s_
C Format for file interpretation
1 format(
+ I6,1X,F12.8,1X,F12.8,1X,F9.6,1X,F9.6,1X,F9.6,1X,F9.6,1X,F8.6,
+ 1X,F9.6,1X,F9.6)
C Effective file loading
open(unit=1,status='old',file=
+'table2a.dat')
write(6,*) '....Loading file: table2a.dat'
do i__=1,721
read(1,'(A101)')ar__
read(ar__,1)
+ Seq(i__),RAdeg(i__),DEdeg(i__),GLON(i__),GLAT(i__),Imag(i__),
+ Jmag(i__),Ksmag(i__),DJmag(i__),DKsmag(i__)
c ..............Just test output...........
write(6,1)
+ Seq(i__),RAdeg(i__),DEdeg(i__),GLON(i__),GLAT(i__),Imag(i__),
+ Jmag(i__),Ksmag(i__),DJmag(i__),DKsmag(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2b.dat' ! Variable stars in K_s_
C Format for file interpretation
2 format(
+ I6,1X,F12.8,1X,F12.8,1X,F9.6,1X,F9.6,1X,F9.6,1X,F9.6,1X,F8.6,
+ 1X,F9.6,1X,F9.6)
C Effective file loading
open(unit=1,status='old',file=
+'table2b.dat')
write(6,*) '....Loading file: table2b.dat'
do i__=1,271
read(1,'(A101)')ar__1
read(ar__1,2)
+ Seq_1(i__),RAdeg_1(i__),DEdeg_1(i__),GLON_1(i__),GLAT_1(i__),
+ Imag_1(i__),Jmag_1(i__),Ksmag_1(i__),DJmag_1(i__),
+ DKsmag_1(i__)
c ..............Just test output...........
write(6,2)
+ Seq_1(i__),RAdeg_1(i__),DEdeg_1(i__),GLON_1(i__),GLAT_1(i__),
+ Imag_1(i__),Jmag_1(i__),Ksmag_1(i__),DJmag_1(i__),
+ DKsmag_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end