}
LOGGER.info(overallVertical.toString());
}
// HORIZONTAL DOMAIN
final SpatialDomain spatialDomain = gridSource.getSpatialDomain();
if (spatialDomain == null) {
LOGGER.info("Horizontal domain is null");
} else {
// print the horizontal domain elements
final CoordinateReferenceSystem crs2D = spatialDomain.getCoordinateReferenceSystem2D();
assert crs2D != null;
final MathTransform2D g2w = spatialDomain.getGridToWorldTransform(null);
assert g2w != null;
final Set<? extends BoundingBox> spatialElements = spatialDomain.getSpatialElements(true, null);
assert spatialElements != null && !spatialElements.isEmpty();
final StringBuilder buf = new StringBuilder();
buf.append("Horizontal domain is as follows:\n");
buf.append("G2W:").append("\t").append(g2w).append("\n");