Posted Sat, 13 Sep 2014 11:07:05 GMT by Adi Neuman Graduate Student
Hello,

I have tens of dfs2 files which I'd like to convert to raster or to .xyz. I'm using MIKE 2012. I've tried using IronPython but I couldn't understand how to get the xyz coordinate from the dfs2 file. Any Ideas?

thanks,
Adi
Posted Mon, 15 Sep 2014 05:56:12 GMT by nikhilgarg.gju
Hi,

I am not sure how you are going about using IronPython. I have been using Python for pretty much all my input and output from DHI MIKE. You just have to proceed in same way as using Matlab Toolbox, You will need to use the .dll files which are read by IronPython or Python for .NET toolkit. It allows you to use the DHI toolbox. I have been writing a set of scripts for the same process, though i can't share my scripts, I would be more than happy to help you with the process if you give more details how you are doing it and at what stage are you getting problems.

Extracting and converting it to any other format is simple step once you figure out how to import the arrays from dfs2 files.

You must be signed in to post in this forum.