Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeltaresIssue appeared in Deltares project

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions