IIRC you shouldn't be using time.sleep, because it will stop the main loop of the Gxsm application, freezing it. I remember that we had gxsm.sleepinstead. The unit is tenth of a second.
IIRC you shouldn't be using time.sleep, because it will stop the main loop of the Gxsm application, freezing it. I remember that we had gxsm.sleepinstead.
I am confused. You said you have gxsm3 with no hardware. What did you expect? Did you try the -h no command line option as indicated in the dialog?
Just to be clear, that should have been sudo apt install libnetcdf-cxx-legacy-dev
There is a Python chapter in the manual. https://gxsm.sourceforge.net/Gxsm3-main.pdf Page 220ff. The command to start a scan is startscan() It's not clear to me what you mean by "outside of the pyremote console". In the old manual there's an additional chapter about processing "nc" files, but I am not sure if the tools are still available. https://gxsm.sourceforge.net/Gxsm-main.pdf Page 339ff.
Since you seem to be in haste, why not use the pre-built packages as documented above? Or the ISO as documented here: https://github.com/pyzahl/Gxsm3? To install the missing packages on Ubuntu, you can consult the control file: https://raw.githubusercontent.com/pyzahl/Gxsm3/master/debian/control_ubuntu22.04
Let us know if the instructions by Thorsten did the job for you. I have tried to follow my old recipes for Debian and I found that they no longer work. It seems that quite a few libraries were renamed beyond recognition or version detection does not work properly... I had suggested a few times to migrate to a more mdern build-framework, but @zahl seems to be happy with the autotools. There is a post from 2012, when I had build Gxsm successfully with Cmake, but I never pushed this proof-of-concept...
i'd recommend ubuntu, as it has the newer libraries usually. @zahl Do you keep the installation instructions in the Manual up to date? If not, I'd volunteer to update them for Bullseye.