.toString());
}
// try north south, east west
if (geoCoverage.getNorthSouthRange() != null) {
Range nsRange = geoCoverage.getNorthSouthRange();
ProfileUtils.addIfNotNull(met, "NorthSouthRangeStart",
String.valueOf(nsRange.getStart()));
ProfileUtils.addIfNotNull(met, "NorthSouthRangeResolution",
String.valueOf(nsRange.getResolution()));
ProfileUtils.addIfNotNull(met, "NorthSouthRangeSize",
String.valueOf(nsRange.getSize()));
ProfileUtils.addIfNotNull(met, "NorthSouthRangeUnits",
nsRange.getUnits());
ProfileUtils.addIfNotNull(met, "NorthSouthRangeStop",
String.valueOf(nsRange.getStart()+nsRange.getSize()));
}
if (geoCoverage.getEastWestRange() != null) {
Range nsRange = geoCoverage.getEastWestRange();
ProfileUtils.addIfNotNull(met, "EastWestRangeStart",
String.valueOf(nsRange.getStart()));
ProfileUtils.addIfNotNull(met, "EastWestRangeResolution",
String.valueOf(nsRange.getResolution()));
ProfileUtils.addIfNotNull(met, "EastWestRangeSize",
String.valueOf(nsRange.getSize()));
ProfileUtils.addIfNotNull(met, "EastWestRangeUnits",
nsRange.getUnits());
ProfileUtils.addIfNotNull(met, "EastWestRangeStop",
String.valueOf(nsRange.getStart()+nsRange.getSize()));
}
ProfileUtils.addIfNotNull(met, "GeospatialCoverageLatitudeResolution",
String.valueOf(dataset.getGeospatialCoverage().getLatResolution()));
ProfileUtils.addIfNotNull(met, "GeospatialCoverageLongitudeResolution",