Modifier and Type | Method and Description |
---|---|
void |
CDFWriter.addCDF(GenericReader cdf)
Adds previously selected variables, and variables they depend on, from
the given
GenericReader .. |
void |
CDFWriter.addCDF(java.lang.String fname)
Adds previously selected variables, and variables they depend on, from
the given file.
|
void |
CDFWriter.addCDF(java.net.URL url)
Adds previously selected variables, and variables they depend on, from
the given URL.
|
void |
GenericWriter.addData(java.lang.String name,
java.lang.Object data)
Adds data to a variable.same as addData(String name, Object data, false)
|
void |
GenericWriter.addData(java.lang.String name,
java.lang.Object data,
boolean relax)
Adds data to a variable.
|
void |
GenericWriter.addData(java.lang.String name,
java.lang.Object data,
int[] recordRange)
Adds data for a specified record range to a variable.
|
void |
GenericWriter.addData(java.lang.String name,
java.lang.Object data,
int[] recordRange,
boolean relax)
Adds data for a specified record range to a variable.
|
void |
GenericWriter.addGlobalAttributeEntry(java.lang.String name,
CDFDataType dataType,
java.lang.Object value)
Adds a global attribute entry of specified type..
|
void |
GenericWriter.addGlobalAttributeEntry(java.lang.String name,
java.lang.Object value)
Adds a global attribute entry.
|
void |
GenericWriter.addNRVString(java.lang.String name,
java.lang.String value)
Adds an NRV record of string type.
|
void |
GenericWriter.addNRVVariable(java.lang.String name,
CDFDataType dataType,
int[] dim,
int size,
java.lang.Object value)
Adds a NRV record of the given type and dimensions.
|
void |
GenericWriter.addNRVVariable(java.lang.String name,
CDFDataType dataType,
int[] dim,
java.lang.Object value)
Adds a NRV record of the given numeric type and dimension.
|
void |
GenericWriter.addNRVVariable(java.lang.String name,
CDFDataType dataType,
java.lang.Object value)
Adds a scalar NRV record of the given numeric type.
|
void |
GenericWriter.addOneD(java.lang.String name,
java.lang.Object data)
Adds data (represented as a one dimensional array) to a variable.same as addOneD(String name, Object data, null, false)
|
void |
GenericWriter.addOneD(java.lang.String name,
java.lang.Object data,
boolean relax)
Adds data (represented as a one dimensional array) to a variable.same as addOneD(String name, Object data, null, boolean relax)
|
void |
GenericWriter.addOneD(java.lang.String name,
java.lang.Object data,
int[] recordRange)
Adds data (represented as a one dimensional array)
for a specified record range to a variable.same as addOneD(String name, Object data, int[] recordRange, false)
|
void |
GenericWriter.addOneD(java.lang.String name,
java.lang.Object data,
int[] recordRange,
boolean relax)
Adds data (represented as a one dimensional array)
for a specified record range to a variable.
|
void |
GenericWriter.addVariableAttributeEntry(java.lang.String vname,
java.lang.String aname,
CDFDataType dataType,
java.lang.Object value)
Sets the value of a given attribute for a variable.This method creates a new value for the given attribute.
|
void |
GenericWriter.addVariableAttributeEntry(java.lang.String vname,
java.lang.String aname,
java.lang.Object value)
Sets the value of a given attribute for a variable.This method creates a new value for the given attribute.
|
void |
GenericWriter.defineCompressedStringVariable(java.lang.String name,
int[] dim,
int size)
Defines a compressed variable of string type with given dimensions.
|
void |
GenericWriter.defineCompressedTimeSeries(java.lang.String name,
CDFDataType dataType,
int[] dim,
java.lang.String tname,
CDFTimeType timeType)
Defines a time series of the named variable of specified data type and
the time variable of specified name and type.Variable's data is compressed before it is stored
|
void |
GenericWriter.defineCompressedVariable(java.lang.String name,
CDFDataType dataType,
int[] dim)
Defines a compressed variable of specified numeric data type and
dimensions.
|
void |
GenericWriter.defineCompressedVariable(java.lang.String name,
CDFDataType dataType,
int[] dim,
int size)
Defines a compressed variable of string type with given dimensions.
|
void |
GenericWriter.defineNRVVariable(java.lang.String name,
CDFDataType dataType,
int[] dim,
int size)
Defines a NRV record of the given type and dimensions.Parameter size is ignored for variables of numeric types.
|
void |
GenericWriter.defineStringVariable(java.lang.String name,
int[] dim,
boolean[] varys,
boolean recordVariance,
boolean compressed,
java.lang.Object pad,
int size)
Defines a variable of string type using default
sparse record option.same as:
defineStringVariable(String name, int[] dim,
boolean[] varys, boolean recordVariance, boolean compressed,
Object pad, int size, SparseRecordOption.NONE)
|
void |
GenericWriter.defineStringVariable(java.lang.String name,
int[] dim,
boolean[] varys,
boolean recordVariance,
boolean compressed,
java.lang.Object pad,
int size,
SparseRecordOption option)
Defines a variable of string type using given
sparse record option.
|
void |
GenericWriter.defineStringVariable(java.lang.String name,
int[] dim,
int size)
Defines a named variable of string data type
|
void |
GenericWriter.defineTimeSeries(java.lang.String name,
CDFDataType dataType,
int[] dim)
Defines a time series for a new variable of specified data type.Variable's times are contained in a time variable named Epoch which
must have been created before this method is called.
|
void |
GenericWriter.defineTimeSeries(java.lang.String name,
CDFDataType dataType,
int[] dim,
java.lang.String tname)
Defines a time series of the named variable of specified data type
and the time variable of specified name.The named time variable must have been defined before this method
is called.Name of the time variable is assigned to the DEPEND_0
attribute.
|
void |
GenericWriter.defineTimeSeries(java.lang.String name,
CDFDataType dataType,
int[] dim,
java.lang.String tname,
CDFTimeType timeType,
boolean compressed)
Defines a time series of a new named variable of specified data type
and the time variable of specified name and type.
|
void |
GenericWriter.defineTimeVariable(java.lang.String name,
CDFTimeType timeType)
Defines a time variable of the specified
time type . |
void |
GenericWriter.defineVariable(java.lang.String name,
CDFDataType dataType,
int[] dim)
Defines a named variable of specified numeric data type
|
void |
GenericWriter.defineVariable(java.lang.String name,
CDFDataType dataType,
int[] dim,
boolean[] varys,
boolean recordVariance,
boolean compressed,
java.lang.Object pad)
Defines a variable of specified numeric data type using default
sparse record option.
|
void |
GenericWriter.defineVariable(java.lang.String name,
CDFDataType dataType,
int[] dim,
boolean[] varys,
boolean recordVariance,
boolean compressed,
java.lang.Object pad,
int size)
Defines a variable of string type using given
sparse record option.
|
void |
GenericWriter.defineVariable(java.lang.String name,
CDFDataType dataType,
int[] dim,
boolean[] varys,
boolean recordVariance,
boolean compressed,
java.lang.Object pad,
int size,
SparseRecordOption option)
Defines a new variable
|
void |
GenericWriter.defineVariable(java.lang.String name,
CDFDataType dataType,
int[] dim,
boolean[] varys,
boolean recordVariance,
boolean compressed,
java.lang.Object pad,
SparseRecordOption option)
Defines a variable of specified numeric data type using given
sparse record option.
|
void |
GenericWriter.defineVariable(java.lang.String name,
CDFDataType dataType,
int[] dim,
int size)
Defines a named variable of specified numeric data type and dimensions.
|
boolean |
GenericWriter.hasTimeVariable(java.lang.String name)
Returns whether the time variable has been defined for a variable.
|
void |
GenericWriter.setVariableAttributeEntry(java.lang.String vname,
java.lang.String aname,
CDFDataType dataType,
java.lang.Object value)
Sets the value of a given attribute for a variable.
|
void |
GenericWriter.setVariableAttributeEntry(java.lang.String vname,
java.lang.String aname,
java.lang.Object value)
Sets the value of a given attribute for a variable.
|
Constructor and Description |
---|
CDFWriter(GenericReader cdf)
Constructs a
CDFWriter populated
with data from the given GenericReader . |
CDFWriter(java.lang.String fname)
Constructs a column major
CDFWriter populated
with data from the given CDF file. |
CDFWriter(java.lang.String[] files)
Constructs a column major
CDFWriter populated
with data from the given files. |
CDFWriter(java.lang.String[] files,
boolean targetMajority)
Constructs a
CDFWriter of specified row majority,
populated with data from the given files. |
CDFWriter(java.lang.String[] files,
boolean targetMajority,
SelectedVariableCollection col)
Constructs a
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given files. |
CDFWriter(java.lang.String[] files,
SelectedVariableCollection col)
Constructs a column major
CDFWriter populated with
selected variables, and variables they depend on, from the given files. |
CDFWriter(java.lang.String fname,
boolean targetMajority)
Constructs a
CDFWriter of specified row majority,
populated with data from the given file. |
CDFWriter(java.lang.String fname,
boolean targetMajority,
SelectedVariableCollection col)
Constructs a
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given file. |
CDFWriter(java.lang.String fname,
SelectedVariableCollection col)
Constructs a column major
CDFWriter populated with
selected variables, and variables they depend on, from the given file. |
CDFWriter(java.net.URL url)
Constructs a column major
CDFWriter populated
with data from the given URL. |
CDFWriter(java.net.URL[] urls)
Constructs a column major
CDFWriter populated
with data from the given array of URLs. |
CDFWriter(java.net.URL[] urls,
boolean targetMajority)
Constructs a
CDFWriter of specified row majority,
populated with data from the given array of URLs. |
CDFWriter(java.net.URL[] urls,
boolean targetMajority,
SelectedVariableCollection col)
Constructs a
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given array of URLs. |
CDFWriter(java.net.URL[] urls,
SelectedVariableCollection col)
Constructs a column major
CDFWriter populated with
selected variables, and variables they depend on, from the given
array of URLs. |
CDFWriter(java.net.URL url,
boolean targetMajority)
Constructs a
CDFWriter of specified row majority,
populated with data from the given URL. |
CDFWriter(java.net.URL url,
boolean targetMajority,
SelectedVariableCollection col)
Constructs a
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given URL. |
CDFWriter(java.net.URL url,
SelectedVariableCollection col)
Constructs a column major
CDFWriter populated with
selected variables, and variables they depend on, from the given URL. |