pisces.geometry.grids.utils.load_grid# pisces.geometry.grids.utils.load_grid(filename: str | Path, group_path: str, registry: Registry = None)[source]# Load a grid instance from an HDF5 file. Parameters: filename (str or Path) – Path to the HDF5 file. group_path (str) – Path within the HDF5 file to the group containing the grid. registry (Registry, optional) – Registry mapping grid class names to their corresponding classes. If None, the default grid registry will be used. Returns: A grid instance loaded from the file. Return type: Grid