public abstract static class NetcdfDataset.Builder<T extends NetcdfDataset.Builder<T>> extends NetcdfFile.Builder<T>
Modifier and Type | Field and Description |
---|---|
ucar.nc2.ncml.AggregationIF |
agg |
ucar.nc2.internal.dataset.CoordinatesHelper.Builder |
coords |
NetcdfFile |
orgFile |
location, rootGroup
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
void |
addEnhanceMode(NetcdfDataset.Enhance addEnhanceMode) |
void |
addEnhanceModes(java.util.Set<NetcdfDataset.Enhance> addEnhanceModes) |
NetcdfDataset |
build() |
T |
copyFrom(NetcdfFile orgFile)
Copy metadata from orgFile.
|
java.util.Set<NetcdfDataset.Enhance> |
getEnhanceMode() |
void |
removeEnhanceMode(NetcdfDataset.Enhance removeEnhanceMode) |
void |
replaceCoordinateAxis(Group.Builder group,
CoordinateAxis.Builder axis)
Add a CoordinateAxis to the dataset coordinates and to the list of variables.
|
T |
setAggregation(ucar.nc2.ncml.AggregationIF agg) |
T |
setConventionUsed(java.lang.String convUsed) |
T |
setDefaultEnhanceMode() |
T |
setEnhanceMode(java.util.Set<NetcdfDataset.Enhance> enhanceMode) |
T |
setOrgFile(NetcdfFile orgFile) |
setId, setIosp, setLocation, setRootGroup, setTitle
public ucar.nc2.ncml.AggregationIF agg
public ucar.nc2.internal.dataset.CoordinatesHelper.Builder coords
@Nullable public NetcdfFile orgFile
public void addEnhanceMode(NetcdfDataset.Enhance addEnhanceMode)
public void addEnhanceModes(java.util.Set<NetcdfDataset.Enhance> addEnhanceModes)
public NetcdfDataset build()
build
in class NetcdfFile.Builder<T extends NetcdfDataset.Builder<T>>
public T copyFrom(NetcdfFile orgFile)
public java.util.Set<NetcdfDataset.Enhance> getEnhanceMode()
public void removeEnhanceMode(NetcdfDataset.Enhance removeEnhanceMode)
public void replaceCoordinateAxis(Group.Builder group, CoordinateAxis.Builder axis)
public T setAggregation(ucar.nc2.ncml.AggregationIF agg)
public T setConventionUsed(java.lang.String convUsed)
public T setDefaultEnhanceMode()
public T setEnhanceMode(java.util.Set<NetcdfDataset.Enhance> enhanceMode)
public T setOrgFile(NetcdfFile orgFile)