final case class VariableSection(variable: Variable, section: Vec[OpenRange], scale: Scale = Scale.Identity) extends VariableLike with Product with Serializable
A variable section is a non destructive selection within the dimension of a variable, possibly applying scaling to its values.
- variable
the original NetCDF variable
- section
the range selection within the dimension
- Alphabetic
- By Inheritance
- VariableSection
- Serializable
- Serializable
- Product
- Equals
- VariableLike
- HasDimensions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
VariableSection(variable: Variable, section: Vec[OpenRange], scale: Scale = Scale.Identity)
- variable
the original NetCDF variable
- section
the range selection within the dimension
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
applyScale(scale: Scale): VariableSection
- Definition Classes
- VariableSection → VariableLike
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
dataType: DataType
- Definition Classes
- VariableSection → VariableLike
-
def
dimensionMap: Map[String, Dimension]
- Definition Classes
- HasDimensions
-
lazy val
dimensions: Vec[Dimension]
- Definition Classes
- VariableSection → HasDimensions
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
file: NetcdfFile
- Definition Classes
- VariableSection → VariableLike
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
in(dim: String): In
Selects a dimension in which a subsequent selection should be made.
Selects a dimension in which a subsequent selection should be made. A typical call is
section in "dim-name" select some-range- dim
the dimension to operate on, specified as its name
- returns
an object holding the section along with the dimension selection, ready to apply a particular range selection
- Definition Classes
- VariableSection → VariableLike
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
linexp(srcLo: Double, srcHi: Double, dstLo: Double, dstHi: Double, clip: Boolean = false): VariableSection
- Definition Classes
- VariableLike
-
def
linlin(srcLo: Double, srcHi: Double, dstLo: Double, dstHi: Double, clip: Boolean = false): VariableSection
- Definition Classes
- VariableLike
-
def
max: Double
- Definition Classes
- VariableLike
-
def
min: Double
- Definition Classes
- VariableLike
-
def
minmax: (Double, Double)
- Definition Classes
- VariableLike
-
def
name: String
- Definition Classes
- VariableSection → VariableLike
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
normalized: VariableSection
- Definition Classes
- VariableLike
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
ranges: Vec[Range]
- Definition Classes
- VariableSection → VariableLike
-
def
rank: Int
- Definition Classes
- VariableSection → VariableLike
-
def
read(): Array
- Definition Classes
- VariableLike
-
def
readSafe(): Array
- Definition Classes
- VariableSection → VariableLike
- def readScaled1D(): Vec[Float]
-
def
reducedDimensions: Vec[Dimension]
- Definition Classes
- VariableLike
-
def
reducedRanges: Vec[Range]
- Definition Classes
- VariableLike
-
def
reducedRank: Int
- Definition Classes
- VariableLike
-
def
reducedShape: Vec[Int]
- Definition Classes
- VariableLike
-
def
resetScale: VariableSection
- Definition Classes
- VariableLike
-
val
scale: Scale
- Definition Classes
- VariableSection → VariableLike
- val section: Vec[OpenRange]
-
def
selectAll: VariableSection
Undoes all dimensional selections and reverts to the full matrix of the variable
Undoes all dimensional selections and reverts to the full matrix of the variable
- Definition Classes
- VariableSection → VariableLike
-
lazy val
shape: Vec[Int]
- Definition Classes
- VariableSection → VariableLike
-
def
size: Long
Reports the total number of elements within the selected sub matrix
Reports the total number of elements within the selected sub matrix
- Definition Classes
- VariableSection → VariableLike
-
def
stats(implicit tx: InTxn): Future[Counts]
Returns a statistics count for this variable section.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- VariableSection → AnyRef → Any
- val variable: Variable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )