sup3r.preprocessing.data_handlers.base#
DataHandler objects, which inherit from the
Deriver
class and compose
Rasterizer
,
Loader
,
Cacher
classes.
DataHandlers are used to load, rasterize, derive, and cache features from data. They can be used to load data from various sources, such as HDF5, NetCDF, or other formats, and to derive features from the loaded data. For example, you can provide u / v at isobars, geopotential, and surface elevation, to derive u / v at a specific height. All variables (e.g. temperaute_500m) can be interpolated from isobars as long as geopotential and surface elevation are also provided.
TODO: If .data
is a Sup3rDataset
with more than one member only the
high resolution data is cached. We could extend caching and loading to write /
load both with groups
Classes
|
General data handler class with daily data as an additional attribute. |
|
Base DataHandler. |
|
Extended |
|
Extended |