Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/388/179 into FORTRAN code for reading data files line by line.
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 ! Star number
real*8 Xpos ! (pix) X coordinates (1)
real*8 Ypos ! (pix) Y coordinates (1)
real*4 Vmag ! (mag) V magnitude
real*4 e_Vmag ! (mag) rms uncertainty on Vmag
real*4 B_V ! (mag) B-V colour index
real*4 e_B_V ! (mag) rms uncertainty on B-V
real*4 V_I ! (mag) V-I colour index
real*4 e_V_I ! (mag) rms uncertainty on V-I
integer*4 o_Vmag ! 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 ! Star number
real*8 Xpos_1 ! (pix) X coordinates (1)
real*8 Ypos_1 ! (pix) Y coordinates (1)
real*4 Vmag_1 ! (mag) V magnitude
real*4 e_Vmag_1 ! (mag) rms uncertainty on Vmag
real*4 B_V_1 ! (mag) B-V colour index
real*4 e_B_V_1 ! (mag) rms uncertainty on B-V
real*4 V_I_1 ! (mag) V-I colour index
real*4 e_V_I_1 ! (mag) rms uncertainty on V-I
integer*4 o_Vmag_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,Xpos,Ypos,Vmag,e_Vmag,B_V,e_B_V,V_I,e_V_I,o_Vmag
c ..............Just test output...........
write(6,1)
+ Seq,Xpos,Ypos,Vmag,e_Vmag,B_V,e_B_V,V_I,e_V_I,o_Vmag
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,Xpos_1,Ypos_1,Vmag_1,e_Vmag_1,B_V_1,e_B_V_1,V_I_1,
+ e_V_I_1,o_Vmag_1
c ..............Just test output...........
write(6,2)
+ Seq_1,Xpos_1,Ypos_1,Vmag_1,e_Vmag_1,B_V_1,e_B_V_1,V_I_1,
+ e_V_I_1,o_Vmag_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end