Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/850/96 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 2024-Mar-29 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/850/96 PS1 3{pi} RRab stars within the Sgr stream (Hernitschek+, 2017) *================================================================================ *The geometry of the Sagittarius stream from Pan-STARRS1 3{pi} RR Lyrae. * Hernitschek N., Sesar B., Rix H.-W., Belokurov V., Martinez-Delgado D., * Martin N.F., Kaiser N., Hodapp K., Chambers K.C., Wainscoat R., Magnier E., * Kudritzki R.-P., Metcalfe N., Draper P.W. * <Astrophys. J., 850, 96 (2017)> * =2017ApJ...850...96H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! PS1 RRab stars with |B_{sun}_| < -9 degrees integer*4 nr__ parameter (nr__=15050) ! Number of records character*57 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg real*8 RAdeg ! (deg) Right Ascension in decimal degrees (J2000) real*8 DEdeg ! (deg) [-31.1/39.3] Declination in decimal degrees (J2000) real*4 score ! [0.8/1] Final RRab classification score (>=0.8) real*4 DM ! (mag) [10.9/20.7] Distance modulus (1) real*8 Per ! (d) [0.4/0.9] Period real*8 phi ! (d) Phase offset (2) real*4 rAmp ! (mag) [0.1/1.6] PS1 r-band light curve amplitude *Note (1): The uncertainty in distance modulus is 0.06(rnd){+/-}0.03(sys) mag. *Note (2): See Equation 2 of Sesar+ (2017, J/AJ/153/204). C============================================================================= C Loading file 'table1.dat' ! PS1 RRab stars with |B_{sun}_| < -9 degrees C Format for file interpretation 1 format(F9.5,1X,F9.5,1X,F4.2,1X,F5.2,1X,F12.10,1X,F8.5,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,15050 read(1,'(A57)')ar__ read(ar__,1)RAdeg,DEdeg,score,DM,Per,phi,rAmp c ..............Just test output........... write(6,1)RAdeg,DEdeg,score,DM,Per,phi,rAmp c .......End.of.Just test output........... end do close(1) C============================================================================= stop end