Ignore:
Timestamp:
04/20/18 15:04:38 (6 years ago)
Author:
oabramkina
Message:

Trunk: minor modifications for reading UGRID.

Using attribute nvertex defined by a user and not deduced from metadata of a file being read.
Taking into account the fact that the bounds attribute is not required by UGRID.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/domain.cpp

    r1262 r1487  
    13691369               << "Since 'bounds_lat_2d' is defined, 'latvalue_2d' must be defined too." << std::endl); 
    13701370 
    1371        hasBounds = true; 
     1371       //hasBounds = true; 
     1372       // In case of reading UGRID bounds values are not required 
     1373       hasBounds = (!bounds_lat_1d.isEmpty() || !bounds_lat_2d.isEmpty() ); 
    13721374     } 
    13731375     else 
Note: See TracChangeset for help on using the changeset viewer.