Conversion of standardized ReadMe file for
file /./ftp/cats/B/pastel 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-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. B/pastel The PASTEL catalogue (Soubiran+, 2016-) *================================================================================ *The PASTEL catalogue : 2020 version. * Soubiran C., Le Campion J.-F., Brouillet N., Chemin L. * <Astron. Astrophys., 591, A118 (2016)> * =2016A&A...591A.118S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'pastel.dat' ! The catalogue of stellar atmospheric parameters (Version 2020-01-30) integer*4 nr__ parameter (nr__=81362) ! Number of records character*223 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*33 ID (nr__) ! Designation real*8 RAdeg (nr__) ! (deg) ? Right Ascension (J2000) * from Simbad or 2MASS real*8 DEdeg (nr__) ! (deg) ? Declination (J2000) * from Simbad or 2MASS character*1 o_coo (nr__) ! [ST?] Origin of coordinates (1) real*4 Bmag (nr__) ! (mag) ? Johnson B magnitude from Simbad real*4 e_Bmag (nr__) ! (mag) ? Standard error on Bmag real*4 Vmag (nr__) ! (mag) ? Johnson V magnitude from Simbad real*4 e_Vmag (nr__) ! (mag) ? Standard error on Vmag real*4 Jmag (nr__) ! (mag) ? 2MASS J apparent magnitude real*4 e_Jmag (nr__) ! (mag) ? 2MASS J total magnitude uncertainty real*4 Hmag (nr__) ! (mag) ? 2MASS H apparent magnitude real*4 e_Hmag (nr__) ! (mag) ? 2MASS H total magnitude uncertainty real*4 Ksmag (nr__) ! (mag) ? 2MASS Ks apparent magnitude real*4 e_Ksmag (nr__) ! (mag) ? 2MASS Ks total magnitude uncertainty integer*4 Teff (nr__) ! (K) ? Effective temperature integer*4 e_Teff (nr__) ! (K) ? Standard error on effective temperature real*4 logg (nr__) ! ([cm/s2]) ? Logarithm of gravity real*4 e_logg (nr__) ! ([cm/s2]) ? Standard error on the logarithm of gravity real*4 v_Fe_H_ (nr__) ! ([Sun]) ? Iron abundance relative to the Sun real*4 e__Fe_H_ (nr__) ! ([Sun]) ? Standard error on iron abundance character*1 n__Fe_H_ (nr__) ! ? [2M] Metal abundance, Fe2 (2) character*1 f__Fe_H_ (nr__) ! ? [N] NLTE analysis (3) character*20 Author (nr__) ! First author of the analysis character*19 bibcode (nr__) ! Bibcode of publication *Note (1): Origin of coordinates as follows: * S = coordinates come from SIMBAD * T = coordinates are from 2MASS * ? = coordinates not available *Note (2): Metal abundance, ionised iron, flag as follows: * M = [M/H] is given instead of [Fe/H] * 2 = [FeII/H] is given *Note (3): N = NLTE analysis of iron C============================================================================= C Loading file 'pastel.dat' ! The catalogue of stellar atmospheric parameters * (Version 2020-01-30) C Format for file interpretation 1 format( + A33,1X,F15.11,1X,F15.11,1X,A1,1X,F6.3,1X,F5.3,2X,F6.3,1X,F5.3, + 2X,F6.3,F6.3,2X,F6.3,1X,F6.3,2X,F6.3,F6.3,3X,I5,1X,I5,1X,F6.3, + 2X,F5.3,1X,F6.3,2X,F5.3,1X,A1,A1,1X,A20,1X,A19) C Effective file loading open(unit=1,status='old',file= +'pastel.dat') write(6,*) '....Loading file: pastel.dat' do i__=1,81362 read(1,'(A223)')ar__ read(ar__,1) + ID(i__),RAdeg(i__),DEdeg(i__),o_coo(i__),Bmag(i__), + e_Bmag(i__),Vmag(i__),e_Vmag(i__),Jmag(i__),e_Jmag(i__), + Hmag(i__),e_Hmag(i__),Ksmag(i__),e_Ksmag(i__),Teff(i__), + e_Teff(i__),logg(i__),e_logg(i__),v_Fe_H_(i__),e__Fe_H_(i__), + n__Fe_H_(i__),f__Fe_H_(i__),Author(i__),bibcode(i__) if(ar__(35:49) .EQ. '') RAdeg(i__) = rNULL__ if(ar__(51:65) .EQ. '') DEdeg(i__) = rNULL__ if(ar__(69:74) .EQ. '') Bmag(i__) = rNULL__ if(ar__(76:80) .EQ. '') e_Bmag(i__) = rNULL__ if(ar__(83:88) .EQ. '') Vmag(i__) = rNULL__ if(ar__(90:94) .EQ. '') e_Vmag(i__) = rNULL__ if(ar__(97:102) .EQ. '') Jmag(i__) = rNULL__ if(ar__(103:108) .EQ. '') e_Jmag(i__) = rNULL__ if(ar__(111:116) .EQ. '') Hmag(i__) = rNULL__ if(ar__(118:123) .EQ. '') e_Hmag(i__) = rNULL__ if(ar__(126:131) .EQ. '') Ksmag(i__) = rNULL__ if(ar__(132:137) .EQ. '') e_Ksmag(i__) = rNULL__ if(ar__(141:145) .EQ. '') Teff(i__) = iNULL__ if(ar__(147:151) .EQ. '') e_Teff(i__) = iNULL__ if(ar__(153:158) .EQ. '') logg(i__) = rNULL__ if(ar__(161:165) .EQ. '') e_logg(i__) = rNULL__ if(ar__(167:172) .EQ. '') v_Fe_H_(i__) = rNULL__ if(ar__(175:179) .EQ. '') e__Fe_H_(i__) = rNULL__ c ..............Just test output........... write(6,1) + ID(i__),RAdeg(i__),DEdeg(i__),o_coo(i__),Bmag(i__), + e_Bmag(i__),Vmag(i__),e_Vmag(i__),Jmag(i__),e_Jmag(i__), + Hmag(i__),e_Hmag(i__),Ksmag(i__),e_Ksmag(i__),Teff(i__), + e_Teff(i__),logg(i__),e_logg(i__),v_Fe_H_(i__),e__Fe_H_(i__), + n__Fe_H_(i__),f__Fe_H_(i__),Author(i__),bibcode(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end