public class CDFWriter extends GenericWriter
rowMajority| Constructor and Description |
|---|
CDFWriter(boolean targetMajority)
Constructs a
CDFWriter of given row majority. |
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. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCDF(GenericReader cdf)
Adds previously selected variables, and variables they depend on, from
the given
GenericReader.. |
void |
addCDF(java.lang.String fname)
Adds previously selected variables, and variables they depend on, from
the given file.
|
void |
addCDF(java.net.URL url)
Adds previously selected variables, and variables they depend on, from
the given URL.
|
static void |
addToDoNotCheckList(java.lang.String aname)
Adds an attribute to the list of 'not to be monitored' global attributes.
|
java.lang.String[] |
attributesInDoNotCheckList()
Returns names of 'not to be monitored' global attributes.
|
CDFDataType |
getVariableType(java.lang.String name)
return the type of the variable.
|
static void |
removeFromDoNotCheckList(java.lang.String aname)
Removes an attribute from the list 'not to be monitored' global
attributes.
|
static SelectedVariableCollection |
selectorInstance()
Returns a new instance of the
SelectedVariableCollection. |
void |
setLogger(java.util.logging.Logger _logger)
sets a Logger for this class
|
static void |
setLoggerLevel(java.util.logging.Level newLevel)
Sets Level for the default anonymous Logger for this class.
|
addData, addData, addData, addData, addGlobalAttributeEntry, addGlobalAttributeEntry, addNRVString, addNRVVariable, addNRVVariable, addNRVVariable, addOneD, addOneD, addOneD, addOneD, addVariableAttributeEntry, addVariableAttributeEntry, defineCompressedStringVariable, defineCompressedTimeSeries, defineCompressedVariable, defineCompressedVariable, defineNRVVariable, defineStringVariable, defineStringVariable, defineStringVariable, defineTimeSeries, defineTimeSeries, defineTimeSeries, defineTimeVariable, defineVariable, defineVariable, defineVariable, defineVariable, defineVariable, defineVariable, hasTimeVariable, setLastLeapSecondId, setMD5Needed, setVariableAttributeEntry, setVariableAttributeEntry, write, writepublic CDFWriter(boolean targetMajority)
CDFWriter of given row majority.public CDFWriter(GenericReader cdf) throws CDFException.WriterError, CDFException.ReaderError
CDFWriter populated
with data from the given GenericReader.public CDFWriter(java.lang.String fname)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated
with data from the given CDF file.public CDFWriter(java.lang.String[] files)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated
with data from the given files.public CDFWriter(java.net.URL url)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated
with data from the given URL.public CDFWriter(java.net.URL[] urls)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated
with data from the given array of URLs.public CDFWriter(java.lang.String fname,
SelectedVariableCollection col)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated with
selected variables, and variables they depend on, from the given file.fname - col - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterErrorCDFException.ReaderErrorpublic CDFWriter(java.lang.String[] files,
SelectedVariableCollection col)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated with
selected variables, and variables they depend on, from the given files.files - col - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterErrorCDFException.ReaderErrorpublic CDFWriter(java.net.URL url,
SelectedVariableCollection col)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated with
selected variables, and variables they depend on, from the given URL.url - col - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterErrorCDFException.ReaderErrorpublic CDFWriter(java.net.URL[] urls,
SelectedVariableCollection col)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter populated with
selected variables, and variables they depend on, from the given
array of URLs.urls - col - SelectedVariableCollection that
defines variables to be selected and their propertiesCDFException.WriterErrorCDFException.ReaderErrorpublic CDFWriter(java.lang.String fname,
boolean targetMajority)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter of specified row majority,
populated with data from the given file.public CDFWriter(java.lang.String[] files,
boolean targetMajority)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter of specified row majority,
populated with data from the given files.public CDFWriter(java.net.URL url,
boolean targetMajority)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter of specified row majority,
populated with data from the given URL.public CDFWriter(java.net.URL[] urls,
boolean targetMajority)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter of specified row majority,
populated with data from the given array of URLs.public CDFWriter(java.lang.String fname,
boolean targetMajority,
SelectedVariableCollection col)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given file.public CDFWriter(java.lang.String[] files,
boolean targetMajority,
SelectedVariableCollection col)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given files.public CDFWriter(java.net.URL url,
boolean targetMajority,
SelectedVariableCollection col)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given URL.public CDFWriter(java.net.URL[] urls,
boolean targetMajority,
SelectedVariableCollection col)
throws CDFException.WriterError,
CDFException.ReaderError
CDFWriter of specified row majority,
populated with selected variables, and variables they depend on, from
the given array of URLs.public void addCDF(java.lang.String fname)
throws CDFException.WriterError,
CDFException.ReaderError
public void addCDF(java.net.URL url)
throws CDFException.WriterError,
CDFException.ReaderError
public void addCDF(GenericReader cdf) throws CDFException.ReaderError, CDFException.WriterError
GenericReader..public static SelectedVariableCollection selectorInstance()
SelectedVariableCollection.public CDFDataType getVariableType(java.lang.String name)
name - public void setLogger(java.util.logging.Logger _logger)
public static void setLoggerLevel(java.util.logging.Level newLevel)
setLogger(Logger logger),
this method has no effectpublic static void addToDoNotCheckList(java.lang.String aname)
public static void removeFromDoNotCheckList(java.lang.String aname)
public java.lang.String[] attributesInDoNotCheckList()