Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/529/A104 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/A+A/529/A104 Coordinates for Arp's Baade's Window stars (Church+, 2011) *================================================================================ *Coordinates and 2MASS and OGLE identifications for all stars in Arp's 1965 *finding chart for Baade's Window. * Church R.P., Johnson J.A., Feltzing S. * <Astron. Astrophys. 529, A104 (2011)> * =2011A&A...529A.104C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Cross-identification and photometry of all stellar sources integer*4 nr__ parameter (nr__=1346) ! Number of records character*169 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 Arp (nr__) ! Arp identification (numeric) * <Cl* NGC 6522 Arp NNNN> in Simbad character*7 ArpC (nr__) ! Arp identification (classic: RR-NNN) integer*4 RAh (nr__) ! (hr) Right ascension (J2000) integer*4 RAm (nr__) ! (min) Right ascension (J2000) real*4 RAs (nr__) ! (s) Right ascension (J2000) character*1 DE_ (nr__) ! Declination sign (J2000) integer*4 DEd (nr__) ! (deg) Declination (J2000) integer*4 DEm (nr__) ! (arcmin) Declination (J2000) real*4 DEs (nr__) ! (arcsec) Declination (J2000) real*8 RAdeg (nr__) ! (deg) Right ascension (J2000) real*8 DEdeg (nr__) ! (deg) Declination (J2000) character*16 v2MASS (nr__) ! 2MASS identification character*1 n_2MASS (nr__) ! [b] several Arp sources blended in 2MASS real*4 Jmag (nr__) ! (mag) ? J magnitude (2MASS) real*4 e_Jmag (nr__) ! (mag) ? J magnitude error (2MASS) real*4 Hmag (nr__) ! (mag) ? H magnitude (2MASS) real*4 e_Hmag (nr__) ! (mag) ? H magnitude error (2MASS) real*4 Ksmag (nr__) ! (mag) ? Ks magnitude (2MASS) real*4 e_Ksmag (nr__) ! (mag) ? Ks magnitude error (2MASS) character*3 Q2M (nr__) ! 2MASS quality flag for JHKs integer*4 OGLE (nr__) ! ? OGLE number, OGLE BUL-SC45 NNNNNN real*4 Vmag (nr__) ! (mag) ? V magnitude (OGLE-II) real*4 V_I (nr__) ! (mag) ? V-I colour index (OGLE-II) real*4 Imag (nr__) ! (mag) ? I magnitude (OGLE-II) real*4 e_Vmag (nr__) ! (mag) ? V magnitude error (OGLE-II) real*4 e_Imag (nr__) ! (mag) ? I magnitude error (OGLE-II) C============================================================================= C Loading file 'table1.dat' ! Cross-identification and photometry of all * stellar sources C Format for file interpretation 1 format( + I4,1X,A7,1X,I2,1X,I2,1X,F6.3,2X,A1,I2,1X,I2,1X,F5.2,1X,F10.6, + 1X,F10.6,1X,A16,1X,A1,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3, + 1X,F5.3,1X,A3,4X,I6,2X,F6.3,1X,F6.3,1X,F6.3,2X,F5.3,2X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,1346 read(1,'(A169)')ar__ read(ar__,1) + Arp(i__),ArpC(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),RAdeg(i__),DEdeg(i__),v2MASS(i__), + n_2MASS(i__),Jmag(i__),e_Jmag(i__),Hmag(i__),e_Hmag(i__), + Ksmag(i__),e_Ksmag(i__),Q2M(i__),OGLE(i__),Vmag(i__),V_I(i__), + Imag(i__),e_Vmag(i__),e_Imag(i__) if(ar__(82:87) .EQ. '') Jmag(i__) = rNULL__ if(ar__(89:93) .EQ. '') e_Jmag(i__) = rNULL__ if(ar__(95:100) .EQ. '') Hmag(i__) = rNULL__ if(ar__(102:106) .EQ. '') e_Hmag(i__) = rNULL__ if(ar__(108:113) .EQ. '') Ksmag(i__) = rNULL__ if(ar__(115:119) .EQ. '') e_Ksmag(i__) = rNULL__ if(ar__(128:133) .EQ. '') OGLE(i__) = iNULL__ if(ar__(136:141) .EQ. '') Vmag(i__) = rNULL__ if(ar__(143:148) .EQ. '') V_I(i__) = rNULL__ if(ar__(150:155) .EQ. '') Imag(i__) = rNULL__ if(ar__(158:162) .EQ. '') e_Vmag(i__) = rNULL__ if(ar__(165:169) .EQ. '') e_Imag(i__) = rNULL__ c ..............Just test output........... write(6,1) + Arp(i__),ArpC(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),RAdeg(i__),DEdeg(i__),v2MASS(i__), + n_2MASS(i__),Jmag(i__),e_Jmag(i__),Hmag(i__),e_Hmag(i__), + Ksmag(i__),e_Ksmag(i__),Q2M(i__),OGLE(i__),Vmag(i__),V_I(i__), + Imag(i__),e_Vmag(i__),e_Imag(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end