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
ByteChunkclass holds primitive byte data with optional packing scheme and missing values.TheChunkCollectorclass assembles chunks from a list of producers and allows them to be accessed in one operation.TheChunkComputationclass can be used to perform a computation on a set of input data chunks using a function and a list of chunk producers/consumers.TheChunkComputationHelperclass assists in running a chunk computation using the greatest number of threads that can be used given the current memory constraints.TheChunkConsumerinterface is implemented by all classes that consume data chunks.TheChunkDataAccessorclass is a visitor that makes (possibly unpacked) data values available from any type ofDataChunkinstance.Performs data type casting operations to and fromDataChunkobjects.TheChunkDataCopierclass copies raw data values betweenDataChunkinstances.TheChunkDataFlaggerclass is a visitor that modifies any type ofDataChunkinstance by flagging specific data values as missing.TheChunkDataModifierclass is a visitor that modifies data values in any type ofDataChunkinstance.TheChunkFunctioninterface 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.TheChunkingSchemeclass describes an overall set of chunks that fill an n-dimensional space and allows for iteration over the set.TheChunkOperationinterface is implemented by any class that performs some unit of work on the chunk or chunks at a given position.TheChunkPositionclass marks a position within aChunkingScheme.TheChunkProducerinterface is implemented by all classes that produce a data chunk on demand.TheChunkResamplerclass performs a resampling of 2D chunk data from a source coordinate system to a destination.TheChunkVisitorinterface is implemented by any class that perticipates in the visitor pattern to perform operations onDataChunkinstances.TheCompositeFunctionclass implements a composite function that takes many chunks and collapses them into just one chunk using a reduction operator.TheCompositeMapApplicationCollectorclass is a special type ofChunkCollectoroptimized for use with aCompositeMapApplicationFunctionobject.TheCompositeMapApplicationFunctionclass applies the integer composite map created by theCompositeMapFunctionclass to a list of chunks representing a time series or spatial series of partially overlapping data.TheCompositeMapFunctionclass outputs an integer composite map using a list of input chunks.TheDataChunkinterface is implemented by concrete classes that hold data of a specific internal primitive type.The enumeration of the possible chunk external data types.TheDataChunkFactoryclass create appropriate instances of theDataChunkclass using a primitive data array.TheDoubleChunkclass holds primitive double data with optional packing scheme and missing values.TheDoublePackingSchemeclass implements a scale and offset packing scheme for primitive double data.TheDoubleScalingSchemeclass implements a scale and offset for scaling double data.TheExpressionFunctionclass implements theChunkFunctioninterface to perform mathematical expression calculations on chunk data.TheFloatChunkclass holds primitive float data with optional packing scheme and missing values.TheFloatingPointValuedDataChunkinterface is implemented by concrete classes that hold data of a specific primitive floating point type (float, double).TheFloatPackingSchemeclass implements a scale and offset packing scheme for primitive float data.TheFloatScalingSchemeclass implements a scale and offset for scaling float data.TheGridChunkConsumerclass consumes data chunks and places the chunk data into aGridobject.TheGridChunkProducerclass provides data chunks from aGridobject.TheIntChunkclass holds primitive int data with optional packing scheme and missing values.TheIntegerValuedDataChunkinterface is implemented by concrete classes that hold data of a specific primitive integer type (byte, short, int, long).TheLongChunkclass holds primitive long data with optional packing scheme and missing values.ThePackingSchemeinterface 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.ThePackingSchemeVisitorinterface is implemented by any class that participates in the visitor pattern to perform operations onPackingSchemeinstances.TheParallelChunkOperationinterface is implemented by classes that perform aChunkOperationon a set of chunk positions in parallel.ThePoolProcessorclass is aParallelChunkOperationthat operates using a pool of execution threads.TheResamplingOperationclass performs a data resampling operation between pairs ofChunkProducerinstances andChunkConsumerinstances.TheScalingSchemeinterface is implemented by concrete classes that have a way of scaling floating point data.TheScalingSchemeVisitorinterface is implemented by any class that participates in the visitor pattern to perform operations onScalingSchemeinstances.TheShortChunkclass holds primitive short data with optional packing scheme and missing values.ASyntheticIntChunkProducerobject 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.TheValidChunkDetectorclass 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.