Message Boards

Post Processing with Python

Justin Pringle, modified 7 Years ago.

Post Processing with Python

Youngling Post: 1 Join Date: 1/23/12 Recent Posts
Hi All,

I would like to use python to handle my post processing. I understand that DELFT3D uses the nefis file storage system. I have also located a nefis python module on pypi however it comes with no documentation. This makes it incredibly difficult to use, furthermore the python module does not appear to contain the functions described in the nefis manual? Can someone kindly provide assistance?

Thanks in advance
Andrea Cimatoribus, modified 7 Years ago.

RE: Post Processing with Python

Youngling Posts: 2 Join Date: 3/8/16 Recent Posts
Your best solution is probably to use netcdf files as output. You can do that by adding the following keyword in the mdf:
FlNcdf = #maphisdrofou#
Davi Carneiro, modified 7 Years ago.

RE: Post Processing with Python

Youngling Posts: 4 Join Date: 9/25/14 Recent Posts
And how about the DELFT3D WAVE module?

I've been using this netcdf functionality for the FLOW model, but now I will need to read the nefis files from Fortran or Python concerning the wave map files since I haven't found any similar solution.

The Python nefis library is made for Windows but since I am working mainly on Linux and trying to setup an operational system I will need to make further development with Python or use Fortran. I will keep you posted about my progress.
Dmitry Kushnir, modified 7 Years ago.

RE: Post Processing with Python

Padawan Posts: 59 Join Date: 11/9/12 Recent Posts
Hi Davi,

Thanks for your post. I'm looking forward to reading about your progress on this.

Previously, I considered an option to compile a newer version of the SWAN, which supports netCDF-output, for coupling it with Delft3D-FLOW.
I haven't implemented that so far.It might well be a headache task.

Regards,

Dmitry
Benjamin Phillips, modified 2 Years ago.

RE: Post Processing with Python