Welcome, Guest
Username: Password: Remember me

TOPIC: *.slf files broken in examples/vegetation

*.slf files broken in examples/vegetation 3 years 4 months ago #38747

  • Jujube
  • Jujube's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
Hi developers,

The *.slf files via svn seem to have some problems, they can not be opened. Is it possible to update these fixed files? Thanks a lot!

Best,

Jujube
The administrator has disabled public write access.

*.slf files broken in examples/vegetation 3 years 4 months ago #38748

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello Jujube,

In the vegetation example, the Serafin files are written with double precision floats. You need a software that can read Serafin double precision to visualize them.

Anyway, if you do not have one, you can try to convert the files from double to single precision:
- with v8p2: run_selafin.py alter --float geo_vegetation.slf geo_vegetation_single.slf
- with the trunk: run_telfile.py alter --float geo_vegetation.slf geo_vegetation_single.slf

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

*.slf files broken in examples/vegetation 3 years 4 months ago #38751

  • Jujube
  • Jujube's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
Hi Chi-Tuan,

Thank you very much! It works!!

Cheers,

Jujube
The administrator has disabled public write access.
Moderators: pham

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