Package noaa.coastwatch.util.chunk
package noaa.coastwatch.util.chunk
Provides classes for holding and processing arbitrary chunks of data
of various native types. Chunks have some similarities to tiles
(see noaa.coastwatch.io.tile
) but broader functionality.
-
ClassDescriptionThe
ByteChunk
class holds primitive byte data with optional packing scheme and missing values.TheChunkCollector
class assembles chunks from a list of producers and allows them to be accessed in one operation.TheChunkComputation
class can be used to perform a computation on a set of input data chunks using a function and a list of chunk producers/consumers.TheChunkConsumer
interface is implemented by all classes that consume data chunks.TheChunkDataAccessor
class is a visitor that makes (possibly unpacked) data values available from any type ofDataChunk
instance.Performs data type casting operations to and fromDataChunk
objects.TheChunkDataCopier
class copies raw data values betweenDataChunk
instances.TheChunkDataFlagger
class is a visitor that modifies any type ofDataChunk
instance by flagging specific data values as missing.TheChunkDataModifier
class is a visitor that modifies data values in any type ofDataChunk
instance.TheChunkFunction
interface is to be implemented by any class that performs some type of processing on a set of input data chunks to produce an output chunk.TheChunkingScheme
class describes an overall set of chunks that fill an n-dimensional space and allows for iteration over the set.TheChunkOperation
interface is implemented by any class that performs some unit of work on the chunk or chunks at a given position.TheChunkPosition
class marks a position within aChunkingScheme
.TheChunkProducer
interface is implemented by all classes that produce a data chunk on demand.TheChunkResampler
class performs a resampling of 2D chunk data from a source coordinate system to a destination.TheChunkVisitor
interface is implemented by any class that perticipates in the visitor pattern to perform operations onDataChunk
instances.TheCompositeFunction
class implements a composite function that takes many chunks and collapses them into just one chunk using a reduction operator.TheDataChunk
interface is implemented by concrete classes that hold data of a specific internal primitive type.The enumeration of the possible chunk external data types.TheDataChunkFactory
class create appropriate instances of theDataChunk
class using a primitive data array.TheDoubleChunk
class holds primitive double data with optional packing scheme and missing values.TheDoublePackingScheme
class implements a scale and offset packing scheme for primitive double data.TheDoubleScalingScheme
class implements a scale and offset for scaling double data.TheExpressionFunction
class implements theChunkFunction
interface to perform mathematical expression calculations on chunk data.TheFloatChunk
class holds primitive float data with optional packing scheme and missing values.TheFloatingPointValuedDataChunk
interface is implemented by concrete classes that hold data of a specific primitive floating point type (float, double).TheFloatPackingScheme
class implements a scale and offset packing scheme for primitive float data.TheFloatScalingScheme
class implements a scale and offset for scaling float data.TheGridChunkConsumer
class consumes data chunks and places the chunk data into aGrid
object.TheGridChunkProducer
class provides data chunks from aGrid
object.TheIntChunk
class holds primitive int data with optional packing scheme and missing values.TheIntegerValuedDataChunk
interface is implemented by concrete classes that hold data of a specific primitive integer type (byte, short, int, long).TheLongChunk
class holds primitive long data with optional packing scheme and missing values.ThePackingScheme
interface is implemented by concrete classes that have a strategy to pack floating point data to integer data and unpack integer data to floating point data.ThePackingSchemeVisitor
interface is implemented by any class that participates in the visitor pattern to perform operations onPackingScheme
instances.TheParallelChunkOperation
interface is implemented by classes that perform aChunkOperation
on a set of chunk positions in parallel.ThePoolProcessor
class is aParallelChunkOperation
that operates using a pool of execution threads.TheResamplingOperation
class performs a data resampling operation between pairs ofChunkProducer
instances andChunkConsumer
instances.TheScalingScheme
interface is implemented by concrete classes that have a way of scaling floating point data.TheScalingSchemeVisitor
interface is implemented by any class that participates in the visitor pattern to perform operations onScalingScheme
instances.TheShortChunk
class holds primitive short data with optional packing scheme and missing values.ASyntheticIntChunkProducer
object creates 2D integer data chunks whose values are specified by a functional interface method that returns an integer value for each row and column in the chunk.TheValidChunkDetector
class is a visitor that checks data chunks for missing values to determine if all the chunk's data values are missing, or if the chunk contains some valid data.