Changeset 2209 in Sophya for trunk/SophyaExt/FitsIOServer/fitsxntuple.cc
- Timestamp:
- Oct 9, 2002, 11:12:52 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsxntuple.cc
r2197 r2209 297 297 // table will have 'nrows' rows 298 298 int nrows = dobj_->NEntry(); 299 cout << " FITS_XNTuple::WriteToFits : nombre de lignes a ecrire " << nrows << endl;299 // cout << " FITS_XNTuple::WriteToFits : nombre de lignes a ecrire " << nrows << endl; 300 300 // get names and values from the join DVList object 301 301 DVList dvl= dobj_->Info(); … … 337 337 for (k=0; k<dobj_->NDVar();k++) 338 338 { 339 for(int j = 0; j < nrows; j++) dcolumn[j]= dobj_->GetDVal(j,compt); 339 int j; 340 for(j = 0; j < nrows; j++) dcolumn[j]= dobj_->GetDVal(j,compt); 340 341 os.PutColToFits(compt, nrows, dcolumn); 341 342 compt++; … … 349 350 for (k=0; k<dobj_->NFVar();k++) 350 351 { 351 for(int j = 0; j < nrows; j++) fcolumn[j]= dobj_->GetFVal(j,compt); 352 int j; 353 for(j = 0; j < nrows; j++) fcolumn[j]= dobj_->GetFVal(j,compt); 352 354 os.PutColToFits(compt, nrows, fcolumn); 353 355 compt++; … … 361 363 for (k=0; k<dobj_->NIVar();k++) 362 364 { 363 for(int j = 0; j < nrows; j++) icolumn[j]= dobj_->GetIVal(j,compt); 364 cout << " fitsx.. va ecrire la colonne " << endl;365 for(intj = 0; j < nrows; j++) cout << icolumn[j] << endl;;365 int j; 366 for(j = 0; j < nrows; j++) icolumn[j]= dobj_->GetIVal(j,compt); 367 // for(j = 0; j < nrows; j++) cout << icolumn[j] << endl;; 366 368 367 369 os.PutColToFits(compt, nrows, icolumn);
Note:
See TracChangeset
for help on using the changeset viewer.