Posted Wed, 12 Jul 2017 08:53:51 GMT by K Sudheesh
Hi,
I am using MIKE 2014 and I would like to convert dfsu file to netcdf. Kindly explain the method.

regards
sudhi
Posted Wed, 12 Jul 2017 09:31:42 GMT by Christian Tomsu Germany
Hi sudhi,

MIKE has a very capable SDK which can be used to develop extensions for MIKE or to read / write / change DFSU - Files.
This SDK can be used for example with IronPython.

Python itself has also a NETCDF - API.

Therefore, you can use those two interfaces to build an converter on your own.

Many functions are coded in MATLAB and can be found here:
https://github.com/pwcazenave/dhi-toolbox

This could be useful for you:
https://github.com/pwcazenave/dhi-toolbox/blob/master/dfsu2nc.m


Bests
Christian
Posted Mon, 25 Sep 2017 06:26:20 GMT by K Sudheesh
Hi Christian,
Thanks for your reply. But I don't have MATLAB. So is there any other way to convert to Netcdf (i.e using with DfsuToNetCDF.exe).

With best regards
Sudhi
Posted Mon, 25 Sep 2017 09:54:23 GMT by Christian Tomsu Germany
Hi,

have you already tested this: NETCDF CLIENT 2016 ?

This program converts structured grid NetCDF and GRIB2 files with CF convention (http://cfconventions.org) to MIKE DFS files and vice versa.

Other NetCDF files which are non-compliant with CF convention will not work, however additional modifications are possible to enable the conversion of non CF convention NetCDF files to DFS files on a request basis. For such requests, please contact mike@dhigroup.com.

This tool is developed for MIKE by DHI 2016.

You may download it from:
https://www.mikepoweredbydhi.com/download/mike-by-dhi-tools

Maybe, if you contact DHI, they could support you also with MIKE2014.


Bests Christian
Posted Thu, 31 May 2018 10:10:12 GMT by Wallter12
I have a lot of knowledge.

You must be signed in to post in this forum.