public class CFGridCoverageWriter2
extends java.lang.Object
| Constructor and Description |
|---|
CFGridCoverageWriter2() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<java.lang.Long> |
writeOrTestSize(CoverageCollection gdsOrg,
java.util.List<java.lang.String> gridNames,
SubsetParams subset,
boolean addLatLon,
boolean testSizeOnly,
NetcdfFileWriter writer)
Write a netcdf/CF file from a CoverageDataset
|
public static Optional<java.lang.Long> writeOrTestSize(CoverageCollection gdsOrg, java.util.List<java.lang.String> gridNames, SubsetParams subset, boolean addLatLon, boolean testSizeOnly, NetcdfFileWriter writer) throws java.io.IOException, InvalidRangeException
gdsOrg - the CoverageDatasetgridNames - the list of coverage names to be written, or null for allsubset - defines the requested subsetaddLatLon - add 2D lat/lon coordinates if neededtestSizeOnly - dont write, just return expected sizewriter - this does the actual writing, may be null if testSizeOnly=truejava.io.IOExceptionInvalidRangeException