Ignore:
Timestamp:
04/20/18 14:33:46 (6 years ago)
Author:
oabramkina
Message:

XIOS_DEV_CMIP: 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/dev/XIOS_DEV_CMIP6/src/node/domain.cpp

    r1457 r1486  
    14981498               << "Since 'bounds_lat_2d' is defined, 'latvalue_2d' must be defined too." << std::endl); 
    14991499 
    1500        hasBounds = true; 
     1500       // In case of reading UGRID bounds values are not required 
     1501       hasBounds = (!bounds_lat_1d.isEmpty() || !bounds_lat_2d.isEmpty() ); 
    15011502     } 
    15021503     else if (hasBoundValues) 
Note: See TracChangeset for help on using the changeset viewer.