Welcome, Guest
Username: Password: Remember me

TOPIC: Export frames from selafin file

Export frames from selafin file 2 years 6 months ago #40387

  • R.Wei
  • R.Wei's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 7
Dear telemac fellows,

There are some files named ‘f2d_XX.slf‘ in $HOMETEL/examples, and it seems those files are one frame of output selafin file. Is there any recommended tool to obtain such files? Can we extract one frame of selafin file with respect to one certain variable?

Regards,
R.W
The administrator has disabled public write access.

Export frames from selafin file 2 years 6 months ago #40388

  • jtravert
  • jtravert's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 36
  • Thank you received: 23
Hello,
Indeed, you have the possibility to extract quite easily a specific frame from a selafin file using the scripts provided with telemac.
You can use the function alter from run_telfile.py and you can get all the options of the function with "run_telfile.py alter --help" in your terminal.

A longer description is given in the notebooks in the pretel section.

Hope this is what you are looking for,
Jean-Paul
The administrator has disabled public write access.
The following user(s) said Thank You: Sdelgado, R.Wei

Export frames from selafin file 2 years 6 months ago #40390

  • R.Wei
  • R.Wei's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 7
Hello Jean-Paul,

It works perfectly well.

Many thanks,
R.W
The administrator has disabled public write access.
The following user(s) said Thank You: Sorrymaker
Moderators: borisb

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