Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/97/1360 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-19 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/97/1360 BV photometry of Palomar 12 (Stetson+ 1989) *================================================================================ *CCD photometry of the anomalous globular cluster Palomar 12 * Stetson P.B., Vandenberg D.A., Bolte M., Hesser J.E., Smith G.H. * <Astron. J. 97, 1360 (1989)> * =1989AJ.....97.1360S (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3' ! Photometry for stars in Pal 12. integer*4 nr__ parameter (nr__=1154) ! Number of records character*82 ar__ ! Full-size record integer*4 ID (nr__) ! Star number (1) real*4 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 integer*4 o_Vmag (nr__) ! Number of observation in Vmag (3) integer*4 o_Bmag (nr__) ! Number of observation in Bmag (3) real*4 v_Chi_ (nr__) ! Mean of the goodness of fit index real*4 v_r0_ (nr__) ! (pix) Mean of the image radius index (4) *Note (1): ID < 5000: stars measured by Harris et Canterna (1980ApJ...239..815H) * ID > 5000: Object not measured by Harris et Canterna (1980) *Note (2): X increasing from South to North, Y increasing from West to East * 1 pix = 0.20" *Note (3): Total number of frames in each pass-band in which the star * was measurable. *Note (4): Positive when an object appears to be more extended than the * model stellar profile for the frame * Negative when the detection appears sharper than a star image C============================================================================= C Loading file 'table3' ! Photometry for stars in Pal 12. C Format for file interpretation 1 format( + I4,1X,F6.2,1X,F7.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,I2,1X, + I2,1X,F4.2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'table3') write(6,*) '....Loading file: table3' do i__=1,1154 read(1,'(A82)')ar__ read(ar__,1) + ID(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),B_V(i__), + e_B_V(i__),o_Vmag(i__),o_Bmag(i__),v_Chi_(i__),v_r0_(i__) c ..............Just test output........... write(6,1) + ID(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),B_V(i__), + e_B_V(i__),o_Vmag(i__),o_Bmag(i__),v_Chi_(i__),v_r0_(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end