Welcome, Guest
Username: Password: Remember me

TOPIC: Read/write slf outside of Telemac context

Read/write slf outside of Telemac context 4 years 2 months ago #36647

  • echterpat
  • echterpat's Avatar
Hello,

We are migrating an software from python desktop application to java web application. Existing software made calls to Telemac, so some files are in Selafin format. There were a few preprocess operations (interpolation from measured xyz file to fit a standard mesh), so slf file was opened (with custom python code), updated then sent to Telemac.

I cannot find the best way to reproduce this in Java. I identified some possibilities :
- Call our Telemac server through an API with the slf file, to receive an list of xy points
- Try to call Fortran from Java, to access to TelAPI (hard, we have different hardware architectures)
- Try to call Python Telemac code, to open slf file
- Rewrite a custom python module to read slf file
- Use Fudaa framework

Which is the best way up to you, and where can I find samples of code to help me to understand ?
The administrator has disabled public write access.

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