Changeset 1582
- Timestamp:
- 09/19/18 14:43:25 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/io/nc4_data_input.cpp
r1573 r1582 494 494 domain->ni_glo.setValue(itMapNi->second); 495 495 } 496 497 // determine if coordinates values are present in file 498 if ((CDomain::type_attr::rectilinear == domain->type)) 499 { 500 // Ok, try to read some attributes such as longitude and latitude 501 domain->hasLatInReadFile_ = SuperClassWriter::hasVariable(itMapNj->first); 502 domain->hasLonInReadFile_ = SuperClassWriter::hasVariable(itMapNi->first); 503 } 504 else if ((CDomain::type_attr::curvilinear == domain->type) || (CDomain::type_attr::unstructured == domain->type) ) 505 { 506 StdString latName = this->getLatCoordName(fieldId); 507 domain->hasLatInReadFile_ = SuperClassWriter::hasVariable(latName) ; 508 StdString lonName = this->getLonCoordName(fieldId); 509 domain->hasLonInReadFile_ = SuperClassWriter::hasVariable(lonName) ; 510 StdString boundsLatName = this->getBoundsId(latName); 511 domain->hasBoundsLatInReadFile_ = SuperClassWriter::hasVariable(boundsLatName) ; 512 StdString boundsLonName = this->getBoundsId(lonName); 513 domain->hasBoundsLonInReadFile_ = SuperClassWriter::hasVariable(boundsLonName) ; 514 } 496 515 } 497 516
Note: See TracChangeset
for help on using the changeset viewer.