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 tryToAddLatLon2D,
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 tryToAddLatLon2D, 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 subset, or null to include everything in gdsOrgtryToAddLatLon2D - add 2D lat/lon coordinates, if possibletestSizeOnly - dont write, just return expected sizewriter - this does the actual writing, may be null if testSizeOnly=truejava.io.IOExceptionInvalidRangeException