public abstract class CoverageCoordAxis extends java.lang.Object implements java.lang.Comparable<CoverageCoordAxis>
Modifier and Type | Class and Description |
---|---|
static class |
CoverageCoordAxis.DependenceType |
static class |
CoverageCoordAxis.Spacing |
Modifier and Type | Field and Description |
---|---|
protected AttributeContainer |
attributes |
protected AxisType |
axisType |
protected DataType |
dataType |
protected CoverageCoordAxis.DependenceType |
dependenceType |
protected java.util.List<java.lang.String> |
dependsOn |
protected java.lang.String |
description |
protected double |
endValue |
protected boolean |
isSubset |
protected java.lang.String |
name |
protected int |
ncoords |
protected CoordAxisReader |
reader |
protected double |
resolution |
protected CoverageCoordAxis.Spacing |
spacing |
protected double |
startValue |
protected TimeHelper |
timeHelper |
protected java.lang.String |
units |
protected double[] |
values |
Modifier | Constructor and Description |
---|---|
protected |
CoverageCoordAxis(CoverageCoordAxisBuilder builder) |
protected final java.lang.String name
protected final java.lang.String description
protected final DataType dataType
protected final AxisType axisType
protected final AttributeContainer attributes
protected final CoverageCoordAxis.DependenceType dependenceType
protected final java.util.List<java.lang.String> dependsOn
protected final int ncoords
protected final CoverageCoordAxis.Spacing spacing
protected final double startValue
protected final double endValue
protected final double resolution
protected final CoordAxisReader reader
protected final boolean isSubset
protected final TimeHelper timeHelper
protected final java.lang.String units
protected double[] values
protected CoverageCoordAxis(CoverageCoordAxisBuilder builder)
protected void setDataset(CoordSysContainer dataset)
public int compareTo(CoverageCoordAxis o)
compareTo
in interface java.lang.Comparable<CoverageCoordAxis>
public abstract CoverageCoordAxis copy()
public abstract Optional<CoverageCoordAxis> subset(SubsetParams params)
public abstract Optional<CoverageCoordAxis> subset(double minValue, double maxValue, int stride)
public abstract Optional<CoverageCoordAxis> subsetDependent(CoverageCoordAxis1D dependsOn)
public abstract Array getCoordsAsArray()
public abstract Array getCoordBoundsAsArray()
public java.lang.String getName()
public DataType getDataType()
public AxisType getAxisType()
public AttributeContainer attributes()
@Deprecated public java.util.List<Attribute> getAttributes()
@Deprecated public Attribute findAttribute(java.lang.String attName)
@Deprecated public AttributeContainer getAttributeContainer()
public int getNcoords()
public CoverageCoordAxis.Spacing getSpacing()
public boolean isRegular()
public double getResolution()
public double getStartValue()
public double getEndValue()
public java.lang.String getUnits()
public java.lang.String getDescription()
public CoverageCoordAxis.DependenceType getDependenceType()
public boolean isScalar()
public java.lang.String getDependsOn()
public java.util.List<java.lang.String> getDependsOnList()
public boolean getHasData()
public boolean isSubset()
public boolean isInterval()
public java.lang.String toString()
toString
in class java.lang.Object
public int[] getShape()
public Range getRange()
public RangeIterator getRangeIterator()
public void toString(java.util.Formatter f, Indent indent)
public java.lang.String getSummary()
public double convert(CalendarDate date)
public CalendarDate makeDate(double value)
public CalendarDateRange getDateRange()
public double getOffsetInTimeUnits(CalendarDate start, CalendarDate end)
public CalendarDate makeDateInTimeUnits(CalendarDate start, double addTo)
public CalendarDate getRefDate()
public Calendar getCalendar()
public CalendarDateUnit getCalendarDateUnit()
protected void loadValuesIfNeeded()
public double[] getValues()