@Deprecated public class DatasetConstructor extends Object
Constructor and Description |
---|
DatasetConstructor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Group |
findGroup(NetcdfFile newFile,
Group oldGroup)
Deprecated.
Find the Group in newFile that corresponds (by name) with oldGroup
|
static Dimension |
getBoundsDimension(NetcdfFile ncfile)
Deprecated.
|
static void |
transferDataset(NetcdfFile src,
NetcdfDataset target,
ReplaceVariableCheck replaceCheck)
Deprecated.
Copy contents of "src" to "target".
|
static void |
transferGroupAttributes(Group src,
Group target)
Deprecated.
Copy attributes from src to target, skip ones that already exist (by name)
|
static void |
transferVariableAttributes(Variable src,
Variable target)
Deprecated.
Copy attributes from src to target, skip ones that already exist (by name)
|
public static void transferDataset(NetcdfFile src, NetcdfDataset target, ReplaceVariableCheck replaceCheck)
src
- transfer from here. If src is a NetcdfDataset, transferred variables get reparented to target group.target
- transfer to this NetcdfDataset.replaceCheck
- if null, add if a Variable of the same name doesnt already exist, otherwise
replace if replaceCheck.replace( Variable v) is truepublic static void transferVariableAttributes(Variable src, Variable target)
src
- copy from heretarget
- copy to herepublic static void transferGroupAttributes(Group src, Group target)
src
- copy from heretarget
- copy to herepublic static Group findGroup(NetcdfFile newFile, Group oldGroup)
newFile
- look in this NetcdfFileoldGroup
- corresponding (by name) with oldGrouppublic static Dimension getBoundsDimension(NetcdfFile ncfile)