Conversion of standardized ReadMe file for
file /./ftp/cats/I/344 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-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. I/344 The URAT Parallax Catalog (UPC). Update 2018 (Finch+, 2018) *================================================================================ *The URAT Parallax Catalog (UPC). Update 2018 * Finch C.T., Zacharias N., Jao W.-c. * <URAT Parallax Catalog (UPC). Update 2018> * <Astron. J., 155, 176 (2018)> * =2018yCat.1344....0F * =2018AJ....155..176F C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'upcn.dat' ! URAT Parallax Catalog north (table 6) integer*4 nr__ parameter (nr__=729) ! Number of records character*170 ar__ ! Full-size record C Position composed of: RAdeg DEdeg (Epoch=2015.5) character*24 Name ! Designation of object real*8 RAdeg ! (deg) Right Ascension (ICRS) at epoch 2015.5 real*8 DEdeg ! (deg) Declination (ICRS) at epoch 2015.5 real*4 Umag ! (mag) URAT bandpass apparent magnitude character*2 SpType ! Estimated spectral type real*4 EpSpan ! (yr) Total epoch span of observations integer*4 Obs ! Total number of observations integer*4 Rej ! Number of observations rejected real*4 plx ! (mas) Absolute parallax real*4 e_plx ! (mas) Formal standard error of parallax real*4 plxcor ! (mas) Parallax correction (absolute - relative) real*8 pmRA ! (mas/yr) Proper motion along RA * cos(Dec) real*4 e_pmRA ! (mas/yr) Formal standard error of pmRA real*4 pmDE ! (mas/yr) Proper motion along Dec real*4 e_pmDE ! (mas/yr) Formal standard error of pmDE real*4 Jmag ! (mag) 2MASS apparent J band magnitude real*4 Hmag ! (mag) ? 2MASS apparent H band magnitude (1) real*4 Ksmag ! (mag) 2MASS apparent Ks band magnitude real*4 Bmag ! (mag) ? APASS apparent B band magnitude (1) real*4 Vmag ! (mag) ? APASS apparent V band magnitude (1) real*4 gmag ! (mag) ? APASS apparent g band magnitude (1) real*4 rmag ! (mag) ? APASS apparent r band magnitude (1) real*4 imag ! (mag) ? APASS apparent i band magnitude (1) character*3 Note ! Additional note code (2) *Note (1): some magnitudes are not available and there are blank entries in * those tables for those columns. *Note (2): Explanation of note code as follows: * a = parallaxes from both the URAT north and south; * b = a common proper motion companion, see Table 4, or 7 in paper * c = new young star candidate; * d = known young star c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'upcs.dat' ! URAT Parallax Catalog south (table 5) integer*4 nr__1 parameter (nr__1=916) ! Number of records character*170 ar__1 ! Full-size record C Position composed of: RAdeg DEdeg (Epoch=2015.5) character*24 Name_1 ! Designation of object real*8 RAdeg_1 ! (deg) Right Ascension (ICRS) at epoch 2015.5 real*8 DEdeg_1 ! (deg) Declination (ICRS) at epoch 2015.5 real*4 Umag_1 ! (mag) URAT bandpass apparent magnitude character*2 SpType_1 ! Estimated spectral type real*4 EpSpan_1 ! (yr) Total epoch span of observations integer*4 Obs_1 ! Total number of observations integer*4 Rej_1 ! Number of observations rejected real*4 plx_1 ! (mas) Absolute parallax real*4 e_plx_1 ! (mas) Formal standard error of parallax real*4 plxcor_1 ! (mas) Parallax correction (absolute - relative) real*8 pmRA_1 ! (mas/yr) Proper motion along RA * cos(Dec) real*4 e_pmRA_1 ! (mas/yr) Formal standard error of pmRA real*4 pmDE_1 ! (mas/yr) Proper motion along Dec real*4 e_pmDE_1 ! (mas/yr) Formal standard error of pmDE real*4 Jmag_1 ! (mag) 2MASS apparent J band magnitude real*4 Hmag_1 ! (mag) ? 2MASS apparent H band magnitude (1) real*4 Ksmag_1 ! (mag) 2MASS apparent Ks band magnitude real*4 Bmag_1 ! (mag) ? APASS apparent B band magnitude (1) real*4 Vmag_1 ! (mag) ? APASS apparent V band magnitude (1) real*4 gmag_1 ! (mag) ? APASS apparent g band magnitude (1) real*4 rmag_1 ! (mag) ? APASS apparent r band magnitude (1) real*4 imag_1 ! (mag) ? APASS apparent i band magnitude (1) character*3 Note_1 ! Additional note code (2) *Note (1): some magnitudes are not available and there are blank entries in * those tables for those columns. *Note (2): Explanation of note code as follows: * a = parallaxes from both the URAT north and south; * b = a common proper motion companion, see Table 4, or 7 in paper * c = new young star candidate; * d = known young star c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table47.dat' ! URAT South and North Common Proper Motion Systems (tables 4 (South) and 7 (North)) integer*4 nr__2 parameter (nr__2=23) ! Number of records character*151 ar__2 ! Full-size record character*1 NS ! [N/S] North or South character*23 Name1 ! Name of primary real*4 plx1 ! (mas) Primary absolute proper motion real*4 e_plx1 ! (mas) rms uncertainty on PLX1 real*8 pmRA1 ! (mas/yr) Primary proper motion along RA, pmRA*cosDE real*4 e_pmRA1 ! (mas/yr) rms uncertainty on pmRA1 real*8 pmDE1 ! (mas/yr) Primary proper motion along DE real*4 e_pmDE1 ! (mas/yr) rms uncertainty on pmDE1 character*23 Name2 ! Name of secondary real*4 plx2 ! (mas) Secondary absolute proper motion real*4 e_plx2 ! (mas) rms uncertainty on PLX2 real*8 pmRA2 ! (mas/yr) Secondary proper motion along RA, pmRA*cosDE real*4 e_pmRA2 ! (mas/yr) rms uncertainty on pmRA2 real*8 pmDE2 ! (mas/yr) Secondary proper motion along DE real*4 e_pmDE2 ! (mas/yr) rms uncertainty on pmDE2 real*4 Sep ! (arcsec) Separation real*4 theta ! (deg) Position angle character*1 Note_2 ! [abc] Notes (1) *Note (1): Notes as follows: * a = CPD-66 3810A astrometric data from van Leeuwen (2007, Cat. I/311) * b = CCDM J22441+4030B astrometric data from Gaia Collaboration et al. * (2016, Cat. I/337) * c = HD 102634 astrometric data from van Leeuwen (2007, Cat. I/311) C============================================================================= C Loading file 'upcn.dat' ! URAT Parallax Catalog north (table 6) C Format for file interpretation 1 format( + A24,1X,F11.7,1X,F11.7,1X,F5.2,1X,A2,1X,F5.2,1X,I3,1X,I2,1X, + F5.1,1X,F4.1,1X,F3.1,1X,F7.1,1X,F4.1,1X,F6.1,1X,F4.1,1X,F6.3, + 1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,A3) C Effective file loading open(unit=1,status='old',file= +'upcn.dat') write(6,*) '....Loading file: upcn.dat' do i__=1,729 read(1,'(A170)')ar__ read(ar__,1) + Name,RAdeg,DEdeg,Umag,SpType,EpSpan,Obs,Rej,plx,e_plx,plxcor, + pmRA,e_pmRA,pmDE,e_pmDE,Jmag,Hmag,Ksmag,Bmag,Vmag,gmag,rmag, + imag,Note if(ar__(119:124) .EQ. '') Hmag = rNULL__ if(ar__(133:138) .EQ. '') Bmag = rNULL__ if(ar__(140:145) .EQ. '') Vmag = rNULL__ if(ar__(147:152) .EQ. '') gmag = rNULL__ if(ar__(154:159) .EQ. '') rmag = rNULL__ if(ar__(161:166) .EQ. '') imag = rNULL__ c ..............Just test output........... write(6,1) + Name,RAdeg,DEdeg,Umag,SpType,EpSpan,Obs,Rej,plx,e_plx,plxcor, + pmRA,e_pmRA,pmDE,e_pmDE,Jmag,Hmag,Ksmag,Bmag,Vmag,gmag,rmag, + imag,Note c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'upcs.dat' ! URAT Parallax Catalog south (table 5) C Format for file interpretation 2 format( + A24,1X,F11.7,1X,F11.7,1X,F5.2,1X,A2,1X,F5.2,1X,I3,1X,I2,1X, + F5.1,1X,F4.1,1X,F3.1,1X,F7.1,1X,F4.1,1X,F6.1,1X,F4.1,1X,F6.3, + 1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,A3) C Effective file loading open(unit=1,status='old',file= +'upcs.dat') write(6,*) '....Loading file: upcs.dat' do i__=1,916 read(1,'(A170)')ar__1 read(ar__1,2) + Name_1,RAdeg_1,DEdeg_1,Umag_1,SpType_1,EpSpan_1,Obs_1,Rej_1, + plx_1,e_plx_1,plxcor_1,pmRA_1,e_pmRA_1,pmDE_1,e_pmDE_1,Jmag_1, + Hmag_1,Ksmag_1,Bmag_1,Vmag_1,gmag_1,rmag_1,imag_1,Note_1 if(ar__1(119:124) .EQ. '') Hmag_1 = rNULL__ if(ar__1(133:138) .EQ. '') Bmag_1 = rNULL__ if(ar__1(140:145) .EQ. '') Vmag_1 = rNULL__ if(ar__1(147:152) .EQ. '') gmag_1 = rNULL__ if(ar__1(154:159) .EQ. '') rmag_1 = rNULL__ if(ar__1(161:166) .EQ. '') imag_1 = rNULL__ c ..............Just test output........... write(6,2) + Name_1,RAdeg_1,DEdeg_1,Umag_1,SpType_1,EpSpan_1,Obs_1,Rej_1, + plx_1,e_plx_1,plxcor_1,pmRA_1,e_pmRA_1,pmDE_1,e_pmDE_1,Jmag_1, + Hmag_1,Ksmag_1,Bmag_1,Vmag_1,gmag_1,rmag_1,imag_1,Note_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table47.dat' ! URAT South and North Common Proper Motion Systems * (tables 4 (South) and 7 (North)) C Format for file interpretation 3 format( + A1,1X,A23,1X,F5.2,F5.2,1X,F7.2,1X,F4.2,1X,F7.2,1X,F4.2,1X,A23, + 1X,F5.2,F5.2,1X,F8.3,F6.3,1X,F8.3,1X,F5.3,1X,F6.2,1X,F6.2,A1) C Effective file loading open(unit=1,status='old',file= +'table47.dat') write(6,*) '....Loading file: table47.dat' do i__=1,23 read(1,'(A151)')ar__2 read(ar__2,3) + NS,Name1,plx1,e_plx1,pmRA1,e_pmRA1,pmDE1,e_pmDE1,Name2,plx2, + e_plx2,pmRA2,e_pmRA2,pmDE2,e_pmDE2,Sep,theta,Note_2 c ..............Just test output........... write(6,3) + NS,Name1,plx1,e_plx1,pmRA1,e_pmRA1,pmDE1,e_pmDE1,Name2,plx2, + e_plx2,pmRA2,e_pmRA2,pmDE2,e_pmDE2,Sep,theta,Note_2 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end