get_dataloader
- glotaran.plugin_system.data_io_registration.get_dataloader(format_name: str) DataLoader [source]
Retrieve implementation of the
read_dataset
functionality for the format ‘format_name’.This allows to get the proper help and autocomplete for the function, which is especially valuable if the function provides additional options.
- Parameters:
format_name (str) – Format the dataloader should be able to read.
- Returns:
Function to load data of format
format_name
as xarray.Dataset or xarray.DataArray.- Return type:
DataLoader