Changeset 1622 for XIOS/trunk/src/io/nc4_data_input.cpp
- Timestamp:
- 12/11/18 13:22:07 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/io/nc4_data_input.cpp
r1582 r1622 29 29 30 30 StdSize CNc4DataInput::getFieldNbRecords_(CField* field) 31 TRY 31 32 { 32 33 StdString fieldId = field->getFieldOutputName(); … … 40 41 return 1; 41 42 } 43 CATCH 42 44 43 45 void CNc4DataInput::readFieldData_(CField* field) 46 TRY 44 47 { 45 48 CContext* context = CContext::getCurrent(); … … 121 124 } 122 125 } 126 CATCH 123 127 124 128 void CNc4DataInput::readFieldAttributes_(CField* field, bool readAttributeValues) 129 TRY 125 130 { 126 131 StdString fieldId = field->getFieldOutputName(); … … 248 253 } 249 254 } 255 CATCH 250 256 251 257 /*! … … 258 264 void CNc4DataInput::readDomainAttributeValueFromFile(CDomain* domain, std::list<std::pair<StdString, StdSize> >& dimSizeMap, 259 265 int elementPosition, const StdString& fieldId) 266 TRY 260 267 { 261 268 // There are some optional attributes of a domain to retrieve from file // + lon lat? … … 436 443 domain->fillInLonLat(); 437 444 } 445 CATCH 438 446 439 447 /*! … … 446 454 void CNc4DataInput::readDomainAttributesFromFile(CDomain* domain, std::list<std::pair<StdString, StdSize> >& dimSizeMap, 447 455 int elementPosition, const StdString& fieldId) 456 TRY 448 457 { 449 458 // There are some mandatory attributes of a domain to retrieve from file … … 514 523 } 515 524 } 525 CATCH 516 526 517 527 /*! … … 524 534 void CNc4DataInput::readAxisAttributesFromFile(CAxis* axis, std::list<std::pair<StdString, StdSize> >& dimSizeMap, 525 535 int elementPosition, const StdString& fieldId) 536 TRY 526 537 { 527 538 std::list<std::pair<StdString, StdSize> >::const_iterator itMapN = dimSizeMap.begin(), … … 540 551 axis->n_glo.setValue(itMapN->second); 541 552 } 553 CATCH 542 554 543 555 /*! … … 550 562 void CNc4DataInput::readAxisAttributeValueFromFile(CAxis* axis, std::list<std::pair<StdString, StdSize> >& dimSizeMap, 551 563 int elementPosition, const StdString& fieldId) 564 TRY 552 565 { 553 566 std::list<std::pair<StdString, StdSize> >::const_iterator itMapN = dimSizeMap.begin(), … … 570 583 } 571 584 } 585 CATCH 572 586 573 587 /*! … … 598 612 599 613 void CNc4DataInput::closeFile_(void) 614 TRY 600 615 { 601 616 SuperClassWriter::close(); 602 617 } 618 CATCH 603 619 } // namespace xios
Note: See TracChangeset
for help on using the changeset viewer.