if (gridAttribute != null && locationAttribute != null) {
String gridId = gridAttribute.getStringValue();
Map<String, StaggeredHorizontalGrid> location2grid = sgridDefinitions.get(gridId);
StaggeredHorizontalGrid staggeredGrid = location2grid.get(locationAttribute
.getStringValue());
<BUG>List<Dimension> dimensions = var.getDimensions();
</BUG>
if (dimensions.size() < 2) {
log.error("The variable "
+ var.getFullName()

if (gridAttribute != null && locationAttribute != null) {
String gridId = gridAttribute.getStringValue();
Map<String, StaggeredHorizontalGrid> location2grid = sgridDefinitions.get(gridId);
StaggeredHorizontalGrid staggeredGrid = location2grid.get(locationAttribute
.getStringValue());
List<Dimension> dimensions = new ArrayList<>(var.getDimensions());
if (dimensions.size() < 2) {
log.error("The variable "
+ var.getFullName()
