org.autoplot.dods.DodsAdapter

DodsAdapter( java.net.URL source, String variable )

Creates a new instance of DodsAdapter


getAddOffset

getAddOffset( ) → double

Getter for property addOffset.

Returns:

Value of property addOffset.

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


getConstraint

getConstraint( ) → String

get the constraint, such as "?sst[0:100:1811][0:10:35][0:10:71]"

Returns:

the constraint

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


getDataSet

getDataSet( java.util.Map attributes ) → QDataSet

This is the code that converts the OpenDAP structures and data types into QDataSet

Parameters

attributes - a java.util.Map

Returns:

a QDataSet

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


getDepend0Name

getDepend0Name( ) → String

Getter for property depend0Name.

Returns:

Value of property depend0Name.

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


getDepend1Name

getDepend1Name( ) → String

Getter for property depend1Name.

Returns:

Value of property depend1Name.

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


getDependName

getDependName( int index ) → String

Indexed getter for property dependName.

Parameters

index - Index of the property.

Returns:

Value of the property at index.

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

getDimProperties( int i ) → java.util.HashMap [view source]

getDimUnits

getDimUnits( int index ) → Units

Indexed getter for property dimUnits, which specifies the units of a dimension tag.

Parameters

index - Index of the property.

Returns:

Value of the property at index.

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


getScaleFactor

getScaleFactor( ) → double

Getter for property scaleFactor.

Returns:

Value of property scaleFactor.

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

getSource( ) → java.net.URL [view source]

getUnits

getUnits( ) → Units

Getter for property units.

Returns:

Value of property units.

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


getVariable

getVariable( ) → String

get the variable, such as "sst"

Returns:

the variable

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


loadDataset

loadDataset( ProgressMonitor mon, java.util.Map attr ) → void

Load the dataset.

Parameters

mon - progress monitor
attr - look for hints in attr about the length of the load. Virbo/TSDS put a recCount for sequences.

Returns:

void (returns nothing)

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

putAllProperties( java.util.Map p ) → void [view source]

setAddOffset

setAddOffset( double addOffset ) → void

Setter for property addOffset.

Parameters

addOffset - New value of property addOffset.

Returns:

void (returns nothing)

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

setConstraint( String c ) → void [view source]

setDepend0Name

setDepend0Name( String depend0Name ) → void

Setter for property depend0Name.

Parameters

depend0Name - New value of property depend0Name.

Returns:

void (returns nothing)

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


setDepend1Name

setDepend1Name( String depend1Name ) → void

Setter for property depend1Name.

Parameters

depend1Name - New value of property depend1Name.

Returns:

void (returns nothing)

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


setDependName

setDependName( int index, String dependName ) → void

Indexed setter for property dependName.

Parameters

index - Index of the property.
dependName - New value of the property at index.

Returns:

void (returns nothing)

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

setDimProperties( int dim, java.util.Map p ) → void [view source]

setDimUnits

setDimUnits( int index, Units dimUnits ) → void

Specifies the units of a dimension tag.

Parameters

index - Index of the property.
dimUnits - New value of the property at index.

Returns:

void (returns nothing)

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


setScaleFactor

setScaleFactor( double scaleFactor ) → void

Setter for property scaleFactor.

Parameters

scaleFactor - New value of property scaleFactor.

Returns:

void (returns nothing)

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


setUnits

setUnits( Units units ) → void

Setter for property units.

Parameters

units - New value of property units.

Returns:

void (returns nothing)

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

setValidRange( double min, double max ) → void [view source]