- Timestamp:
- 01/22/09 19:25:52 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/STFiller.cpp
r1482 r1489 552 552 553 553 // DEBUG 554 //cout << "STFiller::openNRO() Velocity Definition = " << nheader->getVDEF() << endl ; 555 556 // DEBUG 554 557 time_t t1 ; 555 558 time( &t1 ) ; … … 569 572 int STFiller::readNRO() 570 573 { 571 //return 0 ;572 573 574 // DEBUG 574 575 time_t t0 ; … … 594 595 int count = 0 ; 595 596 for ( i = 0 ; i < imax ; i++ ) { 596 NRODataset *d = nreader_->getData( i ) ; 597 if( nreader_->getData( i ) != 0 ) { 598 cerr << "STFiller::readNRO() error while reading row " << i << endl ; 599 return -1 ; 600 } 601 NRODataset *d = nreader_->getData() ; 597 602 598 603 //char *scanType = d->getSCANTP() ; … … 632 637 RecordFieldPtr<Double> svelCol(rec, "SRCVELOCITY") ; 633 638 *svelCol = h->getURVEL() ; // [m/s] 639 //*svelCol = h->getURVEL() + d->VRAD ; // [m/s] 634 640 RecordFieldPtr<Int> fitCol(rec, "FIT_ID") ; 635 641 *fitCol = -1 ; … … 714 720 count++ ; 715 721 } 722 // DEBUG 723 //int rownum = nreader_->getRowNum() ; 724 //cout << "STFiller::readNRO() Finished row " << i << "/" << rownum << endl ; 725 // 716 726 } 717 727
Note:
See TracChangeset
for help on using the changeset viewer.