Conversion of standardized ReadMe file for
file /./ftp/cats/J/other/RAA/17.76 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/other/RAA/17.76 K giant stars along Sagittarius streams (Ren+, 2017) *================================================================================ *The metallicity of K giant stars along the Sagittarius streams. * Ren H.-B., Shi W.-B., Zhang X., Tang Y.-K., Zhang Y., Hou Y.-H., Wang Y.-F. * <Res. Astron. Astrophys., 17, 76 (2017)> * =2017RAA....17...76R (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! List of 384 K giant stars in Sgr streams integer*4 nr__ parameter (nr__=384) ! Number of records character*84 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*14 Name (nr__) ! LAMOST lmjd-spid-fiber designation real*8 RAdeg (nr__) ! (deg) Right ascension (J2000) real*8 DEdeg (nr__) ! (deg) Declination (J2000) real*4 v_Fe_H_ (nr__) ! ([-]) Metallicity real*4 Dist (nr__) ! (kpc) Distance, derived by a Bayesian method * (Liu et al., 2014ApJ...790..110L) real*8 Vgsr (nr__) ! (km/s) Galactic Standard of Rest velocity real*8 Lambda (nr__) ! (deg) Sgr longitude scale along the orbital plane, * {Lambda}_{sun}_ real*4 XGC (nr__) ! (kpc) Galactocentric X coordinate real*4 YGC (nr__) ! (kpc) Galactocentric Y coordinate real*4 ZGC (nr__) ! (kpc) Galactocentric Z coordinate character*2 Mark (nr__) ! Arm code (1) *Note (1): Arm code as follows: * L1 = mean leading arm 1 * L2 = leading arm 2 * T1 = trailing arm 1 C============================================================================= C Loading file 'table1.dat' ! List of 384 K giant stars in Sgr streams C Format for file interpretation 1 format( + A14,1X,F7.3,1X,F7.3,1X,F6.3,1X,F6.3,1X,F8.3,1X,F7.3,1X,F5.2, + 1X,F6.2,1X,F6.2,1X,A2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,384 read(1,'(A84)')ar__ read(ar__,1) + Name(i__),RAdeg(i__),DEdeg(i__),v_Fe_H_(i__),Dist(i__), + Vgsr(i__),Lambda(i__),XGC(i__),YGC(i__),ZGC(i__),Mark(i__) c ..............Just test output........... write(6,1) + Name(i__),RAdeg(i__),DEdeg(i__),v_Fe_H_(i__),Dist(i__), + Vgsr(i__),Lambda(i__),XGC(i__),YGC(i__),ZGC(i__),Mark(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end