model_from_h5#
- scarlet2.io.model_from_h5(filename, id=0, path='.')[source]#
Load scene model from a HDF5 file
- Parameters:
filename (
str) – Name of the HDF5 file to load fromid (
int) – HDF5 group to identify the scene bypath (
str, optional) – Explicit path for filename. If not set, uses local directory
- Return type: