Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/118/2839 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-Apr-20 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/AJ/118/2839 BV photometry of NGC 1866 (Testa+, 1999) *================================================================================ *The Large Magellanic Cloud globular cluster NGC 1866: *new data, new models, new analysis. * Testa V., Ferraro F.R., Chieffi A., Straniero O., Limongi M., Fusi Pecci F. * <Astron. J. 118, 2839 (1999)> * =1999AJ....118.2839T C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Photometry of cluster frame integer*4 nr__ parameter (nr__=12680) ! Number of records character*51 ar__ ! Full-size record integer*4 TFC (nr__) ! Identification number (1) real*8 Xpos (nr__) ! (pix) X position (2) real*8 Ypos (nr__) ! (pix) Y position (2) 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 *Note (1): Table 2: <Cl* NGC 1866 TFC ANNNNN> in Simbad * Table 3: <Cl* NGC 1866 TFC BNNNN> in Simbad *Note (2): The cluster center is located at pixel (520, 520). * North is up and East is right. 1 pix = 0.363". c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Photometry of field frame integer*4 nr__1 parameter (nr__1=3044) ! Number of records character*51 ar__1 ! Full-size record integer*4 TFC_1 (nr__1) ! Identification number (1) real*8 Xpos_1 (nr__1) ! (pix) X position (2) real*8 Ypos_1 (nr__1) ! (pix) Y position (2) 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 *Note (1): Table 2: <Cl* NGC 1866 TFC ANNNNN> in Simbad * Table 3: <Cl* NGC 1866 TFC BNNNN> in Simbad *Note (2): The cluster center is located at pixel (520, 520). * North is up and East is right. 1 pix = 0.363". C============================================================================= C Loading file 'table2.dat' ! Photometry of cluster frame C Format for file interpretation 1 format(I5,1X,F8.3,1X,F8.3,1X,F6.3,2X,F5.3,1X,F6.3,2X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,12680 read(1,'(A51)')ar__ read(ar__,1) + TFC(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),B_V(i__), + e_B_V(i__) c ..............Just test output........... write(6,1) + TFC(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),B_V(i__), + e_B_V(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Photometry of field frame C Format for file interpretation 2 format(I5,1X,F8.3,1X,F8.3,1X,F6.3,2X,F5.3,1X,F6.3,2X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,3044 read(1,'(A51)')ar__1 read(ar__1,2) + TFC_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),e_Vmag_1(i__), + B_V_1(i__),e_B_V_1(i__) c ..............Just test output........... write(6,2) + TFC_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),e_Vmag_1(i__), + B_V_1(i__),e_B_V_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end