org.autoplot.das2Stream.Das2StreamDataSourceFormat

Format the data into das2 streams.

Das2StreamDataSourceFormat( )


canFormat

canFormat( QDataSet ds ) → boolean

Parameters

ds - a QDataSet

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


formatData

formatData( String url, QDataSet data, ProgressMonitor mon ) → void

Parameters

url - a String
data - a QDataSet
mon - a ProgressMonitor

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getBinary

getBinary( String uri ) → boolean

Parameters

uri - a String

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getDescription

getDescription( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getFracSeconds

getFracSeconds( String uri ) → int

Get the fractional seconds value for das2 text streams from an Autoplot URI

Parameters

uri - An Autoplot URI string

Returns:

an integer from 0 to 12

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getSigDigits

getSigDigits( String uri ) → int

Get the number of general significant digits for das2 text streams from an Autoplot URI

Parameters

uri - An Autoplot URI string

Returns:

an integer from 2 to 14

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getVersion

getVersion( String uri ) → String

Get the das2 stream version value from an Autoplot URI

Parameters

uri - an Autoplot URI string

Returns:

a string representing the version value. Only the strings QdsToD2sStream.FORMAT_2_2 or QdsToD2sStream.FORMAT_2_3_BASIC are returned

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setOptions

setOptions( org.autoplot.datasource.URISplit lSplit, String version, boolean binary, int sigdigit, int fracsec ) → URISplit

Add Das2 export options into a split autoplot URI

Parameters

lSplit - an URISplit
version - A version string, one of QdsToD2sStream.FORMAT_2_2, QdsToD2sStream.FORMAT_2_3_BASIC, etc
binary - True if a binary stream should be generated
sigdigit - The number of significant digits to use for general text data output
fracsec - The number of fractional seconds to use for general text time output

Returns:

an org.autoplot.datasource.URISplit

[search for examples] [view on GitHub] [view on old javadoc] [view source]