Welcome, Guest
Username: Password: Remember me

TOPIC: Bulk Post-processing

Bulk Post-processing 13 years 1 month ago #2867

  • joysanyal21
  • joysanyal21's Avatar
Hi,

I am looking for an automated way to perform the following post-processing steps of on a large number of TELEMAC2d result files:

Read 2 particular time steps in the result file for 1 variable (water depth)

Write the extracted information into two ascii files with x,y,z(water depth)

I have to do this for 500 files. I am open to any method, be it BlueKenue or MATLAB.

Cheers,

Joy
The administrator has disabled public write access.

Re: Bulk Post-processing 13 years 1 month ago #2868

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Would you like to do this in Fortran, you can look at subroutine find_in_sel in BIEF library, which looks in a selafin format file for a given variable at a given time-step. You can find examples of use in subroutine fonstr in the same library.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Re: Bulk Post-processing 13 years 2 weeks ago #2968

  • nolsbpr
  • nolsbpr's Avatar
Hi Joy,

A good way to automatically read the time steps and write the results in ascii is by using the Matlab files available in the "downloads" section. You can make your own batch script by calling the functions such as telstepr.m and telheadr.m

Cheers,
Simon
The administrator has disabled public write access.

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.