intake_io.autodetect

Module Contents

Functions

autodetect(uri: str, **kwargs) → intake.source.DataSource

Autodetect intake source given URI.

intake_io.autodetect.autodetect(uri: str, **kwargs) intake.source.DataSource

Autodetect intake source given URI.

Keyword arguments are passed to the source constructor.

If no other source is more suitable, it returns an instance of intake_io.source.ImageIOSource, which uses imageio.

This function doesn’t check whether the data can actually be loaded.

Parameters
  • uri – URI (e.g. file system path or URL)

  • kwargs – Arguments passed to the source constructor

Returns

Data source