Skip to content

Packages should have a to_file() method, consistent with from_file() #293

@Manangka

Description

@Manangka

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().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions