public void toString(Formatter f) {
Indent indent = new Indent(2);
f.format("%sGridDatasetCoverage %s%n", indent, name);
f.format("%s Global attributes:%n", indent);
for (Attribute att : atts.getAttributes())
f.format("%s %s%n", indent, att);
f.format("%s Date Range:%s%n", indent, calendarDateRange);
f.format("%s LatLon BoundingBox:%s%n", indent, latLonBoundingBox);
if (projBoundingBox != null)
f.format("%s Projection BoundingBox:%s%n", indent, projBoundingBox);
f.format("%n%s Coordinate Systems:%n", indent);
for (CoverageCoordSys cs : coordSys)
cs.toString(f, indent);
f.format("%s Coordinate Transforms:%n", indent);
for (CoverageTransform t : coordTransforms)
t.toString(f, indent);
f.format("%s Coordinate Axes:%n", indent);
for (CoverageCoordAxis a : coordAxes)
a.toString(f, indent);
f.format("%n%s Grids:%n", indent);
for (Coverage grid : getCoverages())
grid.toString(f, indent);
}