@Deprecated
public class CFGridCoverageWriter2
extends java.lang.Object
Constructor and Description |
---|
CFGridCoverageWriter2()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Optional<java.lang.Long> |
getSizeOfOutput(CoverageCollection gdsOrg,
java.util.List<java.lang.String> gridNames,
SubsetParams subset,
boolean tryToAddLatLon2D)
Deprecated.
|
static Optional<java.lang.Long> |
write(CoverageCollection gdsOrg,
java.util.List<java.lang.String> gridNames,
SubsetParams subset,
boolean tryToAddLatLon2D,
NetcdfFileWriter writer)
Deprecated.
Write a netcdf/CF file from a CoverageDataset
|
public static Optional<java.lang.Long> write(CoverageCollection gdsOrg, java.util.List<java.lang.String> gridNames, SubsetParams subset, boolean tryToAddLatLon2D, 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 possiblewriter
- this does the actual writing, must not be nulljava.io.IOException
InvalidRangeException
public static Optional<java.lang.Long> getSizeOfOutput(CoverageCollection gdsOrg, java.util.List<java.lang.String> gridNames, SubsetParams subset, boolean tryToAddLatLon2D) throws java.io.IOException, InvalidRangeException
java.io.IOException
InvalidRangeException