get_datasaver

glotaran.plugin_system.data_io_registration.get_datasaver(format_name: str) DataSaver[source]

Retrieve implementation of the save_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 datawriter should be able to write.

Returns:

Function to write xarray.Dataset to the format format_name .

Return type:

DataSaver