In GitLab by @jdelsman on Nov 17, 2022, 09:46
Model packages do not have a to_file() to write an intermediate nc or zarr file, for subsequent use with from_file().
Now one must use Package.dataset.to_netcdf(). Package.to_file() seems a lot more intuitive. Confusingly, there is an 'write_netcdf()' method, but that has a specific usecase (I would change its name acordingly to say write_qgis_netcdf() or something), and cannot be used in conjunction with from_file().