@Deprecated public class CFGridCoverageWriter2 extends Object
| Constructor and Description |
|---|
CFGridCoverageWriter2()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<Long> |
getSizeOfOutput(CoverageCollection gdsOrg,
List<String> gridNames,
SubsetParams subset,
boolean tryToAddLatLon2D)
Deprecated.
|
static Optional<Long> |
write(CoverageCollection gdsOrg,
List<String> gridNames,
SubsetParams subset,
boolean tryToAddLatLon2D,
NetcdfFileWriter writer)
Deprecated.
Write a netcdf/CF file from a CoverageDataset
|
public static Optional<Long> write(CoverageCollection gdsOrg, List<String> gridNames, SubsetParams subset, boolean tryToAddLatLon2D, NetcdfFileWriter writer) throws 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 nullIOExceptionInvalidRangeExceptionpublic static Optional<Long> getSizeOfOutput(CoverageCollection gdsOrg, List<String> gridNames, SubsetParams subset, boolean tryToAddLatLon2D) throws IOException, InvalidRangeException
IOExceptionInvalidRangeException