Conversion of standardized ReadMe file for
file /./ftp/cats/I/331 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. I/331 Absolute Proper motions Outside the Plane (APOP) (Qi+, 2015) *================================================================================ *Absolute Proper motions Outside the Plane - APOP. *A step towards the GSC2.4. * Qi Z.X., Yu Y., Bucciasrelli B., Lattanzi M.G., Smart R.L., Spagna A., * McLean B.J., Tang Z.H., Jones H.R.A., Morbidelli R., Nicastro L., * Vacchiato A. * <Astron. J., 150, 137 (2015)> * =2015AJ....150..137Q * =2015yCat.1331....0Q C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'apop.sam' ! *Absolute Proper motions Outside the Plane integer*4 nr__ parameter (nr__=100) ! Number of records character*156 ar__ ! Full-size record C Position composed of: RAdeg DEdeg (Epoch=J2000.0,) character*13 ID (nr__) ! Source identifier (1) character*1 Type (nr__) ! Classification of the source (2) real*8 RAdeg (nr__) ! (deg) Right ascension * (ICRS, position epoch=J2000.0, TDB) real*8 DEdeg (nr__) ! (deg) Declination * (ICRS, position epoch=J2000.0, TDB) real*8 e_RAdeg (nr__) ! (mas) Error in right ascension at Epoch real*8 e_DEdeg (nr__) ! (mas) Error in declination at Epoch real*8 pmRA (nr__) ! (mas/yr) Absolute proper motion in RA (pmRA*cos(DE)) real*8 pmDE (nr__) ! (mas/yr) Absolute proper motion in Declination real*4 e_pmRA (nr__) ! (mas/yr) Error in pmRA at Epoch real*4 e_pmDE (nr__) ! (mas/yr) Error in pmDE at Epoch integer*4 Nobs (nr__) ! Number of observations (3) real*4 Dt (nr__) ! (yr) Maximal time differences (4) real*8 Rmag (nr__) ! (mag) ?=-99 Magnitude in R_F_ photographic * band (red) (5) real*8 Bmag (nr__) ! (mag) ?=-99 Magnitude in B_J_ photographic * band (blue) (5) real*8 Nmag (nr__) ! (mag) ?=-99 Magnitude in I_N_ photographic band * (near infrared) (5) real*8 Vmag (nr__) ! (mag) ?=-99 Magnitude in V photographic band * (visible) (5) real*8 Jmag (nr__) ! (mag) ?=-99 2MASS J magnitude (6) real*8 Hmag (nr__) ! (mag) ?=-99 2MASS H magnitude (6) real*8 Kmag (nr__) ! (mag) ?=-99 2MASS Ks magnitude(6) *Note (1): The ID is the source identifier for object in the APOP, which is as * same as the source identifier of that object in GSC2.3 catalog. * Here the APOP ID is the combination of the HTM_ID and the running_number in * GSC2.3, i.e. * 32768+0000005 for GSC2.3=S000000005, HTM6=S0000000 source, * 32785+0003424 fpr GSC2.3=S00H003424, HTM6=S0000101 source * in GSC2.3 (Cat. I/305). *Note (2): The classification is based on the following codes: * 0 = star as defined in the GSC23 * 1 = stars from the GSC23 used as reference sources * 2 = QSOs from the GIQC catalog * 3 = Non-stars as defined in the GSC23 * 4 = Non-stars indicated as extragalactic from Non-stars *Note (3): The Nobs is the number of plates used for deriving the pmRA, pmDE of * that object. *Note (4): The Dt is the maximal time differences between the plates used for * the calculation. *Note (5): The magnitudes data are extracted directly from GSC2.3 catalog. * Users can identify the exact meaning by looking at the 'Table 3' in GSC2.3 * paper (Lasker et al., 2008AJ....136..735L, Cat. I/305). * The default value is -99.000 if there is no data in that passband. *Note (6): The photometric data are the near-infrared J (1.25um), H (1.65um), * and Ks (2.16um) from the 2MASS catalog (Skrutskie et al., 2006AJ....131.1163S, * Cat. VII/233). * The default value is -99.000 if there is no data in that passband. C============================================================================= C Loading file 'apop.sam' ! *Absolute Proper motions Outside the Plane C Format for file interpretation 1 format( + A13,3X,A1,2X,F11.7,1X,F11.7,2X,F7.2,F7.2,F8.1,1X,F7.1,1X,F6.1, + 1X,F5.1,1X,I3,2X,F6.3,2X,F7.3,1X,F7.3,1X,F7.3,1X,F7.3,1X,F7.3, + 1X,F7.3,1X,F7.3) C Effective file loading open(unit=1,status='old',file= +'apop.sam') write(6,*) '....Loading file: apop.sam' do i__=1,100 read(1,'(A156)')ar__ read(ar__,1) + ID(i__),Type(i__),RAdeg(i__),DEdeg(i__),e_RAdeg(i__), + e_DEdeg(i__),pmRA(i__),pmDE(i__),e_pmRA(i__),e_pmDE(i__), + Nobs(i__),Dt(i__),Rmag(i__),Bmag(i__),Nmag(i__),Vmag(i__), + Jmag(i__),Hmag(i__),Kmag(i__) c ..............Just test output........... write(6,1) + ID(i__),Type(i__),RAdeg(i__),DEdeg(i__),e_RAdeg(i__), + e_DEdeg(i__),pmRA(i__),pmDE(i__),e_pmRA(i__),e_pmDE(i__), + Nobs(i__),Dt(i__),Rmag(i__),Bmag(i__),Nmag(i__),Vmag(i__), + Jmag(i__),Hmag(i__),Kmag(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end