Interface NetCDFDimensionIndexes.TimeAxisLookup
- All Superinterfaces:
NetCDFDimensionIndexes.AxisLookup
- All Known Implementing Classes:
NetCDFDimensionIndexes.ArrayTimeAxisLookup,NetCDFDimensionIndexes.RegularTimeAxisLookup
- Enclosing class:
- NetCDFDimensionIndexes
public static interface NetCDFDimensionIndexes.TimeAxisLookup
extends NetCDFDimensionIndexes.AxisLookup
Lookup interface for temporal axes such as the TIME dimension.
Provides resolution from a temporal value to its corresponding axis index, supporting both exact matches and range queries. Implementations may be backed by regular (start + increment) or irregular coordinate variables.
All lookup methods assume the underlying axis values are ordered.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the index of the axis element exactly matching the provided value.intfirstIndexAfter(Date value, boolean inclusive) Returns the first index whose value is after, or optionally equal to, the provided value.intlastIndexBefore(Date value, boolean inclusive) Returns the exclusive upper bound index for values before, or optionally equal to, the provided value.valueAt(int index) Returns the temporal value at the specified axis index.Methods inherited from interface NetCDFDimensionIndexes.AxisLookup
size
-
Method Details
-
exact
Returns the index of the axis element exactly matching the provided value. -
firstIndexAfter
Returns the first index whose value is after, or optionally equal to, the provided value. -
lastIndexBefore
Returns the exclusive upper bound index for values before, or optionally equal to, the provided value. -
valueAt
Returns the temporal value at the specified axis index.
-