Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/423/755 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/A+A/423/755 Color-Induced Displacement double stars in SDSS (Pourbaix+, 2004) *================================================================================ *Color-Induced Displacement double stars in SDSS. * Pourbaix D., Ivezic Z., Knapp G.R., Gunn J.E., Lupton R.H. * <Astron. Astrophys. 423, 755 (2004)> * =2004A&A...423..755P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Objects from SDSS Data Release 2 that exhibit a displacement of the photocenter between that measured in the u and z bands. integer*4 nr__ parameter (nr__=346) ! Number of records character*213 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg real*8 RAdeg (nr__) ! (deg) Right ascension (in decimal degree) (J2000) real*8 DEdeg (nr__) ! (deg) Declination (in decimal degree) (J2000) real*8 umag (nr__) ! (mag) u magnitude real*8 gmag (nr__) ! (mag) g magnitude real*8 rmag (nr__) ! (mag) r magnitude real*8 imag (nr__) ! (mag) i magnitude real*8 zmag (nr__) ! (mag) z magnitude real*8 e_umag (nr__) ! (mag) Uncertainty on the u magnitude real*8 e_gmag (nr__) ! (mag) Uncertainty on the g magnitude real*8 e_rmag (nr__) ! (mag) Uncertainty on the r magnitude real*8 e_imag (nr__) ! (mag) Uncertainty on the i magnitude real*8 e_zmag (nr__) ! (mag) Uncertainty on the z magnitude real*8 oRAu (nr__) ! (arcsec) Offset in right ascension in the u band real*8 oRAg (nr__) ! (arcsec) Offset in right ascension in the g band real*8 oRAi (nr__) ! (arcsec) Offset in right ascension in the i band real*8 oRAz (nr__) ! (arcsec) Offset in right ascension in the z band real*8 oDEu (nr__) ! (arcsec) Offset in declination in the u band real*8 oDEg (nr__) ! (arcsec) Offset in declination in the g band real*8 oDEi (nr__) ! (arcsec) Offset in declination in the i band real*8 oDEz (nr__) ! (arcsec) Offset in declination in the z band C============================================================================= C Loading file 'table1.dat' ! Objects from SDSS Data Release 2 that exhibit a * displacement of the photocenter between that * measured in the u and z bands. C Format for file interpretation 1 format( + F16.12,1X,F16.12,1X,F8.5,1X,F8.5,1X,F8.5,1X,F8.5,1X,F8.5,1X, + F10.8,1X,F10.8,1X,F10.8,1X,F10.8,1X,F10.8,1X,F9.6,1X,F9.6,1X, + F9.6,1X,F9.6,1X,F9.6,1X,F9.6,1X,F9.6,1X,F9.6) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,346 read(1,'(A213)')ar__ read(ar__,1) + RAdeg(i__),DEdeg(i__),umag(i__),gmag(i__),rmag(i__),imag(i__), + zmag(i__),e_umag(i__),e_gmag(i__),e_rmag(i__),e_imag(i__), + e_zmag(i__),oRAu(i__),oRAg(i__),oRAi(i__),oRAz(i__),oDEu(i__), + oDEg(i__),oDEi(i__),oDEz(i__) c ..............Just test output........... write(6,1) + RAdeg(i__),DEdeg(i__),umag(i__),gmag(i__),rmag(i__),imag(i__), + zmag(i__),e_umag(i__),e_gmag(i__),e_rmag(i__),e_imag(i__), + e_zmag(i__),oRAu(i__),oRAg(i__),oRAi(i__),oRAz(i__),oDEu(i__), + oDEg(i__),oDEi(i__),oDEz(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end