Package ucar.nc2.dataset
Class NetcdfDataset.Builder<T extends NetcdfDataset.Builder<T>>
java.lang.Object
ucar.nc2.NetcdfFile.Builder<T>
ucar.nc2.dataset.NetcdfDataset.Builder<T>
- Enclosing class:
- NetcdfDataset
public abstract static class NetcdfDataset.Builder<T extends NetcdfDataset.Builder<T>>
extends NetcdfFile.Builder<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionucar.nc2.ncml.AggregationIFucar.nc2.internal.dataset.CoordinatesHelper.BuilderFields inherited from class ucar.nc2.NetcdfFile.Builder
location, rootGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEnhanceMode(NetcdfDataset.Enhance addEnhanceMode) voidaddEnhanceModes(Set<NetcdfDataset.Enhance> addEnhanceModes) build()copyFrom(NetcdfFile orgFile) Copy metadata from orgFile.voidremoveEnhanceMode(NetcdfDataset.Enhance removeEnhanceMode) voidreplaceCoordinateAxis(Group.Builder group, CoordinateAxis.Builder axis) Add a CoordinateAxis to the dataset coordinates and to the list of variables.setAggregation(ucar.nc2.ncml.AggregationIF agg) setConventionUsed(String convUsed) setEnhanceMode(Set<NetcdfDataset.Enhance> enhanceMode) setOrgFile(NetcdfFile orgFile) Methods inherited from class ucar.nc2.NetcdfFile.Builder
setId, setIosp, setLocation, setRootGroup, setTitle
-
Field Details
-
orgFile
-
coords
public ucar.nc2.internal.dataset.CoordinatesHelper.Builder coords -
agg
public ucar.nc2.ncml.AggregationIF agg
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
replaceCoordinateAxis
Add a CoordinateAxis to the dataset coordinates and to the list of variables. Replaces any existing Variable and CoordinateAxis with the same name. -
setOrgFile
-
setConventionUsed
-
setEnhanceMode
-
setDefaultEnhanceMode
-
getEnhanceMode
-
addEnhanceMode
-
removeEnhanceMode
-
addEnhanceModes
-
setAggregation
-
copyFrom
Copy metadata from orgFile. Do not copy the coordinates, etc -
build
- Overrides:
buildin classNetcdfFile.Builder<T extends NetcdfDataset.Builder<T>>
-