-
CSV Processing vs Database Processing
Hi, I am currently trying to run a code in PyCharm to calculate intersections from survey lines and mark intersections as 1 or 0 based on a lower signal or higher altitude. My code runs fine when I've exported the csv manually through Oasis Montaj and detects all the intersections. However when I've tried to run the script…
-
GX Developer - Creating a new string channel in python
Hello, I have a script which generates a pd channel with string data. When i try to make a new channel in the database it only allows byte or double. Is there a was to put string data e.g. dipole into the database via python GX? I am using Oasis montaj 2025.1
-
GX Developer
Hi, I am trying to load a csv into a new database that I have created but i seem to keep getting errors and the data won't load into the database file. I have all lines i want as a single CSV but I can't add it in. I was wondering if anyone could help with this or knows what is causing it not to write to the database. My…
-
gxcore; compilation error
Good day, I'm trying to compile C++ examples from here (https://github.com/GeosoftInc/gxcore/tree/v2024.2/examples/cpp) using MS Visual Studio. The compiler keeps throwing the following error: Probably, I'm doing something silly. If so, could anybody advise me on how I can solve this? As far as I remember, "default" is a…
-
Multidialog menu
Hi all, Does anybody know how to create a multidialog menu using Python GX developer? Can't find anything about it in the API Reference. By multidialog menu I mean something like this (see image 1) instead of that (see image 2). Any clues, references or words of encouragement are much appreciated.
-
Adding Support for Compressed Geosoft Grid Files
Hello, I am looking for info of how to add support for importing / exporting Compressed Geosoft Grid Files into a third party C++ application. What are the code / repositories / libraries / docs / specs I should be looking at to provide support for importing / exporting these types of files (.grd)?
-
Python Error: module 'numpy' has no attribute 'float'
Hi All, I'm trying to get data from a database using GX Developer Python API. Whatever I do, I keep getting the following error NumPy downgrading to 1.20 doesn't help. Any ideas about what could be wrong?
-
Python initialization failed
Hi all, Trying to run Python scripts within OM, I constantly get the following error: It's strange since I can successfully verify Python and use geosoft Python library in any IDE outside OM. Regards, Artem
-
Error: A GXpy instance has already been created for current thread
I'm trying to run a Python script within Oasis Montaj. The Python GX has been configured (the GX was downloaded, and the Python folder was chosen) according to the Installation guide. Python instance has been successfully verified. When I try to run the "Hello world" file (Python -> Configure Python -> Hello world) and/or…
-
Creating a new GX file with new function!
Hello there, I wrote a GX file to apply a new filter over my data in Oasis Montaj. But I don't know how to deal with new function and where should I write it. For instance, in the following code, where you use a function for getting the result, I want to use a new function like KFilter_DU ( I called it KFilter_DU), which…