dctools.data.transforms.InterpolationTransform
- class dctools.data.transforms.InterpolationTransform(dataset_processor, ranges, weights_filepath, reduce_precision=False)
Transform to interpolate the dataset to target ranges.
- Parameters:
dataset_processor (oceanbench.core.distributed.DatasetProcessor)
ranges (Dict[str, Any])
weights_filepath (str)
reduce_precision (bool)
- __init__(dataset_processor, ranges, weights_filepath, reduce_precision=False)
Initialize.
- Parameters:
dataset_processor (oceanbench.core.distributed.DatasetProcessor)
ranges (Dict[str, Any])
weights_filepath (str)
reduce_precision (bool)
Methods
__init__(dataset_processor, ranges, ...[, ...])Initialize.