org.autoplot.netCDF.NetCdfVarDataSet

wraps a netCDF variable (or HDF5 variable) to present it as a QDataSet.


create

create( Variable variable, String constraint, NetcdfDataset ncfile, ProgressMonitor mon ) → NetCdfVarDataSet

Parameters

variable - a Variable
constraint - a String
ncfile - a NetcdfDataset
mon - a ProgressMonitor

Returns:

org.autoplot.netCDF.NetCdfVarDataSet

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


length

length( ) → int

Returns:

int

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

length( int dim ) → int
length( int dim0, int dim1 ) → int
length( int dim0, int dim1, int dim2 ) → int

parseConstraint

parseConstraint( String constraint, long recCount ) → long[]

returns [ start, stop, stride ] or [ start, -1, -1 ] for slice. This is provided to reduce code and for uniform behavior. See CdfJavaDataSource, which is where this was copied from.

Parameters

constraint - a String
recCount - the number of records for when negative indeces are used.

Returns:

[ start, stop, stride ] or [ start, -1, -1 ] for slice.

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


rank

rank( ) → int

Returns:

int

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


slice

slice( int i ) → QDataSet

Parameters

i - an int

Returns:

org.das2.qds.QDataSet

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


trim

trim( int start, int end ) → QDataSet

Parameters

start - an int
end - an int

Returns:

org.das2.qds.QDataSet

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


value

value( int i ) → double

Parameters

i - an int

Returns:

double

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

value( int i, int j ) → double
value( int i, int j, int k ) → double
value( int i, int j, int k, int l ) → double