Typhon
0.10.0
  • Reference
    • ARTS
    • Cloud mask
    • Collocations
    • Configuration and Environment
    • Constants
    • Datasets
    • Filesets and handlers
      • files
      • FileSet
        • FileSet
      • Handlers
    • Geodesy and Geography
    • Mathematics
    • Physics
    • Physics (Unit-aware via pint)
    • Plotting
    • Retrieval
    • Spectroscopy
    • Topography
    • Miscellaneous
    • Indices and tables
  • Developer documentation
  • FAQ
  • Tutorials
Typhon
  • Reference
  • files
  • FileSet
  • link
  • View page source

link

FileSet.link(other_fileset, linker=None)[source]

Link this fileset with another FileSet

If one file is read from this fileset, its corresponding file from other_fileset will be read, too. Their content will then be merged by using the file handler’s data merging function. If it is not implemented, it tries to derive a standard merging function from known data types.

Parameters:
  • other_fileset – Other FileSet-like object.

  • linker – Reference to a function that searches for the corresponding file in other_fileset for a given file from this fileset. Must accept other_fileset as first and a FileInfo object as parameters. It must return a FileInfo of the corresponding file. If none is given, get_filename() will be used as default.

Returns:

None

Previous Next

© Copyright The Typhon Developers.

Built with Sphinx using a theme provided by Read the Docs.