satpy.readers.core.loading module
Reader loading.
- satpy.readers.core.loading._get_reader_instance(reader, reader_configs, idx, reader_kwargs)[source]
- satpy.readers.core.loading._get_reader_kwargs(reader, reader_kwargs)[source]
Help load_readers to form reader_kwargs.
Helper for load_readers to get reader_kwargs and reader_kwargs_without_filter in the desirable form.
- satpy.readers.core.loading.load_reader(reader_configs, **reader_kwargs)[source]
Import and setup the reader from reader_info.
- satpy.readers.core.loading.load_readers(filenames=None, reader=None, reader_kwargs=None)[source]
Create specified readers and assign files to them.
- Parameters:
filenames (Iterable or dict) – A sequence of files that will be used to load data from. A
dictobject should map reader names to a list of filenames for that reader.reader (str or list) – The name of the reader to use for loading the data or a list of names.
reader_kwargs (dict) – Keyword arguments to pass to specific reader instances. This can either be a single dictionary that will be passed to all reader instances, or a mapping of reader names to dictionaries. If the keys of
reader_kwargsmatch exactly the list of strings inreaderor the keys of filenames, each reader instance will get its own keyword arguments accordingly.
Returns: Dictionary mapping reader name to reader instance