DHI / mikeio

Read, write and manipulate dfs0, dfs1, dfs2, dfs3, dfsu and mesh files.
https://dhi.github.io/mikeio
BSD 3-Clause "New" or "Revised" License
139 stars 55 forks source link

Adding netcdf to the test data #31

Closed saberraz closed 4 years ago

saberraz commented 4 years ago

So that we can implement the format in QGIS/MDAL: https://github.com/lutraconsulting/MDAL/issues/146 https://github.com/lutraconsulting/MDAL/issues/78

ecomodeller commented 4 years ago

You have to be a bit more specific. Do you want to import or export data to/from netcdf?

saberraz commented 4 years ago

We want to parse the netcdf format through MDAL library. Once MDAL parses the data, users can work with your format in QGIS

We are trying to avoid your SDK :)

ecomodeller commented 4 years ago

This package relies on the SDK see https://github.com/DHI/mikeio#requirements, so you will need that anyway. MIKE format is not based on netcdf. Is it still relevant?

saberraz commented 4 years ago

What we are really after is a netcdf format converted from your dfs2 file. We are not going to implement dfs2 format in MDAL.

The ticket is simply a request for you to include the equivalent of netcdf formats of your files inside the testdata https://github.com/DHI/mikeio/tree/master/tests/testdata especifcally: eq.dfs2, Grid1.dfs3 and random.dfs2

ecomodeller commented 4 years ago

We want to parse the netcdf format through MDAL library. Once MDAL parses the data, users can work with your format in QGIS

We are trying to avoid your SDK :)

It is no longer a requirement to install the SDK, since all necessary binary files are note bundled together with mikeio.

Moreover, I have added some experimental functionality for xarray which is useful for exporting to netcdf.

Does this solve your needs?

jsmariegaard commented 4 years ago

@saberraz is this still an issue? Or should we close this feature request?

ecomodeller commented 4 years ago

Closing stale issue