Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/562/303 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 2024-Mar-28 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/ApJ/562/303 Old Stellar Populations of the SMC (Dolphin+ 2001) *================================================================================ *Old Stellar Populations of the Small Magellanic Cloud * Dolphin A.E., Walker A.R., Hodge P.W., Mateo M., Olszewski E.W., * Schommer R.A., Suntzeff N.B. * <Astrophys. J. 562, 303 (2001)> * =2001ApJ...562..303D C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'field1.dat' ! SMC-004600-703500 photometry integer*4 nr__ parameter (nr__=952) ! Number of records character*41 ar__ ! Full-size record character*1 Chip (nr__) ! WFPC2 chip number; 1=PC1, 2=WFC2, etc. real*4 X (nr__) ! (pix) *X position real*4 Y (nr__) ! (pix) *Y position real*4 Vmag (nr__) ! (mag) V magnitude in HST F555W filter real*4 e_Vmag (nr__) ! (mag) V uncertainty real*4 Imag (nr__) ! (mag) I magnitude in HST F814W filter real*4 e_Imag (nr__) ! (mag) I uncertainty *Note on X and Y: Positions are given in the HSTphot system; (0.5,0.5) refers * to the center of the lower-left pixel. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'field2.dat' ! SMC-004900-704800 photometry integer*4 nr__1 parameter (nr__1=1180) ! Number of records character*41 ar__1 ! Full-size record character*1 Chip_1 (nr__1) ! WFPC2 chip number; 1=PC1, 2=WFC2, etc. real*4 X_1 (nr__1) ! (pix) *X position real*4 Y_1 (nr__1) ! (pix) *Y position real*4 Vmag_1 (nr__1) ! (mag) V magnitude in HST F555W filter real*4 e_Vmag_1 (nr__1) ! (mag) V uncertainty real*4 Imag_1 (nr__1) ! (mag) I magnitude in HST F814W filter real*4 e_Imag_1 (nr__1) ! (mag) I uncertainty *Note on X and Y: Positions are given in the HSTphot system; (0.5,0.5) refers * to the center of the lower-left pixel. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'field3.dat' ! SMC-004612-704700 photometry integer*4 nr__2 parameter (nr__2=1039) ! Number of records character*41 ar__2 ! Full-size record character*1 Chip_2 (nr__2) ! WFPC2 chip number; 1=PC1, 2=WFC2, etc. real*4 X_2 (nr__2) ! (pix) *X position real*4 Y_2 (nr__2) ! (pix) *Y position real*4 Vmag_2 (nr__2) ! (mag) V magnitude in HST F555W filter real*4 e_Vmag_2 (nr__2) ! (mag) V uncertainty real*4 Imag_2 (nr__2) ! (mag) I magnitude in HST F814W filter real*4 e_Imag_2 (nr__2) ! (mag) I uncertainty *Note on X and Y: Positions are given in the HSTphot system; (0.5,0.5) refers * to the center of the lower-left pixel. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'field4.dat' ! SMC-004900-703300 photometry integer*4 nr__3 parameter (nr__3=970) ! Number of records character*41 ar__3 ! Full-size record character*1 Chip_3 (nr__3) ! WFPC2 chip number; 1=PC1, 2=WFC2, etc. real*4 X_3 (nr__3) ! (pix) *X position real*4 Y_3 (nr__3) ! (pix) *Y position real*4 Vmag_3 (nr__3) ! (mag) V magnitude in HST F555W filter real*4 e_Vmag_3 (nr__3) ! (mag) V uncertainty real*4 Imag_3 (nr__3) ! (mag) I magnitude in HST F814W filter real*4 e_Imag_3 (nr__3) ! (mag) I uncertainty *Note on X and Y: Positions are given in the HSTphot system; (0.5,0.5) refers * to the center of the lower-left pixel. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'ground.dat' ! Ground-based photometry integer*4 nr__4 parameter (nr__4=16110) ! Number of records character*41 ar__4 ! Full-size record real*8 X_4 (nr__4) ! (pix) *X position real*8 Y_4 (nr__4) ! (pix) *Y position real*4 Vmag_4 (nr__4) ! (mag) V magnitude real*4 V_I (nr__4) ! (mag) V-I color real*4 e_Vmag_4 (nr__4) ! (mag) V uncertainty real*4 e_V_I (nr__4) ! (mag) V-I uncertainty *Note on X and Y: Positions are given in the DAOPHOT system; (1.0,1.0) refers * to the center of the lower-left pixel. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'ngc121.dat' ! NGC121 photometry integer*4 nr__5 parameter (nr__5=16710) ! Number of records character*41 ar__5 ! Full-size record character*1 Chip_4 (nr__5) ! WFPC2 chip number; 1=PC1, 2=WFC2, etc. real*4 X_5 (nr__5) ! (pix) *X position real*4 Y_5 (nr__5) ! (pix) *Y position real*4 Vmag_5 (nr__5) ! (mag) V magnitude in HST F555W filter real*4 e_Vmag_5 (nr__5) ! (mag) V uncertainty real*4 Imag_4 (nr__5) ! (mag) I magnitude in HST F814W filter real*4 e_Imag_4 (nr__5) ! (mag) I uncertainty *Note on X and Y: Positions are given in the HSTphot system; (0.5,0.5) refers * to the center of the lower-left pixel. C============================================================================= C Loading file 'field1.dat' ! SMC-004600-703500 photometry C Format for file interpretation 1 format(A1,1X,F6.2,1X,F6.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'field1.dat') write(6,*) '....Loading file: field1.dat' do i__=1,952 read(1,'(A41)')ar__ read(ar__,1) + Chip(i__),X(i__),Y(i__),Vmag(i__),e_Vmag(i__),Imag(i__), + e_Imag(i__) c ..............Just test output........... write(6,1) + Chip(i__),X(i__),Y(i__),Vmag(i__),e_Vmag(i__),Imag(i__), + e_Imag(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'field2.dat' ! SMC-004900-704800 photometry C Format for file interpretation 2 format(A1,1X,F6.2,1X,F6.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'field2.dat') write(6,*) '....Loading file: field2.dat' do i__=1,1180 read(1,'(A41)')ar__1 read(ar__1,2) + Chip_1(i__),X_1(i__),Y_1(i__),Vmag_1(i__),e_Vmag_1(i__), + Imag_1(i__),e_Imag_1(i__) c ..............Just test output........... write(6,2) + Chip_1(i__),X_1(i__),Y_1(i__),Vmag_1(i__),e_Vmag_1(i__), + Imag_1(i__),e_Imag_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'field3.dat' ! SMC-004612-704700 photometry C Format for file interpretation 3 format(A1,1X,F6.2,1X,F6.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'field3.dat') write(6,*) '....Loading file: field3.dat' do i__=1,1039 read(1,'(A41)')ar__2 read(ar__2,3) + Chip_2(i__),X_2(i__),Y_2(i__),Vmag_2(i__),e_Vmag_2(i__), + Imag_2(i__),e_Imag_2(i__) c ..............Just test output........... write(6,3) + Chip_2(i__),X_2(i__),Y_2(i__),Vmag_2(i__),e_Vmag_2(i__), + Imag_2(i__),e_Imag_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'field4.dat' ! SMC-004900-703300 photometry C Format for file interpretation 4 format(A1,1X,F6.2,1X,F6.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'field4.dat') write(6,*) '....Loading file: field4.dat' do i__=1,970 read(1,'(A41)')ar__3 read(ar__3,4) + Chip_3(i__),X_3(i__),Y_3(i__),Vmag_3(i__),e_Vmag_3(i__), + Imag_3(i__),e_Imag_3(i__) c ..............Just test output........... write(6,4) + Chip_3(i__),X_3(i__),Y_3(i__),Vmag_3(i__),e_Vmag_3(i__), + Imag_3(i__),e_Imag_3(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'ground.dat' ! Ground-based photometry C Format for file interpretation 5 format(F7.2,1X,F7.2,1X,F6.3,1X,F6.3,1X,F5.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'ground.dat') write(6,*) '....Loading file: ground.dat' do i__=1,16110 read(1,'(A41)')ar__4 read(ar__4,5) + X_4(i__),Y_4(i__),Vmag_4(i__),V_I(i__),e_Vmag_4(i__), + e_V_I(i__) c ..............Just test output........... write(6,5) + X_4(i__),Y_4(i__),Vmag_4(i__),V_I(i__),e_Vmag_4(i__), + e_V_I(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'ngc121.dat' ! NGC121 photometry C Format for file interpretation 6 format(A1,1X,F6.2,1X,F6.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'ngc121.dat') write(6,*) '....Loading file: ngc121.dat' do i__=1,16710 read(1,'(A41)')ar__5 read(ar__5,6) + Chip_4(i__),X_5(i__),Y_5(i__),Vmag_5(i__),e_Vmag_5(i__), + Imag_4(i__),e_Imag_4(i__) c ..............Just test output........... write(6,6) + Chip_4(i__),X_5(i__),Y_5(i__),Vmag_5(i__),e_Vmag_5(i__), + Imag_4(i__),e_Imag_4(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end