Deltares / hydromt

HydroMT: Automated and reproducible model building and analysis
https://deltares.github.io/hydromt/
MIT License
75 stars 30 forks source link

Docs/export data example #1057

Closed Jaapel closed 2 months ago

Jaapel commented 2 months ago

Issue addressed

Fixes Example: export_catalog

Explanation

When exporting, we can change the extension and the uri. This has to be resolved in the DataSource and the Driver. The driver now returns the "written" path when writing. This can then be used in the data source's to_file, together with some logic to get a logical basename for the file.

General Checklist