public class TsmlNcml
extends java.lang.Object
| Constructor and Description |
|---|
TsmlNcml() |
| Modifier and Type | Method and Description |
|---|---|
QDataSet |
doRead(java.net.URL url,
java.net.URLConnection connect)
read the ncml+tsml from the url, and follow references to read in the dataset.
|
protected MutablePropertyDataSet |
location(org.w3c.dom.Node node) |
static void |
main(java.lang.String[] args) |
protected MutablePropertyDataSet |
netcdf(org.w3c.dom.Node node) |
protected MutablePropertyDataSet |
tsds(java.net.URL url,
int size,
int len1,
java.lang.Object type,
ProgressMonitor mon)
Read in the binary table from the server.
|
protected MutablePropertyDataSet |
tsdsLocation(org.w3c.dom.Node node)
read in values in a different location using the org.timeseries.tsds IOServiceProvider.
|
protected MutablePropertyDataSet |
variable(org.w3c.dom.Node node,
java.util.Map<java.lang.String,org.w3c.dom.Node> dimensions,
MutablePropertyDataSet values) |
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic QDataSet doRead(java.net.URL url, java.net.URLConnection connect) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
url - the location of ncml+tsml file. This also defines the codebase for references within the file.connect, - if non-null, use this connection. url must still be provided to define the codebase.java.io.IOExceptionjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionprotected MutablePropertyDataSet netcdf(org.w3c.dom.Node node) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLExceptionjava.io.IOExceptionprotected MutablePropertyDataSet location(org.w3c.dom.Node node) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLExceptionjava.io.IOExceptionprotected MutablePropertyDataSet variable(org.w3c.dom.Node node, java.util.Map<java.lang.String,org.w3c.dom.Node> dimensions, MutablePropertyDataSet values)
node - dimensions - values - if non-null, these are the values read in via iosp.protected MutablePropertyDataSet tsdsLocation(org.w3c.dom.Node node) throws java.net.MalformedURLException, java.io.IOException
node - java.net.MalformedURLExceptionjava.io.IOExceptionprotected MutablePropertyDataSet tsds(java.net.URL url, int size, int len1, java.lang.Object type, ProgressMonitor mon) throws java.io.IOException
url - url location of the data.size - the total size of the streamlen1 - length per record if rank 2, -1 if rank 1.type - BufferDataSet.Float, etc.mon - java.io.IOException