Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/388/179 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-11
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/388/179 BVI photometry of two open clusters (Piatti+, 2002)
*================================================================================
*Two highly reddened young open clusters located beyond the Sagittarius arm
* Piatti A.E., Claria J.J.
* <Astron. Astrophys. 388, 179 (2002)>
* =2002A&A...388..179P
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Magnitudes and colours of stars in the field of
Pismis 23
integer*4 nr__
parameter (nr__=627) ! Number of records
character*60 ar__ ! Full-size record
integer*4 Seq (nr__) ! Star number
real*8 Xpos (nr__) ! (pix) X coordinates (1)
real*8 Ypos (nr__) ! (pix) Y coordinates (1)
real*4 Vmag (nr__) ! (mag) V magnitude
real*4 e_Vmag (nr__) ! (mag) rms uncertainty on Vmag
real*4 B_V (nr__) ! (mag) B-V colour index
real*4 e_B_V (nr__) ! (mag) rms uncertainty on B-V
real*4 V_I (nr__) ! (mag) V-I colour index
real*4 e_V_I (nr__) ! (mag) rms uncertainty on V-I
integer*4 o_Vmag (nr__) ! Number of measurements
*Note (1): North is increasing "X" coords and the East decreasing "Y" coords.
* The origin of the coordinate system is (0,0) and
* the pizel size is 0.45 arcsec/pix.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Magnitudes and colours of stars in the field of
BH 222
integer*4 nr__1
parameter (nr__1=301) ! Number of records
character*60 ar__1 ! Full-size record
integer*4 Seq_1 (nr__1) ! Star number
real*8 Xpos_1 (nr__1) ! (pix) X coordinates (1)
real*8 Ypos_1 (nr__1) ! (pix) Y coordinates (1)
real*4 Vmag_1 (nr__1) ! (mag) V magnitude
real*4 e_Vmag_1 (nr__1) ! (mag) rms uncertainty on Vmag
real*4 B_V_1 (nr__1) ! (mag) B-V colour index
real*4 e_B_V_1 (nr__1) ! (mag) rms uncertainty on B-V
real*4 V_I_1 (nr__1) ! (mag) V-I colour index
real*4 e_V_I_1 (nr__1) ! (mag) rms uncertainty on V-I
integer*4 o_Vmag_1 (nr__1) ! Number of measurements
*Note (1): North is increasing "X" coords and the East decreasing "Y" coords.
* The origin of the coordinate system is (0,0) and
* the pizel size is 0.45 arcsec/pix.
C=============================================================================
C Loading file 'table2.dat' ! Magnitudes and colours of stars in the field of
* Pismis 23
C Format for file interpretation
1 format(
+ I3,1X,F7.3,1X,F7.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
+ F5.3,1X,I1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,627
read(1,'(A60)')ar__
read(ar__,1)
+ Seq(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),B_V(i__),
+ e_B_V(i__),V_I(i__),e_V_I(i__),o_Vmag(i__)
c ..............Just test output...........
write(6,1)
+ Seq(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),B_V(i__),
+ e_B_V(i__),V_I(i__),e_V_I(i__),o_Vmag(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Magnitudes and colours of stars in the field of
* BH 222
C Format for file interpretation
2 format(
+ I3,1X,F7.3,1X,F7.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
+ F5.3,1X,I1)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,301
read(1,'(A60)')ar__1
read(ar__1,2)
+ Seq_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),e_Vmag_1(i__),
+ B_V_1(i__),e_B_V_1(i__),V_I_1(i__),e_V_I_1(i__),o_Vmag_1(i__)
c ..............Just test output...........
write(6,2)
+ Seq_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),e_Vmag_1(i__),
+ B_V_1(i__),e_B_V_1(i__),V_I_1(i__),e_V_I_1(i__),o_Vmag_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end