eldarbaykiev / magtess-inversion-python Goto Github PK
View Code? Open in Web Editor NEWProgram for magnetic tesseroid inversion
License: BSD 2-Clause "Simplified" License
Program for magnetic tesseroid inversion
License: BSD 2-Clause "Simplified" License
The error
sh: 1: ./tessutil_magnetize_model: Permission denied
comes up when the magnetic tesseroid is created. I changed all permissions to 777 for tessutil_magnetize_model, however, that doesn't help. Starting the GUI also does not help
Creating a tesseroid model ends up with an error:
Traceback (most recent call last):
File "gmi_gui.py", line 365, in CreateTesseroidModel
import gmi_create_tesseroid_model
File "/home/esasummer/MagInv/magtess-inversion-python/gmi_create_tesseroid_model.py", line 31
else
^
SyntaxError: invalid syntax
Do I have to provide a .magtess model ??
There is only a .tess model.
Magnetic tesseroid model model.tess is created
Traceback (most recent call last):
File "gmi_gui.py", line 382, in CreateTesseroidModel
gmi_create_tesseroid_model.main(self.GMI_PATH)
File "/home/esasummer/MagInv/magtess-inversion-python/gmi_create_tesseroid_model.py", line 119, in main
with open(file_name, 'r') as file_to_check:
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'model.magtess'
Would you please provide the example data, which could test the codes:
Traceback (most recent call last):
File "gmi_gui.py", line 369, in CreateTesseroidModel
import gmi_create_tesseroid_model
File "/home/esasummer/MagInv/magtess-inversion-python/gmi_create_tesseroid_model.py", line 43
if not os.path.isfile(gmi_config.IGRF_COEFF_FILENAME):
^
TabError: inconsistent use of tabs and spaces in indentation
gmt: Warning: module ps2raster is deprecated; use psconvert.
nlssubprob.dat
nlssubprob.dat is selected for plotting
WARNING [../magtess-inversion-python/gmi_misc.py|init_result_folder|40]: RESULT FOLDER ALREADY EXIST!
Traceback (most recent call last):
File "gmi_gui.py", line 164, in EnableResultPlotting
self.PlotResult()
File "gmi_gui.py", line 189, in PlotResult
ax.plot(dat[:, 0], dat[:, 1])
IndexError: too many indices for array
Gives an error, when trying to create a model:
Traceback (most recent call last):
File "gmi_gui.py", line 365, in CreateTesseroidModel
import gmi_create_tesseroid_model
File "/home/esasummer/MagInv/magtess-inversion-python/gmi_create_tesseroid_model.py", line 12
tar.extractfile()
^
IndentationError: unindent does not match any outer indentation level
The window of the GUI is resizeable, but the content is not fitted to the new larger window.
If spectrum is clicked, the window does not update automatically, but after zooming for example.
For the config information:
[Name]
project_name = Project Name
[Global Tesseroid Model]
lon_min = -180
lon_max = 180
lat_min = -90
lat_max = 90
width = 2.0
top_surface =
bot_surface =
path_surfaces =
igrf_day = 1
igrf_month = 1
igrf_year = 2014
igrf_coeff_filename = IGRF12.COF
[Global Grid]
grid_lon_min = -180
grid_lon_max = 180
grid_lat_min = -90
grid_lat_max = 90
grid_alt = 400000
grid_step = 2.0
[Spherical Harmonics]
n_min_cutoff = 16
[Inversion]
observed_data =
subtract_data =
init_solution =
max_iter = 100
multiplicator = 1.0
=================================================
The above config information needs a detailed explanation. Moreover, the related data file is needed for example testing, i.e., IGRF12.COF, SURFACE FILE.
Moreover, the logic steps to manipulate the Config+Plots+Stages+Inversion part of the MainWindow are also needed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.