Changeset 1432
- Timestamp:
- 02/19/18 15:31:48 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/io/inetcdf4.cpp
r1430 r1432 496 496 std::list<StdString> coords = this->getCoordinatesIdList(name, path); 497 497 std::list<StdString>::const_iterator it = coords.begin(), end = coords.end(); 498 std::set<StdString> dimVarList; 499 498 500 for (; it != end; it++) 499 501 { … … 503 505 std::map<StdString, StdSize> dimvar = this->getDimensions(&coord, path); 504 506 // if ((dimvar.size() == 1) && (dimvar.find(coord) != dimvar.end())) 505 if ((dimvar.size() == 1) ) 507 if ((dimvar.size() == 1)) 508 { 509 dimVarList.insert(dimvar.begin()->first); 506 510 continue; 511 } 507 512 else 508 513 return false; 509 514 } 510 515 } 511 return true; 516 517 return (dimVarList.size() != 1); 512 518 } 513 519
Note: See TracChangeset
for help on using the changeset viewer.