Posted Tue, 28 May 2013 21:04:41 GMT by Bill Wingle Senior Hydrogeologist
I am trying to look at head data from multiple time steps in the model results .dac file.  I have external code to post-process ASCII .dac files, but was hoping to use an IFM plug-in to process the binary data.  I am working with large binary .dac files (up to 250MB), and reading the binary data should be much faster than dealing with ASCII versions of the results.  Is there an IFM function to set the "current" time step in a .dac file to read the stored head data, or any other way to read through the stored head results? 

I looked through the IFM API index (http://www.feflow.info/html/help/default.htm?turl=HTMLDocuments%2Fifm%2Fifm_api%2Fapi_index.htm) and I suspect the answer is no.  The API appears more geared to run-time calculations. 

Posted Wed, 29 May 2013 10:13:05 GMT by Denim Umeshkumar Anajwala
Unfortunately there's currently no such option - so the only way is by using the ASCII dac file.
Posted Mon, 22 Oct 2018 08:22:29 GMT by Boris Lyssenko
Dear all,
I was wondering if there has been any update to changing the "current" time step for reading .dac files via the ifm in Feflow 7.1?

This would be a really helpful feature to quickly compare different model variations.

Thanks,
Lennart
Posted Mon, 22 Oct 2018 15:14:17 GMT by Björn Kaiser
The Python API allows you to make comparison between dac-files. Please find a sample snippet here:

http://www.feflow.info/html/help71/feflow/mainpage.htm#t=13_Programming%2FPython%2Fpython_code_samples.html
Posted Tue, 23 Oct 2018 13:50:38 GMT by Boris Lyssenko
Thank you Björn, these two ifm functions are exactly what I was looking for!

doc.getNumberOfTimeSteps()
doc.loadTimeStep(ts)

You must be signed in to post in this forum.