Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/598/A92 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.
++++Only one proper motion (pm) found for: table1.dat 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/A+A/598/A92 New ultracool subdwarfs (Lodieu+, 2017) *================================================================================ *New ultracool subdwarfs identified in large-scale surveys using VO tools. *II. SDSS DR7 vs. UKIDSS LAS DR6, SDSS DR7 vs. UKIDSS LAS DR8, *SDSS DR9 vs. UKIDSS LAS DR10, and SDSS DR7 vs. 2MASS. * Lodieu N., Espinoza Contreras M., Zapatero Osorio M.R., Solano E., * Aberasturi M., Martin E.L. * <Astron. Astrophys. 598, A92 (2017)> * =2017A&A...598A..92L (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! ID, coordinates, photometry, and proper motions integer*4 nr__ parameter (nr__=100) ! Number of records character*157 ar__ ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000.0 real*8 DEdeg (nr__) ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) integer*4 ID (nr__) ! ID number integer*4 RAh (nr__) ! (h) Right ascension (J2000.0) integer*4 RAm (nr__) ! (min) Right ascension (J2000.0) real*4 RAs (nr__) ! (s) Right ascension (J2000.0) character*1 DE_ (nr__) ! Declination sign (J2000.0) integer*4 DEd (nr__) ! (deg) Declination (J2000.0) integer*4 DEm (nr__) ! (arcmin) Declination (J2000.0) real*4 DEs (nr__) ! (arcsec) Declination (J2000.0) real*4 umag (nr__) ! (mag) SDSS u magnitude real*4 e_umag (nr__) ! (mag) Error on the SDSS u magnitude real*4 gmag (nr__) ! (mag) SDSS g magnitude real*4 e_gmag (nr__) ! (mag) Error on the SDSS g magnitude real*4 rmag (nr__) ! (mag) SDSS r magnitude real*4 e_rmag (nr__) ! (mag) Error on the SDSS r magnitude real*4 imag (nr__) ! (mag) SDSS i magnitude real*4 e_imag (nr__) ! (mag) Error on the SDSS i magnitude real*4 zmag (nr__) ! (mag) SDSS z magnitude real*4 e_zmag (nr__) ! (mag) Error on the SDSS z magnitude real*4 Ymag (nr__) ! (mag) ?=99.999 UKIDSS Y magnitude real*4 e_Ymag (nr__) ! (mag) ?=9.999 Error on the UKIDSS Y magnitude real*4 Jmag (nr__) ! (mag) 2MASS or UKIDSS J magnitude real*4 e_Jmag (nr__) ! (mag) Error on the 2MASS or UKIDSS J magnitude real*4 Hmag (nr__) ! (mag) ?=99.999 2MASS or UKIDSS H magnitude real*4 e_Hmag (nr__) ! (mag) ?=9.999 Error on the 2MASS or UKIDSS H magnitude real*4 Kmag (nr__) ! (mag) 2MASS or UKIDSS K magnitude real*4 e_Kmag (nr__) ! (mag) Error on the 2MASS or UKIDSS K magnitude real*4 pm (nr__) ! (arcsec/yr) Total proper motion real*4 Hr (nr__) ! (mag) Reduced proper motion c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! ID, proper motion, and reduced proper motions integer*4 nr__1 parameter (nr__1=87) ! Number of records character*82 ar__1 ! Full-size record integer*4 ID_1 (nr__1) ! ID number real*4 pmVO (nr__1) ! (arcsec/yr) Proper motion from the VO real*4 HrVO (nr__1) ! (mag) Reduced proper motion from the VO real*4 pmRA (nr__1) ! (arcsec/yr) Proper motion in RA from images real*4 e_pmRA (nr__1) ! (arcsec/yr) Error on proper motion in RA from images real*8 pmDE (nr__1) ! (arcsec/yr) Proper motion in dec from images real*4 e_pmDE (nr__1) ! (arcsec/yr) Error on proper motion in DE from images real*4 pm_1 (nr__1) ! (arcsec/yr) Revised total proper motion real*4 e_pm (nr__1) ! (arcsec/yr) Error on revised total proper motion real*4 Hr_1 (nr__1) ! (deg) Revised reduced proper motion real*4 e_Hr (nr__1) ! (deg) Error on revised Hr real*4 b_Hr (nr__1) ! (deg) Minimum value of Hr real*4 B_Hr_1 (nr__1) ! (deg) Maximum value on Hr c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! ID,TiO5,CaH1,CaH2,CaH3,SpT,d,Vh,U,V,W integer*4 nr__2 parameter (nr__2=101) ! Number of records character*114 ar__2 ! Full-size record integer*4 ID_2 (nr__2) ! ID number real*4 TiO5 (nr__2) ! TiO5 index real*4 CaH1 (nr__2) ! CaH1 index real*4 CaH2 (nr__2) ! CaH2 index real*4 CaH3 (nr__2) ! CaH3 index character*8 SpTypeL (nr__2) ! Spectral type based on Lepine's scheme character*14 SpType (nr__2) ! Adopted spectral type character*4 Tel (nr__2) ! Telescope real*4 Dist (nr__2) ! (pc) ?=999.9 Distance real*4 e_Dist (nr__2) ! (pc) ?=99.9 Error on the distance integer*4 HV (nr__2) ! (km/s) ?=999 Heliocentric velocity integer*4 e_HV (nr__2) ! (km/s) ?=99 Error on the heliocentric velocity real*4 Uvel (nr__2) ! (km/s) ?=999.9 Space motion: U component real*4 e_Uvel (nr__2) ! (km/s) ?=99.9 Space motion: error on U component real*4 Vvel (nr__2) ! (km/s) ?=999.9 Space motion: V component real*4 e_Vvel (nr__2) ! (km/s) ?=99.9 Space motion: error on V component real*4 Wvel (nr__2) ! (km/s) ?=999.9 Space motion: W component real*4 e_Wvel (nr__2) ! (km/s) ?=99.9 Space motion: error on W component c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'sp/*' ! Individual spectra integer*4 nr__3 parameter (nr__3=101) ! Number of records character*44 ar__3 ! Full-size record real*8 Lambda (nr__3) ! (0.1nm) Wavelength (in Angstroms) real*4 Flux (nr__3) ! (10mW/m2/nm) Flux (in ergs/cm^2^/s/{AA}) C============================================================================= C Loading file 'table1.dat' ! ID, coordinates, photometry, and proper motions C Format for file interpretation 1 format( + I3,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F6.3,1X,F5.3, + 1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X, + F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3, + 1X,F5.3,1X,F5.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,100 read(1,'(A157)')ar__ read(ar__,1) + ID(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__), + DEs(i__),umag(i__),e_umag(i__),gmag(i__),e_gmag(i__), + rmag(i__),e_rmag(i__),imag(i__),e_imag(i__),zmag(i__), + e_zmag(i__),Ymag(i__),e_Ymag(i__),Jmag(i__),e_Jmag(i__), + Hmag(i__),e_Hmag(i__),Kmag(i__),e_Kmag(i__),pm(i__),Hr(i__) RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + ID(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__), + DEs(i__),umag(i__),e_umag(i__),gmag(i__),e_gmag(i__), + rmag(i__),e_rmag(i__),imag(i__),e_imag(i__),zmag(i__), + e_zmag(i__),Ymag(i__),e_Ymag(i__),Jmag(i__),e_Jmag(i__), + Hmag(i__),e_Hmag(i__),Kmag(i__),e_Kmag(i__),pm(i__),Hr(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! ID, proper motion, and reduced proper motions C Format for file interpretation 2 format( + I3,1X,F5.3,1X,F6.3,1X,F6.3,1X,F5.3,1X,F7.4,1X,F5.3,1X,F5.3,1X, + F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,87 read(1,'(A82)')ar__1 read(ar__1,2) + ID_1(i__),pmVO(i__),HrVO(i__),pmRA(i__),e_pmRA(i__),pmDE(i__), + e_pmDE(i__),pm_1(i__),e_pm(i__),Hr_1(i__),e_Hr(i__),b_Hr(i__), + B_Hr_1(i__) c ..............Just test output........... write(6,2) + ID_1(i__),pmVO(i__),HrVO(i__),pmRA(i__),e_pmRA(i__),pmDE(i__), + e_pmDE(i__),pm_1(i__),e_pm(i__),Hr_1(i__),e_Hr(i__),b_Hr(i__), + B_Hr_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! ID,TiO5,CaH1,CaH2,CaH3,SpT,d,Vh,U,V,W C Format for file interpretation 3 format( + I3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,A8,1X,A14,1X,A4,1X,F5.1, + 1X,F5.1,1X,I4,1X,I3,1X,F6.1,1X,F4.1,1X,F6.1,1X,F5.1,1X,F6.1, + 1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,101 read(1,'(A114)')ar__2 read(ar__2,3) + ID_2(i__),TiO5(i__),CaH1(i__),CaH2(i__),CaH3(i__), + SpTypeL(i__),SpType(i__),Tel(i__),Dist(i__),e_Dist(i__), + HV(i__),e_HV(i__),Uvel(i__),e_Uvel(i__),Vvel(i__),e_Vvel(i__), + Wvel(i__),e_Wvel(i__) c ..............Just test output........... write(6,3) + ID_2(i__),TiO5(i__),CaH1(i__),CaH2(i__),CaH3(i__), + SpTypeL(i__),SpType(i__),Tel(i__),Dist(i__),e_Dist(i__), + HV(i__),e_HV(i__),Uvel(i__),e_Uvel(i__),Vvel(i__),e_Vvel(i__), + Wvel(i__),e_Wvel(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'sp/*' ! Individual spectra C Format for file interpretation 4 format(F19.13,1X,E24.18) C Effective file loading open(unit=1,status='old',file= +'sp/*') write(6,*) '....Loading file: sp/*' do i__=1,101 read(1,'(A44)')ar__3 read(ar__3,4)Lambda(i__),Flux(i__) c ..............Just test output........... write(6,4)Lambda(i__),Flux(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end