Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/539/A91 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/539/A91 MASSIV I. Sample properties (Contini+, 2012) *================================================================================ *MASSIV: Mass Assemby Survey with SINFONI in VVDS. *I. Survey description and global properties of the 0.9 < z < 1.8 galaxy sample. * Contini T., Garilli B., Le Fevre O., Kissler-Patig M., Amram P., Epinat B., * Moultaka J., Paioro L., Queyrel J., Tasca L., Tresse L., Vergani D., * Lopez-Sanjuan C., Perez-Montero E. * <Astron. Astrophys. 539, A91 (2012)> * =2012A&A...539A..91C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Global properties of the MASSIV sample integer*4 nr__ parameter (nr__=84) ! Number of records character*96 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 VVDS (nr__) ! VVDS identification number, Cat. III/250 integer*4 RAh (nr__) ! (h) 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*4 z (nr__) ! Galaxy redshift as measured in VIMOS spectra character*1 n_z (nr__) ! [a] redshift from SINFONI (1) integer*4 q_z (nr__) ! Redshift associated flag (2) character*2 S (nr__) ! [D W UD] Depth flag of the VVDS parent * sample: Deep, Wide, or Ultra-Deep. real*4 logM_ (nr__) ! ([Msun]) Stellar mass real*4 e_logM_ (nr__) ! ([Msun]) rms uncertainty on logM* real*4 logSFR (nr__) ! ([Msun/yr]) SED-based star formation rate real*4 E_logSFR (nr__) ! ([Msun/yr]) Error on logSFR (upper value) real*4 e_logSFR_1 (nr__) ! ([Msun/yr]) Error on logSFR (lower value) real*4 W_OII_ (nr__) ! (0.1nm) ? Equivalent width of [OII]3727 real*4 e_W_OII_ (nr__) ! (0.1nm) ? rms uncertainty on W[OII] real*4 Flux (nr__) ! (10-20W/m2) ? Flux of [OII]3727 real*4 e_Flux (nr__) ! (10-20W/m2) ? rms uncertainty on Flux *Note (1): a: For this galaxy, we indicate the redshift derived from * H{alpha} SINFONI data *Note (2): See Le Fevre et al. 2005, Cat. III/250. * The last (rightmost) digit characterises the quality of the redshift: * 2 = 75% confidence in the redshift * 3 = 95% confidence * 4 = 100% confidence * 9 = Single isolated emission line spectra * +20 = a secondary identified target, i.e. an object which is present * by chance in the spectral slit in addition of the primary target; * thus the secondary object is not ensured to be fully centered * within the slit C============================================================================= C Loading file 'table5.dat' ! Global properties of the MASSIV sample C Format for file interpretation 1 format( + I9,1X,I2,1X,I2,1X,F6.3,1X,A1,I1,1X,I2,1X,F6.3,2X,F6.4,A1,I2, + 1X,A2,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F6.1,1X,F4.1, + 1X,F4.1,1X,F3.1) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,84 read(1,'(A96)')ar__ read(ar__,1) + VVDS(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),z(i__),n_z(i__),q_z(i__),S(i__),logM_(i__), + e_logM_(i__),logSFR(i__),E_logSFR(i__),e_logSFR_1(i__), + W_OII_(i__),e_W_OII_(i__),Flux(i__),e_Flux(i__) if(ar__(77:82) .EQ. '') W_OII_(i__) = rNULL__ if(ar__(84:87) .EQ. '') e_W_OII_(i__) = rNULL__ if(ar__(89:92) .EQ. '') Flux(i__) = rNULL__ if(ar__(94:96) .EQ. '') e_Flux(i__) = rNULL__ 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) + VVDS(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),z(i__),n_z(i__),q_z(i__),S(i__),logM_(i__), + e_logM_(i__),logSFR(i__),E_logSFR(i__),e_logSFR_1(i__), + W_OII_(i__),e_W_OII_(i__),Flux(i__),e_Flux(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end