Dear all,
I would like to read an existing Gwyddion file and save a single channel
as a VTK file. From the GUI this works fine, but I'm not sure how to do
it from python:
In [28]: C = gwy.gwy_file_load('test.gwy', gwy.RUN_NONINTERACTIVE)
In [29]: gwy.gwy_file_save(C, 'test.vtk', gwy.RUN_NONINTERACTIVE)
---------------------------------------------------------------------------
GError Traceback (most recent call last)
<ipython-input-29-6ece041b376c> in <module>()
----> 1 gwy.gwy_file_save(C, 'test.vtk', gwy.RUN_NONINTERACTIVE)
GError: File contains no exportable channel
I initially thought this was an issue that I should first (somehow?)
select the channel I want to save, sine saving as VTK presumably saves
only a single channel. But in the above text file there is only one
channel...
Any hints as to what I'm missing would be greatly appreciated!
Regards,
Mark
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users