sup3r.preprocessing.data_handlers.factory.DataHandlerFactory#
- DataHandlerFactory(cls, BaseLoader=None, FeatureRegistry=None, name=None)[source]#
Build composite objects that load from file_paths, rasterize a specified region, derive new features, and cache derived data.
- Parameters:
BaseLoader (Callable) – Optional base loader update. The default for H5 is MultiFileWindX and for NETCDF the default is xarray
FeatureRegistry (Dict[str, DerivedFeature]) – Dictionary of compute methods for features. This is used to look up how to derive features that are not contained in the raw loaded data.
name (str) – Optional class name, used to resolve repr(Class) and distinguish partially initialized DataHandlers with different FeatureRegistrys