@Immutable public class CoverageCoordAxis1D extends CoverageCoordAxis
CoverageCoordAxis.DependenceType, CoverageCoordAxis.Spacing
Modifier and Type | Field and Description |
---|---|
protected RangeComposite |
crange |
protected Range |
range |
attributes, axisType, dataType, dependenceType, dependsOn, description, endValue, isSubset, name, ncoords, reader, resolution, spacing, startValue, timeHelper, units, values
Constructor and Description |
---|
CoverageCoordAxis1D(CoverageCoordAxisBuilder builder) |
attributes, compareTo, convert, findAttribute, getAttributeContainer, getAttributes, getAxisType, getCalendar, getCalendarDateUnit, getDataType, getDateRange, getDependenceType, getDependsOn, getDependsOnList, getDescription, getEndValue, getHasData, getName, getNcoords, getOffsetInTimeUnits, getRefDate, getResolution, getShape, getSpacing, getStartValue, getUnits, getValues, isInterval, isRegular, isScalar, isSubset, loadValuesIfNeeded, makeDate, makeDateInTimeUnits, setDataset, toString
protected final Range range
protected final RangeComposite crange
public CoverageCoordAxis1D(CoverageCoordAxisBuilder builder)
public RangeIterator getRangeIterator()
getRangeIterator
in class CoverageCoordAxis
public Range getRange()
getRange
in class CoverageCoordAxis
public void toString(java.util.Formatter f, Indent indent)
toString
in class CoverageCoordAxis
public java.lang.String getSummary()
getSummary
in class CoverageCoordAxis
public boolean isAscending()
public double getCoord(int index)
public double getCoordMidpoint(int index)
public double getCoordEdge1(int index)
public double getCoordEdge2(int index)
public double getCoordEdgeFirst()
public double getCoordEdgeLast()
public Array getCoordsAsArray()
getCoordsAsArray
in class CoverageCoordAxis
public Array getCoordBoundsAsArray()
getCoordBoundsAsArray
in class CoverageCoordAxis
public Optional<CoverageCoordAxis> subset(double minValue, double maxValue, int stride)
subset
in class CoverageCoordAxis
public java.lang.Object getCoordObject(int index)
@Deprecated public java.util.List<NamedObject> getCoordValueNames()
public CoverageCoordAxis copy()
copy
in class CoverageCoordAxis
public Optional<CoverageCoordAxis> subset(SubsetParams params)
subset
in class CoverageCoordAxis
public Optional<CoverageCoordAxis> subsetByIntervals(java.util.List<MAMath.MinMax> lonIntvs, int stride)
public Optional<CoverageCoordAxis> subsetByIndex(Range range)
protected Optional<CoverageCoordAxisBuilder> subsetBuilder(SubsetParams params)
public Optional<CoverageCoordAxis> subsetDependent(CoverageCoordAxis1D dependsOn)
subsetDependent
in class CoverageCoordAxis
public java.util.Iterator<java.lang.Object> iterator()